Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/i2c/i2c-core-smbus.c, line 690
- drivers/iio/accel/kxcjk-1013.c, line 1192
- drivers/iio/light/si1145.c, line 480
- drivers/iio/magnetometer/ak8975.c
- drivers/nvmem/ee1004.c, line 145
Smatch caller information:
drivers/iio/accel/kxcjk-1013.c kxcjk1013_trigger_handler() -> i2c_smbus_read_i2c_block_data_or_emulated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | command | 6 |
| PARAM_VALUE | 2 | length | 6 |
| BUF_SIZE | 3 | values | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &data->mutex | ||
| TYPE_LOCK | (struct kxcjk1013_data)->mutex |
drivers/iio/magnetometer/ak8975.c ak8975_fill_buffer() -> i2c_smbus_read_i2c_block_data_or_emulated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 1 | command | 3,5,7,17,19,21 |
| PARAM_VALUE | 2 | length | 6 |
| PARAM_VALUE | 3 | values | 1504285008751456256 |
| BUF_SIZE | 3 | values | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
| LOCK2 | &data->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct ak8975_data)->lock |
drivers/iio/magnetometer/ak8975.c ak8975_read_axis() -> i2c_smbus_read_i2c_block_data_or_emulated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 1 | command | 3,5,7,17,19,21 |
| PARAM_VALUE | 2 | length | 2 |
| PARAM_VALUE | 3 | values | 5569347709842321408 |
| BUF_SIZE | 3 | values | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | length | unit_byte |
| LOCK2 | &data->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct ak8975_data)->lock |
drivers/iio/magnetometer/ak8975.c ak8975_setup() -> i2c_smbus_read_i2c_block_data_or_emulated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 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 | command | 2,9-10,16,18,24,49,96,98 |
| PARAM_VALUE | 2 | length | 3 |
| BUF_SIZE | 3 | values | 3 |
| CAPPED_DATA | 0 | client->irq | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | client->irq | |
| UNITS | 2 | length | unit_byte |
drivers/iio/magnetometer/ak8975.c ak8975_who_i_am() -> i2c_smbus_read_i2c_block_data_or_emulated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter | 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 | command | 0 |
| PARAM_VALUE | 2 | length | 2 |
| PARAM_VALUE | 3 | values | 5502409505684357120 |
| BUF_SIZE | 3 | values | 2 |
| CAPPED_DATA | 0 | client->irq | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | client->irq | |
| UNITS | 2 | length | unit_byte |
drivers/iio/light/si1145.c si1145_trigger_handler() -> i2c_smbus_read_i2c_block_data_or_emulated()
| 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.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 | 3 | values | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | command | unit_array_size |
drivers/nvmem/ee1004.c ee1004_eeprom_read() -> i2c_smbus_read_i2c_block_data_or_emulated()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | client | 4096-ptr_max |
| PARAM_VALUE | 0 | client->adapter->dev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | client->debugfs->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | client->debugfs->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | client->debugfs->d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | client->debugfs->d_parent->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_automount | 0,2908707185815040000,3401111987815645184,6746145930460459008,7190988915944083456,7386785427940065280,8018779550845526016 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_init | 0,2385819921126617088,7057831443282669568,7824184004865302528 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_iput | 0,170374395438985216,837750826476904448,5086081384299388928,8216155483032948736 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_manage | 0,1859587847549206528 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_prune | 0,2225594340392566784,7225953709177749504 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_real | 0,4509355519306412032 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_unalias_trylock | 0,6635409759016140800 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_unalias_unlock | 0,6336447517789900800 |
| PARAM_VALUE | 0 | client->debugfs->d_sb->__s_d_op->d_weak_revalidate | 0,1549882712720502784,5632434648052031488,5669063523602272256,7231033168839651328 |
| PARAM_VALUE | 0 | client->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | client->dev.driver_data->current_page | 0-16777215 |
| PARAM_VALUE | 2 | length | 1-32 |
| BUF_SIZE | 0 | client | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | client | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | client->debugfs | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | client->devres_group_id | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | values | (-1)-s32max |
| BUF_SIZE | 3 | values | (-1)-s32max |
| CAPPED_DATA | 0 | client->dev.driver_data->current_page | 1 |
| DATA_SOURCE | 0 | client | $0 |
| DATA_SOURCE | 1 | command | $2 [m] |
| DATA_SOURCE | 2 | length | $3 [m] |
| DATA_SOURCE | 3 | values | $1 |
| NOSPEC | 1 | command | |
| NOSPEC | 1 | command | |
| NOSPEC | 2 | length | |
| NOSPEC | 2 | length | |
| NOSPEC | 3 | values | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | command | 0-254[c] |
| USER_DATA | 2 | length | 1-32 |
| NO_OVERFLOW_SIMPLE | 0 | client->irq | |
| LOCK2 | global &ee1004_bus_lock |