Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/accel/bmc150-accel-core.c bmc150_accel_chip_init() -> bmc150_accel_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->chip_info | 1-u64max |
| PARAM_VALUE | 0 | data->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | data->regmap->lock | 4096-ptr_max |
| PARAM_VALUE | 0 | data->regmap->unlock | 4096-ptr_max |
| PARAM_VALUE | 0 | data->regulators | 4096-ptr_max |
| PARAM_VALUE | 1 | mode | 0 |
| PARAM_VALUE | 2 | dur_us | 0 |
| DATA_SOURCE | 0 | data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/accel/bmc150-accel-core.c bmc150_accel_core_remove() -> bmc150_accel_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data | 4096-ptr_max |
| PARAM_VALUE | 0 | data->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | data->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | data->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | data->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | data->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mode | 1 |
| PARAM_VALUE | 2 | dur_us | 0 |
| CAPPED_DATA | 0 | &data->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | 0 | &data->mutex | |
| TYPE_LOCK | (struct bmc150_accel_data)->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/iio/accel/bmc150-accel-core.c bmc150_accel_resume() -> bmc150_accel_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | data->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | data->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | data->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | data->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mode | 0 |
| PARAM_VALUE | 2 | dur_us | 0 |
| CAPPED_DATA | 0 | &data->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &data->mutex | |
| TYPE_LOCK | (struct bmc150_accel_data)->mutex |
drivers/iio/accel/bmc150-accel-core.c bmc150_accel_runtime_resume() -> bmc150_accel_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 0 |
| PARAM_VALUE | 2 | dur_us | 0 |
drivers/iio/accel/bmc150-accel-core.c bmc150_accel_runtime_suspend() -> bmc150_accel_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | mode | 4 |
| PARAM_VALUE | 2 | dur_us | 0 |
drivers/iio/accel/bmc150-accel-core.c bmc150_accel_suspend() -> bmc150_accel_set_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | data->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | data->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | data->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | data->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | data->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | data->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | mode | 4 |
| PARAM_VALUE | 2 | dur_us | 0 |
| CAPPED_DATA | 0 | &data->mutex | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &data->mutex | |
| TYPE_LOCK | (struct bmc150_accel_data)->mutex |