Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/cw2015_battery.c cw_bat_probe() -> cw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cw_bat | 4096-ptr_max |
| PARAM_VALUE | 0 | cw_bat->bat_profile | 0 |
| PARAM_VALUE | 0 | cw_bat->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | cw_bat->dev->devres_head.prev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | cw_bat->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cw_bat->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | cw_bat->dev->driver_data | 0 |
| PARAM_VALUE | 0 | cw_bat->poll_interval_ms | 0,8000 |
| PARAM_VALUE | 0 | cw_bat->regmap | 0-ptr_max |
| PARAM_VALUE | 0 | cw_bat->soc | 1 |
| BUF_SIZE | 0 | cw_bat | 272 |
| BUF_SIZE | 0 | cw_bat->dev | 1616 |
| DATA_SOURCE | 0 | cw_bat | r devm_kzalloc |
| MEM_ZERO | 0 | cw_bat | |
| MEM_ZERO | 0 | cw_bat->dev | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/power/supply/cw2015_battery.c cw_power_on_reset() -> cw_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cw_bat | 4096-ptr_max |
| PARAM_VALUE | 0 | cw_bat->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | cw_bat->regmap->cache->cached_rbnode->blklen | 1-4294967295 |
| PARAM_VALUE | 0 | *cw_bat->regmap->cache->data | 0-4294967295 |
| CAPPED_DATA | 0 | cw_bat->regmap->wr_table->n_no_ranges | 1 |
| CAPPED_DATA | 0 | cw_bat->regmap->wr_table->n_yes_ranges | 1 |
| DATA_SOURCE | 0 | cw_bat | $0 |
| HALF_LOCKED2 | &pool->lock |