Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/cpcap-charger.c cpcap_usb_detect() -> cpcap_charger_enable()
| 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->cache->data | 0-4294967295 |
| PARAM_VALUE | 1 | max_voltage | 0,16-240 |
| PARAM_VALUE | 2 | charge_current | (-22),0-15 |
| PARAM_VALUE | 3 | trickle_current | 0 |
| CAPPED_DATA | 0 | ddata->limit_current | 1 |
| CAPPED_DATA | 2 | charge_current | 1 |
| DATA_SOURCE | 2 | charge_current | r cpcap_charger_current_to_regval |
| BIT_INFO | 1 | max_voltage | 0x0,0xf0 |
| HALF_LOCKED2 | &pool->lock |