Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/mfd/max8997-irq.c
- drivers/mfd/max8997.c
- drivers/power/supply/max8997_charger.c
- drivers/regulator/max8997-regulator.c
- drivers/rtc/rtc-max8997.c
Smatch caller information:
drivers/regulator/max8997-regulator.c max8997_get_voltage_sel() -> max8997_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | dest | 1719978972611379200 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/regulator/max8997-regulator.c max8997_reg_disable_suspend() -> max8997_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 19,24,33,42,44,46,55,57,59-77,80-81,90 |
| PARAM_VALUE | 2 | dest | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/regulator/max8997-regulator.c max8997_reg_is_enabled() -> max8997_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 19,24,33,42,44,46,55,57,59-77,80-81,90 |
| PARAM_VALUE | 2 | dest | 3984185688635002880 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/rtc/rtc-max8997.c max8997_rtc_enable_smpl() -> max8997_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 | 6 |
| PARAM_VALUE | 2 | dest | 5189874691480543232 |
| PARAM_VALUE | 2 | *dest | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/rtc/rtc-max8997.c max8997_rtc_read_alarm() -> max8997_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 13 |
| PARAM_VALUE | 2 | dest | 8372930906420760576 |
| LOCK2 | &info->lock | ||
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct max8997_rtc_info)->lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/mfd/max8997.c max8997_freeze() -> max8997_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | i2c | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 8-11,19-21,24-77,80-86,90,94-96,99-108,110,112-123,128-146,151-154 |
| PARAM_VALUE | 2 | dest | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/mfd/max8997.c max8997_freeze() -> max8997_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 | 7-10,12-14 |
| PARAM_VALUE | 2 | dest | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/mfd/max8997.c max8997_freeze() -> max8997_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 | 1-15 |
| PARAM_VALUE | 2 | dest | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/mfd/max8997-irq.c max8997_irq_init() -> max8997_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->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | i2c->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c->dev.driver_data | 4096-ptr_max |
| PARAM_VALUE | 0 | i2c->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 112-123 |
| PARAM_VALUE | 2 | dest | 8865995555065446400 |
| CAPPED_DATA | 0 | i2c->irq | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | i2c->irq |
drivers/mfd/max8997-irq.c max8997_irq_thread() -> max8997_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 2 |
| PARAM_VALUE | 2 | dest | 1974059807721402368 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mfd/max8997-irq.c max8997_irq_thread() -> max8997_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 | 109 |
| PARAM_VALUE | 2 | dest | 5696375135225327626 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/max8997_charger.c max8997_battery_get_property() -> max8997_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 2 | dest | 3775444346533380096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/max8997_charger.c max8997_battery_get_property() -> max8997_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 2 | dest | 3775444346533380096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/max8997_charger.c max8997_battery_get_property() -> max8997_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 2 | dest | 3775444346533380096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |