Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/hwmon/emc2103.c emc2103_update_device() -> read_u8_from_i2c()

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.dep_map->name 0-255
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 1 i2c_reg 56-58,60
PARAM_VALUE 2 output 4096-ptr_max
PARAM_VALUE 2 *output 0-127,193-255
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct emc2103_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/emc2103.c emc2103_update_device() -> read_u8_from_i2c()

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 1 i2c_reg 48-50,52
PARAM_VALUE 2 output 4096-ptr_max
PARAM_VALUE 2 *output 0-127,193-255
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct emc2103_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/emc2103.c emc2103_update_device() -> read_u8_from_i2c()

Type Parameter Key Value
PARAM_VALUE 1 i2c_reg 37
PARAM_VALUE 2 output 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct emc2103_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/emc2103.c emc2103_update_device() -> read_u8_from_i2c()

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 1 i2c_reg 36
PARAM_VALUE 2 output 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct emc2103_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/emc2103.c pwm1_enable_store() -> read_u8_from_i2c()

Type Parameter Key Value
PARAM_VALUE 1 i2c_reg 66
PARAM_VALUE 2 output 5066693803472441344
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct emc2103_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/emc2103.c read_fan_config_from_i2c() -> read_u8_from_i2c()

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.dep_map->name 0-255
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->dev.driver_data->mutex->wait_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 client->adapter->lock_ops 4096-ptr_max
PARAM_VALUE 1 i2c_reg 66
PARAM_VALUE 2 output 3394877297949130752
DATA_SOURCE 0 client $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct emc2103_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/emc2103.c read_fan_from_i2c() -> read_u8_from_i2c()

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.dep_map->name 0-255
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 1 i2c_reg 77-78
PARAM_VALUE 2 output 4904887576621207552
DATA_SOURCE 0 client $0
DATA_SOURCE 1 i2c_reg $2
HARD_MAX 1 i2c_reg 78
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct emc2103_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/emc2103.c read_fan_from_i2c() -> read_u8_from_i2c()

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 1 i2c_reg 76,79
PARAM_VALUE 2 output 2865951151869161472
DATA_SOURCE 0 client $0
DATA_SOURCE 1 i2c_reg $3
HARD_MAX 1 i2c_reg 79
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct emc2103_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/emc2103.c read_temp_from_i2c() -> read_u8_from_i2c()

Type Parameter Key Value
PARAM_VALUE 1 i2c_reg 0,2,4,6
PARAM_VALUE 2 output 1852900284049301504
DATA_SOURCE 0 client $0
DATA_SOURCE 1 i2c_reg $1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct emc2103_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/hwmon/emc2103.c read_temp_from_i2c() -> read_u8_from_i2c()

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 1 i2c_reg 1,3,5,7
PARAM_VALUE 2 output 878484905023643648
DATA_SOURCE 0 client $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->update_lock
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct emc2103_data)->update_lock
TYPE_LOCK (struct kernfs_open_file)->mutex