Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/chemical/pms7003.c pms7003_probe() -> pms7003_do_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->frame_ready.done | 0 |
| PARAM_VALUE | 0 | state->frame_ready.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | state->frame_ready.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | state->frame_ready.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->frame_ready.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->frame_ready.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->frame_ready.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->frame_ready.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->frame_ready.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | state->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | state->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | state->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | state->serdev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->serdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->serdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/chemical/pms7003.c pms7003_probe() -> pms7003_do_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state | 4096-ptr_max |
| PARAM_VALUE | 0 | state->frame_ready.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | state->frame_ready.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->frame_ready.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | state->frame_ready.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->frame_ready.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->frame_ready.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->frame_ready.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->frame_ready.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->frame_ready.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | state->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | state->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | state->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | state->serdev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->serdev->ctrl | 4096-ptr_max |
| PARAM_VALUE | 0 | state->serdev->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | state->serdev->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | state->serdev->write_comp.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | state->serdev->write_comp.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->serdev->write_comp.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | state->serdev->write_comp.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | state->serdev->write_comp.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->serdev->write_comp.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | state->serdev->write_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->serdev->write_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->serdev->write_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | state->serdev->write_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->serdev->write_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->serdev->write_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | state->serdev->write_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | state->serdev->write_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | state->serdev->write_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | cmd | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/chemical/pms7003.c pms7003_read_raw() -> pms7003_do_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | state->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd | 2 |
| CAPPED_DATA | 0 | &state->lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &state->lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct pms7003_state)->lock |
drivers/iio/chemical/pms7003.c pms7003_stop() -> pms7003_do_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 3 |
| DATA_SOURCE | 0 | state | $0 |
| NOCHECK_CALL |
drivers/iio/chemical/pms7003.c pms7003_trigger_handler() -> pms7003_do_cmd()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | state->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | state->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | state->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | state->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | state->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | state->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | cmd | 2 |
| CAPPED_DATA | 0 | &state->lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &state->lock | |
| TYPE_LOCK | (struct pms7003_state)->lock |