Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/bq24735-charger.c bq24735_charger_probe() -> bq24735_enable_charging()

Type Parameter Key Value
PARAM_VALUE 0 charger 4096-ptr_max
PARAM_VALUE 0 charger->charger_desc.get_property 5413216772218396672
PARAM_VALUE 0 charger->charger_desc.name 1-u64max
PARAM_VALUE 0 charger->charger_desc.num_properties 2
PARAM_VALUE 0 charger->charger_desc.properties 7659139150736297984
PARAM_VALUE 0 charger->charger_desc.property_is_writeable 7447798487775821824
PARAM_VALUE 0 charger->charger_desc.set_property 5482812667621400576
PARAM_VALUE 0 charger->charger_desc.type 3
PARAM_VALUE 0 charger->charging 1
PARAM_VALUE 0 charger->client 4096-ptr_max
PARAM_VALUE 0 charger->client->adapter 4096-ptr_max
PARAM_VALUE 0 charger->client->debugfs 4096-u64max
PARAM_VALUE 0 charger->client->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 charger->client->devres_group_id 4096-ptr_max
PARAM_VALUE 0 charger->lock.dep_map->name 0-255
PARAM_VALUE 0 charger->lock.first_waiter 0
PARAM_VALUE 0 charger->lock.magic 4096-ptr_max
PARAM_VALUE 0 charger->lock.osq.tail.counter 0
PARAM_VALUE 0 charger->lock.owner.counter 0
PARAM_VALUE 0 charger->pdata 4096-ptr_max
PARAM_VALUE 0 charger->status_gpio 0,4096-ptr_max
BUF_SIZE 0 charger 464
BUF_SIZE 0 charger->pdata s32min-(-2),1-s32max
BUF_SIZE 0 charger->status_gpio s32min-(-1),1-s32max
CAPPED_DATA 0 charger->client->irq 1
CAPPED_DATA 0 charger->status_gpio 1
DATA_SOURCE 0 charger r devm_kzalloc
MEM_ZERO 0 charger
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 charger->client->irq

drivers/power/supply/bq24735-charger.c bq24735_charger_set_property() -> bq24735_enable_charging()

Type Parameter Key Value
PARAM_VALUE 0 charger 4096-ptr_max
PARAM_VALUE 0 charger->charging 1
PARAM_VALUE 0 charger->lock.dep_map->name 0-255
PARAM_VALUE 0 charger->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 charger->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 charger->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 charger->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 charger->lock.wait_lock.owner (-1)
PARAM_VALUE 0 charger->lock.wait_lock.owner_cpu u32max
BUF_SIZE 0 charger s32min-(-2),1-s32max
BUF_SIZE 0 charger s32min-(-2),1-s32max
CAPPED_DATA 0 &charger->lock 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 charger unit_byte
LOCK2 0 &charger->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct bq24735)->lock

drivers/power/supply/bq24735-charger.c bq24735_update() -> bq24735_enable_charging()

Type Parameter Key Value
PARAM_VALUE 0 charger 4096-ptr_max
PARAM_VALUE 0 charger->charging 1
PARAM_VALUE 0 charger->lock.dep_map->name 0-255
PARAM_VALUE 0 charger->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 charger->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 charger->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 charger->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 charger->lock.wait_lock.owner (-1)
PARAM_VALUE 0 charger->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 charger->status_gpio 0,4096-ptr_max
BUF_SIZE 0 charger s32min-(-1),1-s32max
BUF_SIZE 0 charger s32min-(-1),1-s32max
CAPPED_DATA 0 &charger->lock 1
DATA_SOURCE 0 charger $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 charger unit_byte
LOCK2 0 &charger->lock
TYPE_LOCK (struct bq24735)->lock