Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/leds/leds-lp8788.c
- drivers/mfd/lp8788-irq.c, line 93
- drivers/mfd/lp8788.c, line 154
- drivers/regulator/lp8788-buck.c
- drivers/regulator/lp8788-ldo.c, line 520
- drivers/rtc/rtc-lp8788.c
Smatch caller information:
drivers/mfd/lp8788-irq.c lp8788_irq_bus_sync_unlock() -> lp8788_update_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | reg | r _irq_to_enable_addr |
| DATA_SOURCE | 2 | mask | r _irq_to_mask |
| DATA_SOURCE | 3 | data | r _irq_to_val |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/regulator/lp8788-ldo.c lp8788_config_ldo_enable_mode() -> lp8788_update_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lp | 0 |
| PARAM_VALUE | 1 | reg | 16 |
| PARAM_VALUE | 3 | data | 0 |
| BUF_SIZE | 0 | lp | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | lp | unit_byte |
drivers/leds/leds-lp8788.c lp8788_led_enable() -> lp8788_update_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lp | 4096-ptr_max |
| PARAM_VALUE | 0 | lp->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | lp->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 1 | reg | 153 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | lp | unit_byte |
| LOCK2 | &led->lock | ||
| TYPE_LOCK | (struct lp8788_led)->lock |
drivers/leds/leds-lp8788.c lp8788_led_init_device() -> lp8788_update_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lp | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 153 |
| BUF_SIZE | 0 | lp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lp | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | lp | unit_byte |
drivers/leds/leds-lp8788.c lp8788_led_init_device() -> lp8788_update_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lp | 4096-ptr_max |
| PARAM_VALUE | 0 | lp->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | lp->regmap->async | 0 |
| PARAM_VALUE | 0 | lp->regmap->cache_dirty | 1 |
| PARAM_VALUE | 1 | reg | 154-155 |
| PARAM_VALUE | 2 | mask | 15,240 |
| BUF_SIZE | 0 | lp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lp | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | lp->regmap->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | lp->regmap->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | lp->regmap->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | lp->regmap->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | lp->regmap->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | lp->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | lp->regmap->wr_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | lp | unit_byte |
drivers/regulator/lp8788-buck.c lp8788_buck12_set_voltage_sel() -> lp8788_update_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 30-37 |
| PARAM_VALUE | 2 | mask | 31 |
| CAPPED_DATA | 3 | data | 1 |
| DATA_SOURCE | 1 | reg | r lp8788_select_buck_vout_addr |
| DATA_SOURCE | 3 | data | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | lp | unit_byte |
drivers/regulator/lp8788-buck.c lp8788_buck_set_mode() -> lp8788_update_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 45 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | lp | unit_byte |
drivers/regulator/lp8788-buck.c lp8788_init_dvs() -> lp8788_update_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lp->pdata | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 29 |
| BUF_SIZE | 0 | lp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lp | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | lp | unit_byte |
drivers/regulator/lp8788-buck.c lp8788_init_dvs() -> lp8788_update_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lp->pdata | 0,4096-ptr_max |
| PARAM_VALUE | 1 | reg | 29 |
| BUF_SIZE | 0 | lp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | lp | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | lp | unit_byte |
drivers/rtc/rtc-lp8788.c lp8788_alarm_irq_enable() -> lp8788_update_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | reg | 5 |
| PARAM_VALUE | 2 | mask | 2,4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | lp | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |
drivers/rtc/rtc-lp8788.c lp8788_set_alarm() -> lp8788_update_bits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lp | 4096-ptr_max |
| PARAM_VALUE | 0 | lp->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | lp->regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | *lp->regmap->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | reg | 125,132 |
| PARAM_VALUE | 2 | mask | 128 |
| PARAM_VALUE | 3 | data | 128 |
| CAPPED_DATA | 0 | lp->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | lp->regmap->wr_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | lp | unit_byte |
| UNITS | 1 | reg | unit_byte |
| LOCK2 | &rtc->ops_lock | ||
| TYPE_LOCK | (struct rtc_device)->ops_lock |