Defined in 1 files as a function:
Referenced in 4 files:
- drivers/extcon/extcon-max14577.c, line 747
- drivers/mfd/max14577.c
- drivers/power/supply/max14577_charger.c
- drivers/regulator/max14577-regulator.c
Smatch caller information:
drivers/power/supply/max14577_charger.c max14577_get_battery_health() -> max14577_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 5 |
| PARAM_VALUE | 2 | dest | 540219242897219584 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/max14577_charger.c max14577_get_battery_health() -> max14577_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | *map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 6 |
| PARAM_VALUE | 2 | dest | 540219242897219584 |
| PARAM_VALUE | 2 | *dest | 0-7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/max14577_charger.c max14577_get_charger_state() -> max14577_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 2 | dest | 4757768715187990528 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/power/supply/max14577_charger.c max14577_get_charger_state() -> max14577_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | *map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 6 |
| PARAM_VALUE | 2 | dest | 4757768715187990528 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/power/supply/max14577_charger.c max14577_get_online() -> max14577_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 5 |
| PARAM_VALUE | 2 | dest | 313848420603105280 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/power/supply/max14577_charger.c show_fast_charge_timer() -> max14577_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 15 |
| PARAM_VALUE | 2 | dest | 7990048551779872768 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/regulator/max14577-regulator.c max14577_reg_get_current_limit() -> max14577_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 18 |
| PARAM_VALUE | 2 | dest | 7380437639604355072 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | map | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/regulator/max14577-regulator.c max14577_reg_is_enabled() -> max14577_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 2 | dest | 2073682080397135872 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | map | unit_byte |
drivers/regulator/max14577-regulator.c max14577_reg_is_enabled() -> max14577_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | *map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 6 |
| PARAM_VALUE | 2 | dest | 2073682080397135872 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | map | unit_byte |
drivers/mfd/max14577.c max14577_print_dev_type() -> max14577_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 0-ptr_max |
| PARAM_VALUE | 1 | reg | 0 |
| PARAM_VALUE | 2 | dest | 8017973225434603520 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mfd/max14577.c max77836_init() -> max14577_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 0-ptr_max |
| PARAM_VALUE | 1 | reg | 35 |
| PARAM_VALUE | 2 | dest | 4791867529115758592 |
| DATA_SOURCE | 0 | map | r __devm_regmap_init_i2c |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/extcon/extcon-max14577.c max14577_muic_probe() -> max14577_read_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *map->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | reg | 0 |
| PARAM_VALUE | 2 | dest | 5560489862869794816 |
| RX_PATH | |||
| TASK_NOT_RUNNING |