Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/mfd/max8998.c
- drivers/power/supply/max8998_charger.c
- drivers/regulator/max8998.c
- drivers/rtc/rtc-max8998.c
Smatch caller information:
drivers/mfd/max8998.c max8998_freeze() -> max8998_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i2c | 4096-ptr_max |
| PARAM_VALUE | 2 | dest | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/regulator/max8998.c max8998_get_current_limit() -> max8998_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | dest | 6417844567331708928 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
drivers/regulator/max8998.c max8998_get_voltage_sel() -> max8998_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | dest | 2383646081615577088 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/max8998.c max8998_ldo_is_enabled() -> max8998_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 13,17-20 |
| PARAM_VALUE | 2 | dest | 1637782377766400000 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/max8998.c max8998_set_voltage_buck_time_sel() -> max8998_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 20 |
| PARAM_VALUE | 2 | dest | 895954496822632448 |
| PARAM_VALUE | 2 | *dest | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | _T->lock |
drivers/power/supply/max8998_charger.c max8998_battery_get_property() -> max8998_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 9 |
| PARAM_VALUE | 2 | dest | 6448747679901540352 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/max8998_charger.c max8998_battery_get_property() -> max8998_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 9 |
| PARAM_VALUE | 2 | dest | 6448747679901540352 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/power/supply/max8998_charger.c max8998_battery_get_property() -> max8998_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 9 |
| PARAM_VALUE | 2 | dest | 6448747679901540352 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/rtc/rtc-max8998.c max8998_rtc_read_alarm() -> max8998_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i2c | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | i2c->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | i2c->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | i2c->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | i2c->adapter->dev.driver_data->adev->pm.mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | i2c->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | i2c->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | reg | 24 |
| PARAM_VALUE | 2 | dest | 4559731246786048000 |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-max8998.c max8998_rtc_read_alarm() -> max8998_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i2c | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | i2c->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | i2c->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | i2c->adapter->dev.driver_data->adev->pm.mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | i2c->adapter->dev.driver_data->adev->pm.mutex.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | i2c->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | i2c->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | i2c->dev.driver_data->iolock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | reg | 26 |
| PARAM_VALUE | 2 | dest | 4559731246786048000 |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |