Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/cpcap-charger.c cpcap_charger_disconnect() -> cpcap_charger_update_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddata | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ddata->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ddata->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ddata->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg->async | 0 |
| PARAM_VALUE | 0 | ddata->reg->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | ddata->reg->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 0 | ddata->reg->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 1 | state | 0 |
| CAPPED_DATA | 0 | ddata->reg->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | ddata | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/cpcap-charger.c cpcap_charger_disconnect() -> cpcap_charger_update_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddata | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg->async | 0 |
| PARAM_VALUE | 0 | ddata->reg->cache->cached_rbnode->node.__rb_parent_color | 0-1 |
| PARAM_VALUE | 0 | ddata->reg->cache_dirty | 1 |
| PARAM_VALUE | 1 | state | 2-4 |
| CAPPED_DATA | 0 | ddata->reg->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | ddata | $0 |
| DATA_SOURCE | 1 | state | $1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/cpcap-charger.c cpcap_charger_shutdown() -> cpcap_charger_update_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddata | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->active.counter | 0 |
| PARAM_VALUE | 0 | ddata->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ddata->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ddata->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ddata->dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg->async | 0 |
| PARAM_VALUE | 0 | ddata->reg->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | ddata->reg->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 1 | state | 0 |
| BUF_SIZE | 0 | ddata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ddata | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ddata->reg->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ddata | unit_byte |
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/power/supply/cpcap-charger.c cpcap_charger_shutdown() -> cpcap_charger_update_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddata | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->active.counter | 0 |
| PARAM_VALUE | 0 | ddata->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg->async | 0 |
| PARAM_VALUE | 0 | ddata->reg->cache_dirty | 0-1 |
| PARAM_VALUE | 1 | state | 2 |
| BUF_SIZE | 0 | ddata | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ddata | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | ddata->reg->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_yes_ranges | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ddata | unit_byte |
| LOCK2 | &_dev->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/power/supply/cpcap-charger.c cpcap_charger_vbus_work() -> cpcap_charger_update_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddata | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->feeding_vbus | 1 |
| PARAM_VALUE | 0 | ddata->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg->async | 0 |
| PARAM_VALUE | 0 | ddata->reg->cache_dirty | 1 |
| PARAM_VALUE | 0 | ddata->vbus_enabled | 1 |
| PARAM_VALUE | 1 | state | 2 |
| CAPPED_DATA | 0 | ddata->reg->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->wr_table->n_yes_ranges | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/cpcap-charger.c cpcap_charger_vbus_work() -> cpcap_charger_update_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddata | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg->async | 0 |
| PARAM_VALUE | 0 | ddata->reg->cache->cached_rbnode->base_reg | 0-4294967295 |
| PARAM_VALUE | 0 | ddata->reg->cache->cached_rbnode->blklen | 0-4294967295 |
| PARAM_VALUE | 1 | state | 0 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_yes_ranges | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/cpcap-charger.c cpcap_usb_detect() -> cpcap_charger_update_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddata | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | *ddata->reg->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | state | 3 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/cpcap-charger.c cpcap_usb_detect() -> cpcap_charger_update_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddata | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->feeding_vbus | 0 |
| PARAM_VALUE | 0 | ddata->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg->async | 0 |
| PARAM_VALUE | 0 | ddata->reg->cache_dirty | 1 |
| PARAM_VALUE | 1 | state | 1 |
| CAPPED_DATA | 0 | ddata->limit_current | 1 |
| CAPPED_DATA | 0 | ddata->reg->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->wr_table->n_yes_ranges | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/cpcap-charger.c cpcap_usb_detect() -> cpcap_charger_update_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddata | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg->async | 0 |
| PARAM_VALUE | 0 | ddata->reg->cache_dirty | 1 |
| PARAM_VALUE | 1 | state | 2 |
| CAPPED_DATA | 0 | ddata->reg->precious_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->rd_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->rd_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->volatile_table->n_yes_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | ddata->reg->wr_table->n_yes_ranges | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/power/supply/cpcap-charger.c cpcap_usb_detect() -> cpcap_charger_update_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ddata | 4096-ptr_max |
| PARAM_VALUE | 0 | ddata->reg | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |