Defined in 1 files as a function:
Referenced in 3 files:
- drivers/extcon/extcon-max14577.c
- drivers/power/supply/max14577_charger.c
- drivers/regulator/max14577-regulator.c, line 76
Smatch caller information:
drivers/power/supply/max14577_charger.c max14577_charger_reg_init() -> max14577_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 10 |
| PARAM_VALUE | 2 | mask | 3 |
| PARAM_VALUE | 3 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/power/supply/max14577_charger.c max14577_init_eoc() -> max14577_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->async | 0 |
| PARAM_VALUE | 0 | map->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | map->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | map->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *map->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 19 |
| PARAM_VALUE | 2 | mask | 15 |
| PARAM_VALUE | 3 | val | 0-15 |
| CAPPED_DATA | 0 | map->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->wr_table->n_yes_ranges | 1 |
| CAPPED_DATA | 3 | val | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/max14577_charger.c max14577_init_fast_charge() -> max14577_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->async | 0 |
| PARAM_VALUE | 0 | map->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | map->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | map->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | map->cache_dirty | 1 |
| PARAM_VALUE | 1 | reg | 18 |
| PARAM_VALUE | 2 | mask | 31 |
| CAPPED_DATA | 0 | map->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | map->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | map->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->wr_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/max14577_charger.c max14577_set_fast_charge_timer() -> max14577_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 15 |
| PARAM_VALUE | 2 | mask | 112 |
| PARAM_VALUE | 3 | val | 32-64,112 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | val | 32-64[c] |
| HALF_LOCKED2 | &of->mutex |
drivers/regulator/max14577-regulator.c max14577_reg_set_current_limit() -> max14577_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 18 |
| PARAM_VALUE | 2 | mask | 31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | val | 16-54,151-155[c][u] |
| UNITS | 0 | map | unit_byte |
drivers/extcon/extcon-max14577.c max14577_muic_set_debounce_time() -> max14577_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *map->cache->data | 0-4294967295 |
| PARAM_VALUE | 0 | *map->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | reg | 14 |
| PARAM_VALUE | 2 | mask | 48 |
| PARAM_VALUE | 3 | val | 0,16-48 |
| BIT_INFO | 3 | val | 0x0,0x30 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/extcon/extcon-max14577.c max14577_muic_set_path() -> max14577_update_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 | 12 |
| PARAM_VALUE | 2 | mask | 63 |
| PARAM_VALUE | 3 | val | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->mutex |
drivers/extcon/extcon-max14577.c max14577_muic_set_path() -> max14577_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->async | 0 |
| PARAM_VALUE | 0 | map->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *map->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | reg | 12 |
| PARAM_VALUE | 2 | mask | 63 |
| CAPPED_DATA | 0 | map->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | map->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->volatile_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->mutex |
drivers/extcon/extcon-max14577.c max14577_muic_set_path() -> max14577_update_reg()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->async | 0 |
| PARAM_VALUE | 0 | map->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *map->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | reg | 13 |
| PARAM_VALUE | 2 | mask | 5 |
| PARAM_VALUE | 3 | val | 1,4 |
| CAPPED_DATA | 0 | map->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | map->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | map->volatile_table->n_yes_ranges | 1 |
| BIT_INFO | 3 | val | 0x0,0x5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &info->mutex |