Defined in 1 files as a function:
Referenced in 9 files:
- drivers/gpio/gpio-da9052.c
- drivers/hwmon/da9052-hwmon.c
- drivers/input/misc/da9052_onkey.c, line 28
- drivers/input/touchscreen/da9052_tsi.c
- drivers/mfd/da9052-core.c
- drivers/power/supply/da9052-battery.c
- drivers/regulator/da9052-regulator.c, line 89
- drivers/rtc/rtc-da9052.c, line 144
- drivers/watchdog/da9052_wdt.c, line 198
Smatch caller information:
drivers/watchdog/da9052_wdt.c da9052_wdt_probe() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 17 |
| BUF_SIZE | 0 | da9052 | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | da9052 | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
drivers/input/misc/da9052_onkey.c da9052_onkey_query() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
drivers/power/supply/da9052-battery.c da9052_USB_current_notifier() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 62 |
| UNITS | 0 | da9052 | unit_byte |
drivers/power/supply/da9052-battery.c da9052_read_chg_current() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | *da9052->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 87 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/power/supply/da9052-battery.c da9052_read_chgend_current() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 89 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | _T->lock |
drivers/input/touchscreen/da9052_tsi.c da9052_ts_pen_work() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 109 |
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/input/touchscreen/da9052_tsi.c da9052_ts_read() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 107 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/input/touchscreen/da9052_tsi.c da9052_ts_read() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | *da9052->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 108 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/input/touchscreen/da9052_tsi.c da9052_ts_read() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | *da9052->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 110 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/input/touchscreen/da9052_tsi.c da9052_ts_read() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | *da9052->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 109 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | irq |
drivers/regulator/da9052-regulator.c da9052_dcdc_get_current_limit() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/mfd/da9052-core.c da9052_adc_manual_read() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | da9052->auxadc_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | da9052->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | da9052->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | da9052->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | da9052->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 84 |
| CAPPED_DATA | 0 | da9052->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | da9052->regmap->wr_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | &da9052->auxadc_lock | 1 |
| DATA_SOURCE | 0 | da9052 | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| LOCK2 | 0 | &da9052->auxadc_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct da9052)->auxadc_lock |
drivers/mfd/da9052-core.c da9052_adc_manual_read() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | da9052->auxadc_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | da9052->done.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | da9052->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | da9052->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | da9052->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | *da9052->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 83 |
| CAPPED_DATA | 0 | da9052->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | da9052->regmap->wr_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | &da9052->auxadc_lock | 1 |
| DATA_SOURCE | 0 | da9052 | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| LOCK2 | 0 | &da9052->auxadc_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| TYPE_LOCK | (struct da9052)->auxadc_lock |
drivers/mfd/da9052-core.c da9052_adc_read_temp() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 90 |
| DATA_SOURCE | 0 | da9052 | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/mfd/da9052-core.c da9052_clear_fault_log() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->auxadc_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | da9052->auxadc_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | da9052->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->done.done | 0 |
| PARAM_VALUE | 0 | da9052->done.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | da9052->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | da9052->done.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->done.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 0-ptr_max |
| PARAM_VALUE | 1 | reg | 9 |
| BUF_SIZE | 0 | da9052 | 304 |
| BUF_SIZE | 0 | da9052->dev | 1616 |
| DATA_SOURCE | 0 | da9052 | $0 |
| MEM_ZERO | 0 | da9052 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | da9052->chip_irq |
drivers/gpio/gpio-da9052.c da9052_gpio_get() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
drivers/gpio/gpio-da9052.c da9052_gpio_get() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
drivers/gpio/gpio-da9052.c da9052_gpio_get() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
drivers/rtc/rtc-da9052.c da9052_rtc_get_alarm_status() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 1 | reg | 121 |
| UNITS | 0 | da9052 | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/hwmon/da9052-hwmon.c da9052_ich_show() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 87 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/da9052-hwmon.c da9052_tjunc_show() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 104 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/da9052-hwmon.c da9052_tjunc_show() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | *da9052->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 94 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/hwmon/da9052-hwmon.c da9052_vddout_show() -> da9052_reg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | da9052 | 4096-ptr_max |
| PARAM_VALUE | 0 | da9052->regmap | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 85 |
| CAPPED_DATA | 0 | da9052->regmap->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | da9052->regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | da9052->regmap->volatile_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | da9052 | unit_byte |
| LOCK2 | &hwmon->hwmon_lock | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct da9052_hwmon)->hwmon_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |