Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/cpcap-charger.c cpcap_charger_vbus_work() -> cpcap_charger_vbus_valid()

Type Parameter Key Value
PARAM_VALUE 0 ddata 4096-ptr_max
PARAM_VALUE 0 ddata->vbus_enabled 1
HALF_LOCKED2 &pool->lock

drivers/power/supply/cpcap-charger.c cpcap_usb_detect() -> cpcap_charger_vbus_valid()

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
HALF_LOCKED2 &pool->lock