Home
last modified time | relevance | path

Searched refs:GOODIX_SPI_READ_PREFIX_LEN (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/hid/
Dhid-goodix-spi.c37 #define GOODIX_SPI_READ_PREFIX_LEN (GOODIX_SPI_TRANS_PREFIX_LEN + \ macro
126 xfers.len = GOODIX_SPI_READ_PREFIX_LEN + len; in goodix_get_event_report()
135 return data + GOODIX_SPI_READ_PREFIX_LEN; in goodix_get_event_report()
146 if (GOODIX_SPI_READ_PREFIX_LEN + len > sizeof(ts->xfer_buf)) { in goodix_spi_read()
148 sizeof(ts->xfer_buf) - GOODIX_SPI_READ_PREFIX_LEN); in goodix_spi_read()
160 xfers.len = GOODIX_SPI_READ_PREFIX_LEN + len; in goodix_spi_read()
167 memcpy(data, ts->xfer_buf + GOODIX_SPI_READ_PREFIX_LEN, len); in goodix_spi_read()
303 report_size = GOODIX_SPI_READ_PREFIX_LEN + in goodix_hid_start()
689 ts->hid_max_event_sz = GOODIX_SPI_READ_PREFIX_LEN + in goodix_spi_probe()