Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/hid-goodix-spi.c goodix_dev_confirm() -> goodix_spi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ts | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->event_buf | 1-u64max |
| PARAM_VALUE | 0 | ts->hid_max_event_sz | 95 |
| PARAM_VALUE | 0 | ts->hid_report_addr | 142476 |
| PARAM_VALUE | 0 | ts->hid_request_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ts->hid_request_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ts->hid_request_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->hid_request_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ts->hid_request_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ts->reset_gpio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ts->spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->spi->bits_per_word | 1-255 |
| PARAM_VALUE | 0 | ts->spi->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->spi->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->spi->irq | 0-s32max |
| PARAM_VALUE | 0 | ts->xfer_buf | 0 |
| PARAM_VALUE | 1 | addr | 65536 |
| PARAM_VALUE | 2 | data | 4884719358193799168 |
| PARAM_VALUE | 2 | *data | 0-255 |
| PARAM_VALUE | 3 | len | 8 |
| BUF_SIZE | 0 | ts | 2304 |
| BUF_SIZE | 0 | ts->dev | 1616 |
| BUF_SIZE | 0 | ts->event_buf | 95 |
| BUF_SIZE | 0 | ts->reset_gpio | s32min,(-1),1-s32max |
| BUF_SIZE | 2 | data | 8 |
| CAPPED_DATA | 0 | ts->reset_gpio | 1 |
| DATA_SOURCE | 0 | ts | $0 |
| TERMINATED | 0 | ts->event_buf->node.name | 1 |
| MEM_ZERO | 0 | ts | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
drivers/hid/hid-goodix-spi.c goodix_hid_check_ack_status() -> goodix_spi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ts | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->xfer_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 66404 |
| PARAM_VALUE | 2 | data | 8414006541346729984 |
| PARAM_VALUE | 3 | len | 3 |
| BUF_SIZE | 0 | ts | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ts | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | data | 3 |
| DATA_SOURCE | 0 | ts | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | &hid->ll_open_lock | ||
| HALF_LOCKED2 | global &minors_rwsem |
drivers/hid/hid-goodix-spi.c goodix_hid_get_raw_report() -> goodix_spi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ts | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 68914 |
| PARAM_VALUE | 2 | data | 1-u64max |
| PARAM_VALUE | 3 | len | 1-16384 |
| BUF_SIZE | 0 | ts | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ts | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | data | (-1)-s32max |
| CAPPED_DATA | 3 | len | 1 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 2 | data | $2 |
| DATA_SOURCE | 3 | len | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | len | 2-16384[c] |
| BYTE_COUNT | 2 | ==data3 | 8050 |
| USER_PTR | 2 | data | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | &hid->ll_open_lock | ||
| HALF_LOCKED2 | global &minors_rwsem |
drivers/hid/hid-goodix-spi.c goodix_hid_get_raw_report() -> goodix_spi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ts | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->xfer_buf | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 66409 |
| PARAM_VALUE | 2 | data | 1-u64max |
| PARAM_VALUE | 3 | len | 1-16384 |
| BUF_SIZE | 0 | ts | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ts | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | data | (-1)-s32max |
| CAPPED_DATA | 3 | len | 1 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 2 | data | $2 |
| DATA_SOURCE | 3 | len | $3 [m] |
| NOSPEC | 3 | len | |
| NOSPEC | 3 | len | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | len | 2-16384[c] |
| UNITS | 1 | addr | unit_byte |
| USER_PTR | 2 | data | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | &hid->ll_open_lock | ||
| HALF_LOCKED2 | global &minors_rwsem |
drivers/hid/hid-goodix-spi.c goodix_hid_init() -> goodix_spi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ts | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->event_buf | 1-u64max |
| PARAM_VALUE | 0 | ts->hid_max_event_sz | 95 |
| PARAM_VALUE | 0 | ts->hid_report_addr | 142476 |
| PARAM_VALUE | 0 | ts->hid_request_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ts->hid_request_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ts->hid_request_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->hid_request_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ts->hid_request_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ts->reset_gpio | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ts->spi | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->spi->bits_per_word | 1-255 |
| PARAM_VALUE | 0 | ts->spi->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->spi->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->spi->irq | 0-s32max |
| PARAM_VALUE | 1 | addr | 66956 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 30 |
| BUF_SIZE | 0 | ts | 2304 |
| BUF_SIZE | 0 | ts->dev | 1616 |
| BUF_SIZE | 0 | ts->event_buf | 95 |
| BUF_SIZE | 0 | ts->reset_gpio | s32min,(-1),1-s32max |
| BUF_SIZE | 2 | data | 30 |
| CAPPED_DATA | 0 | ts->reset_gpio | 1 |
| DATA_SOURCE | 0 | ts | $0 |
| TERMINATED | 0 | ts->event_buf->node.name | 1 |
| MEM_ZERO | 0 | ts | |
| MEM_ZERO | 2 | data | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | len | unit_byte |
drivers/hid/hid-goodix-spi.c goodix_hid_parse() -> goodix_spi_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ts | 4096-ptr_max |
| PARAM_VALUE | 0 | ts->hid_desc.report_desc_length | 1-4096 |
| PARAM_VALUE | 1 | addr | 66986 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 1-4096 |
| BUF_SIZE | 0 | ts | (-1),32,104,128,592,968,10880 |
| BUF_SIZE | 0 | ts | (-1),32,104,128,592,968,10880 |
| BUF_SIZE | 2 | data | 1-4096 |
| DATA_SOURCE | 2 | data | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| BYTE_COUNT | 2 | ==data3 | 8050 |
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &pool->lock |