Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 10 files:
- drivers/hid/hid-logitech-hidpp.c, line 2989
- drivers/hid/hid-multitouch.c, line 1026
- drivers/hid/wacom_wac.c
- drivers/input/input-mt.c, line 534
- drivers/input/touchscreen/apple_z2.c, line 96
- drivers/input/touchscreen/cy8ctma140.c, line 74
- drivers/input/touchscreen/pixcir_i2c_ts.c, line 164
- drivers/input/touchscreen/sis_i2c.c, line 187
- drivers/input/touchscreen/sur40.c, line 424
- drivers/input/touchscreen/surface3_spi.c, line 72
Smatch caller information:
drivers/input/touchscreen/sis_i2c.c sis_ts_report_contact() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/hid/hid-multitouch.c mt_compute_slot() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hid->dev.driver_data->dyn_callback_lock | ||
| HALF_LOCKED2 | &hid->dev.driver_data->lock | ||
| HALF_LOCKED2 | &hid->dev.driver_data->mutex | ||
| HALF_LOCKED2 | &hid->driver_data->mutex | ||
| HALF_LOCKED2 | &hid->driver_input_lock | ||
| HALF_LOCKED2 | &hid->ll_open_lock |
drivers/hid/wacom_wac.c wacom_24hdt_irq() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.driver_data->dyn_callback_lock | ||
| HALF_LOCKED2 | &hdev->dev.driver_data->lock | ||
| HALF_LOCKED2 | &hdev->dev.driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &hdev->ll_open_lock |
drivers/hid/wacom_wac.c wacom_bpt3_touch_msg() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.driver_data->dyn_callback_lock | ||
| HALF_LOCKED2 | &hdev->dev.driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &hdev->ll_open_lock |
drivers/hid/wacom_wac.c wacom_intuos_pro2_bt_touch() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.driver_data->dyn_callback_lock | ||
| HALF_LOCKED2 | &hdev->dev.driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &hdev->ll_open_lock |
drivers/hid/wacom_wac.c wacom_mt_touch() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| PARAM_VALUE | 1 | key | 0-255 |
| DATA_SOURCE | 1 | key | r get_unaligned_le16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.driver_data->dyn_callback_lock | ||
| HALF_LOCKED2 | &hdev->dev.driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &hdev->ll_open_lock |
drivers/hid/wacom_wac.c wacom_wac_finger_slot() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.driver_data->dyn_callback_lock | ||
| HALF_LOCKED2 | &hdev->dev.driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &hdev->ll_open_lock |
drivers/input/touchscreen/surface3_spi.c surface3_spi_report_touch() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 0-u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock |
drivers/input/touchscreen/pixcir_i2c_ts.c pixcir_ts_report() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/input/touchscreen/cy8ctma140.c cy8ctma140_report() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 0-15 |
| CAPPED_DATA | 1 | key | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/hid/hid-logitech-hidpp.c wtp_touch_event() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 1-u64max |
| PARAM_VALUE | 1 | key | 1-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.driver_data->dyn_callback_lock | ||
| HALF_LOCKED2 | &hdev->dev.driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &hdev->ll_open_lock |
drivers/input/touchscreen/sur40.c sur40_report_blob() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | key | 0-u16max |
| DATA_SOURCE | 0 | dev | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/input/touchscreen/apple_z2.c apple_z2_parse_touches() -> input_mt_get_slot_by_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | key | 0-255 |
| BUF_SIZE | 0 | dev | (-1),2480 |
| BUF_SIZE | 0 | dev | (-1),2480 |
| BUF_SIZE | 0 | dev->phys | (-1),9 |
| STR_LEN | 0 | dev->phys | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->max_vals |