Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/hid/hid-lenovo-go.c cal_gyro_left_index_show() -> calibrate_config_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 5493714211343441920 |
| PARAM_VALUE | 1 | attr->attr | 8555834305279590400 |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| 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_index_show() -> calibrate_config_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 9153527824545914880 |
| PARAM_VALUE | 1 | attr->attr | 8555834305279590400 |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| 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_index_show() -> calibrate_config_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 8089885606871359488 |
| PARAM_VALUE | 1 | attr->attr | 6784987051551862784 |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| 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_index_show() -> calibrate_config_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 7336740609249026048 |
| PARAM_VALUE | 1 | attr->attr | 6784987051551862784 |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| 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_index_show() -> calibrate_config_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 7382263040737140736 |
| PARAM_VALUE | 1 | attr->attr | 6339426984225783808 |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| 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_index_show() -> calibrate_config_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 2994717745321574400 |
| PARAM_VALUE | 1 | attr->attr | 6339426984225783808 |
| PARAM_VALUE | 1 | attr->show | 1-u64max |
| PARAM_VALUE | 2 | buf | 1-u64max |
| 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 |