Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/hid-lenovo-go.c cal_gyro_left_status_show() -> device_status_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 162818771110928384 |
| PARAM_VALUE | 1 | attr->attr | 7057951097765240832 |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| PARAM_VALUE | 4 | device_type | 3 |
| PARAM_VALUE | 5 | cal_type | 1 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hid/hid-lenovo-go.c cal_gyro_right_status_show() -> device_status_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 1986645231696052224 |
| PARAM_VALUE | 1 | attr->attr | 7057951097765240832 |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| PARAM_VALUE | 4 | device_type | 4 |
| PARAM_VALUE | 5 | cal_type | 1 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hid/hid-lenovo-go.c cal_joy_left_status_show() -> device_status_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 8294839264822579200 |
| PARAM_VALUE | 1 | attr->attr | 8658635753353232384 |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| PARAM_VALUE | 4 | device_type | 3 |
| PARAM_VALUE | 5 | cal_type | 2 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hid/hid-lenovo-go.c cal_joy_right_status_show() -> device_status_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 3297295926449344512 |
| PARAM_VALUE | 1 | attr->attr | 8658635753353232384 |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| PARAM_VALUE | 4 | device_type | 4 |
| PARAM_VALUE | 5 | cal_type | 2 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hid/hid-lenovo-go.c cal_trigg_left_status_show() -> device_status_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 7579953808030937088 |
| PARAM_VALUE | 1 | attr->attr | 881133404787404800 |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| PARAM_VALUE | 4 | device_type | 3 |
| PARAM_VALUE | 5 | cal_type | 3 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hid/hid-lenovo-go.c cal_trigg_right_status_show() -> device_status_show()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 346588956098932736 |
| PARAM_VALUE | 1 | attr->attr | 881133404787404800 |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| PARAM_VALUE | 4 | device_type | 4 |
| PARAM_VALUE | 5 | cal_type | 3 |
| CAPPED_DATA | 2 | buf | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| DATA_SOURCE | 2 | buf | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |