Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/iio/light/vl6180.c vl6180_buffer_postdisable() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/iio/light/vl6180.c vl6180_buffer_postenable() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/light/vl6180.c vl6180_hold() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 23 |
| PARAM_VALUE | 2 | val | 0-1 |
| FUZZY_MAX | 2 | val | 1 |
| HARD_MAX | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | client->irq | |
| HALF_LOCKED2 | &data->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/light/vl6180.c vl6180_init() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 20 |
| PARAM_VALUE | 2 | val | 36 |
| CAPPED_DATA | 0 | client->irq | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | client->irq |
drivers/iio/light/vl6180.c vl6180_init() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo->master_xfer | 1-u64max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.owner | 0-1 |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->quirks | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 27 |
| PARAM_VALUE | 2 | val | 4 |
| CAPPED_DATA | 0 | client->adapter->retries | 1 |
| CAPPED_DATA | 0 | client->irq | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | client->irq |
drivers/iio/light/vl6180.c vl6180_init() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo->master_xfer | 1-u64max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.owner | 0-1 |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->quirks | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 62 |
| CAPPED_DATA | 0 | client->adapter->retries | 1 |
| CAPPED_DATA | 0 | client->irq | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | client->irq |
drivers/iio/light/vl6180.c vl6180_init() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo->master_xfer | 1-u64max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.owner | 0-1 |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->quirks | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 63 |
| PARAM_VALUE | 2 | val | 70 |
| CAPPED_DATA | 0 | client->adapter->retries | 1 |
| CAPPED_DATA | 0 | client->irq | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | client->irq |
drivers/iio/light/vl6180.c vl6180_init() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo->master_xfer | 1-u64max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.owner | 0-1 |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->quirks | 0,4096-ptr_max |
| PARAM_VALUE | 0 | client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 22 |
| PARAM_VALUE | 2 | val | 0 |
| CAPPED_DATA | 0 | client->adapter->retries | 1 |
| CAPPED_DATA | 0 | client->irq | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | client->irq |
drivers/iio/light/vl6180.c vl6180_measure() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct vl6180_data)->lock |
drivers/iio/light/vl6180.c vl6180_measure() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo->master_xfer | 1-u64max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->quirks | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 21 |
| PARAM_VALUE | 2 | val | 7 |
| CAPPED_DATA | 0 | client->adapter->retries | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct vl6180_data)->lock |
drivers/iio/light/vl6180.c vl6180_set_als_gain() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->algo->master_xfer | 1-u64max |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.owner | 0-1 |
| PARAM_VALUE | 0 | client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | cmd | 63 |
| PARAM_VALUE | 2 | val | 64-71 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct vl6180_data)->lock |
drivers/iio/light/vl6180.c vl6180_trigger_handler() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 21 |
| PARAM_VALUE | 2 | val | 7 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/light/vl6180.c vl6180_write_raw() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 27 |
| PARAM_VALUE | 2 | val | 0-254 |
| DATA_SOURCE | 2 | val | r vl6180_meas_reg_val_from_mhz |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/light/vl6180.c vl6180_write_raw() -> vl6180_write_byte()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | cmd | 62 |
| PARAM_VALUE | 2 | val | 0-254 |
| DATA_SOURCE | 2 | val | r vl6180_meas_reg_val_from_mhz |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |