Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/power/supply/bq25890_charger.c __bq25890_handle_irq() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->force_hiz 1
PARAM_VALUE 0 bq->lock.dep_map->name 0-255
PARAM_VALUE 0 bq->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bq->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bq->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 bq->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 bq->lock.wait_lock.owner (-1)
PARAM_VALUE 0 bq->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 bq->state.online 0
PARAM_VALUE 1 field_id 0
PARAM_VALUE 2 val 1
BUF_SIZE 0 bq s32min-(-1),1-s32max
BUF_SIZE 0 bq s32min-(-1),1-s32max
DATA_SOURCE 0 bq $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bq->force_hiz 1
USER_DATA 2 val 1
UNITS 0 bq unit_byte
LOCK2 0 &bq->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct bq25890_device)->lock

drivers/power/supply/bq25890_charger.c __bq25890_handle_irq() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->lock.dep_map->name 0-255
PARAM_VALUE 0 bq->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bq->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bq->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 bq->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 bq->lock.wait_lock.owner (-1)
PARAM_VALUE 0 bq->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 field_id 7
BUF_SIZE 0 bq s32min-(-1),1-s32max
BUF_SIZE 0 bq s32min-(-1),1-s32max
DATA_SOURCE 0 bq $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 bq->force_hiz 0-1
UNITS 0 bq unit_byte
LOCK2 0 &bq->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct bq25890_device)->lock

drivers/power/supply/bq25890_charger.c bq25890_charger_external_power_changed() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->chip_version 1
PARAM_VALUE 1 field_id 2
PARAM_VALUE 2 val 0-254
BUF_SIZE 0 bq s32min-(-2),1-s32max
BUF_SIZE 0 bq s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 bq unit_byte
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &s->lock
HALF_LOCKED2 global &device_links_lock
HALF_LOCKED2 global &regulator_list_mutex

drivers/power/supply/bq25890_charger.c bq25890_chip_reset() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 1 field_id 70
PARAM_VALUE 2 val 1
BUF_SIZE 0 bq s32min-(-2),1-s32max
BUF_SIZE 0 bq s32min-(-2),1-s32max
BUF_SIZE 0 bq->dev (-1),1616
DATA_SOURCE 0 bq $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bq->client->irq
UNITS 0 bq unit_byte
HALF_LOCKED2 &dev->mutex

drivers/power/supply/bq25890_charger.c bq25890_hw_init() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->chip_version 0-3
PARAM_VALUE 0 bq->client 4096-ptr_max
PARAM_VALUE 0 bq->client->adapter 4096-ptr_max
PARAM_VALUE 0 bq->client->debugfs 4096-u64max
PARAM_VALUE 0 bq->client->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bq->client->devres_group_id 4096-ptr_max
PARAM_VALUE 0 bq->dev 4096-ptr_max
PARAM_VALUE 0 bq->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bq->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 bq->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 bq->id (-1)
PARAM_VALUE 0 bq->iinlim_percentage 0-100
PARAM_VALUE 0 bq->init_data.boostf 0-1
PARAM_VALUE 0 bq->init_data.ilim_en 0-1
PARAM_VALUE 0 bq->init_data.rbatcomp 0
PARAM_VALUE 0 bq->init_data.treg 0,3
PARAM_VALUE 0 bq->init_data.vclamp 0
PARAM_VALUE 0 bq->lock.dep_map->name 0-255
PARAM_VALUE 0 bq->lock.first_waiter 0
PARAM_VALUE 0 bq->lock.magic 4096-ptr_max
PARAM_VALUE 0 bq->lock.osq.tail.counter 0
PARAM_VALUE 0 bq->lock.owner.counter 0
PARAM_VALUE 0 bq->rmap 0-ptr_max
PARAM_VALUE 0 bq->rmap_fields 0
PARAM_VALUE 0 bq->secondary_chrg 4096-ptr_max
PARAM_VALUE 1 field_id 17
PARAM_VALUE 2 val 1
BUF_SIZE 0 bq 1256
BUF_SIZE 0 bq->dev 1616
CAPPED_DATA 0 bq->client->irq 1
DATA_SOURCE 0 bq $0
FUZZY_MAX 0 bq->init_data.boostf 0
FUZZY_MAX 0 bq->init_data.ilim_en 0
FUZZY_MAX 0 bq->init_data.treg 0
MEM_ZERO 0 bq
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bq->client->irq

drivers/power/supply/bq25890_charger.c bq25890_hw_init() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->chip_version 0-3
PARAM_VALUE 0 bq->client 4096-ptr_max
PARAM_VALUE 0 bq->client->adapter 4096-ptr_max
PARAM_VALUE 0 bq->client->debugfs 4096-u64max
PARAM_VALUE 0 bq->client->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bq->client->devres_group_id 4096-ptr_max
PARAM_VALUE 0 bq->dev 4096-ptr_max
PARAM_VALUE 0 bq->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bq->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 bq->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 bq->id (-1)
PARAM_VALUE 0 bq->iinlim_percentage 0-100
PARAM_VALUE 0 bq->init_data.boostf 0-1
PARAM_VALUE 0 bq->init_data.ilim_en 0-1
PARAM_VALUE 0 bq->init_data.rbatcomp 0
PARAM_VALUE 0 bq->init_data.treg 0,3
PARAM_VALUE 0 bq->init_data.vclamp 0
PARAM_VALUE 0 bq->lock.dep_map->name 0-255
PARAM_VALUE 0 bq->lock.first_waiter 0
PARAM_VALUE 0 bq->lock.magic 4096-ptr_max
PARAM_VALUE 0 bq->lock.osq.tail.counter 0
PARAM_VALUE 0 bq->lock.owner.counter 0
PARAM_VALUE 0 bq->rmap 0-ptr_max
PARAM_VALUE 0 bq->rmap_fields 0
PARAM_VALUE 0 bq->secondary_chrg 4096-ptr_max
PARAM_VALUE 0 bq->skip_reset 0
PARAM_VALUE 1 field_id 29
PARAM_VALUE 2 val 0
BUF_SIZE 0 bq 1256
BUF_SIZE 0 bq->dev 1616
CAPPED_DATA 0 bq->client->irq 1
DATA_SOURCE 0 bq $0
FUZZY_MAX 0 bq->init_data.boostf 0
FUZZY_MAX 0 bq->init_data.ilim_en 0
FUZZY_MAX 0 bq->init_data.treg 0
MEM_ZERO 0 bq
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bq->client->irq

drivers/power/supply/bq25890_charger.c bq25890_hw_init() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->chip_version 0-3
PARAM_VALUE 0 bq->client 4096-ptr_max
PARAM_VALUE 0 bq->client->adapter 4096-ptr_max
PARAM_VALUE 0 bq->client->debugfs 4096-u64max
PARAM_VALUE 0 bq->client->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bq->client->devres_group_id 4096-ptr_max
PARAM_VALUE 0 bq->dev 4096-ptr_max
PARAM_VALUE 0 bq->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bq->dev->devres_head.prev->next 4096-ptr_max
PARAM_VALUE 0 bq->dev->devres_head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 bq->id (-1)
PARAM_VALUE 0 bq->iinlim_percentage 0-100
PARAM_VALUE 0 bq->init_data.boostf 0-1
PARAM_VALUE 0 bq->init_data.ilim_en 0-1
PARAM_VALUE 0 bq->init_data.rbatcomp 0
PARAM_VALUE 0 bq->init_data.treg 0,3
PARAM_VALUE 0 bq->init_data.vclamp 0
PARAM_VALUE 0 bq->lock.dep_map->name 0-255
PARAM_VALUE 0 bq->lock.first_waiter 0
PARAM_VALUE 0 bq->lock.magic 4096-ptr_max
PARAM_VALUE 0 bq->lock.osq.tail.counter 0
PARAM_VALUE 0 bq->lock.owner.counter 0
PARAM_VALUE 0 bq->rmap 0-ptr_max
PARAM_VALUE 0 bq->rmap_fields 0
PARAM_VALUE 0 bq->secondary_chrg 4096-ptr_max
PARAM_VALUE 0 bq->skip_reset 0
PARAM_VALUE 0 bq->state.hiz 0
PARAM_VALUE 0 bq->state.online 0
PARAM_VALUE 1 field_id 7
PARAM_VALUE 2 val 0-1
BUF_SIZE 0 bq 1256
BUF_SIZE 0 bq->dev 1616
CAPPED_DATA 0 bq->client->irq 1
DATA_SOURCE 0 bq $0
FUZZY_MAX 0 bq->init_data.boostf 0
FUZZY_MAX 0 bq->init_data.ilim_en 0
FUZZY_MAX 0 bq->init_data.treg 0
FUZZY_MAX 2 val 1
HARD_MAX 2 val 1
MEM_ZERO 0 bq
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bq->client->irq

drivers/power/supply/bq25890_charger.c bq25890_power_supply_set_property() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 1 field_id 21
PARAM_VALUE 2 val 0-254
BUF_SIZE 0 bq s32min-(-2),1-s32max
BUF_SIZE 0 bq s32min-(-2),1-s32max
DATA_SOURCE 2 val r bq25890_find_idx
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bq unit_byte
HALF_LOCKED2 _T->lock

drivers/power/supply/bq25890_charger.c bq25890_power_supply_set_property() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 1 field_id 24
PARAM_VALUE 2 val 0-254
BUF_SIZE 0 bq s32min-(-2),1-s32max
BUF_SIZE 0 bq s32min-(-2),1-s32max
DATA_SOURCE 2 val r bq25890_find_idx
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bq unit_byte
HALF_LOCKED2 _T->lock

drivers/power/supply/bq25890_charger.c bq25890_power_supply_set_property() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 1 field_id 2
PARAM_VALUE 2 val 0-254
BUF_SIZE 0 bq s32min-(-2),1-s32max
BUF_SIZE 0 bq s32min-(-2),1-s32max
DATA_SOURCE 2 val r bq25890_find_idx
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bq unit_byte
HALF_LOCKED2 _T->lock

drivers/power/supply/bq25890_charger.c bq25890_power_supply_set_property() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 1 field_id 0
PARAM_VALUE 2 val 0-1
BUF_SIZE 0 bq s32min-(-2),1-s32max
BUF_SIZE 0 bq s32min-(-2),1-s32max
FUZZY_MAX 2 val 1
HARD_MAX 2 val 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 2 val 0-1
UNITS 0 bq unit_byte
HALF_LOCKED2 _T->lock

drivers/power/supply/bq25890_charger.c bq25890_pump_express_work() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->secondary_chrg 0,4096-ptr_max
PARAM_VALUE 1 field_id 20
PARAM_VALUE 2 val 1
HALF_LOCKED2 &pool->lock

drivers/power/supply/bq25890_charger.c bq25890_pump_express_work() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->secondary_chrg 0,4096-ptr_max
PARAM_VALUE 1 field_id 42
PARAM_VALUE 2 val 1
HALF_LOCKED2 &pool->lock

drivers/power/supply/bq25890_charger.c bq25890_pump_express_work() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->secondary_chrg 0,4096-ptr_max
PARAM_VALUE 1 field_id 20
PARAM_VALUE 2 val 0
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/power/supply/bq25890_charger.c bq25890_pump_express_work() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->secondary_chrg 0,4096-ptr_max
PARAM_VALUE 1 field_id 20
PARAM_VALUE 2 val 0
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

drivers/power/supply/bq25890_charger.c bq25890_resume() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->lock.dep_map->name 0-255
PARAM_VALUE 0 bq->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bq->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bq->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 bq->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 bq->lock.wait_lock.owner (-1)
PARAM_VALUE 0 bq->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 bq->state.online 1-255
PARAM_VALUE 1 field_id 7
PARAM_VALUE 2 val 1
BUF_SIZE 0 bq s32min-(-2),1-s32max
BUF_SIZE 0 bq s32min-(-2),1-s32max
CAPPED_DATA 0 &bq->lock 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bq unit_byte
LOCK2 0 &bq->lock
TYPE_LOCK (struct bq25890_device)->lock

drivers/power/supply/bq25890_charger.c bq25890_rw_init_data() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->chip_version 0-3
PARAM_VALUE 0 bq->client 4096-ptr_max
PARAM_VALUE 0 bq->client->adapter 4096-ptr_max
PARAM_VALUE 0 bq->client->debugfs 4096-u64max
PARAM_VALUE 0 bq->client->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bq->client->devres_group_id 4096-ptr_max
PARAM_VALUE 0 bq->dev 4096-ptr_max
PARAM_VALUE 0 bq->dev->devres_head.prev 4096-ptr_max
PARAM_VALUE 0 bq->id (-1)
PARAM_VALUE 0 bq->iinlim_percentage 0-100
PARAM_VALUE 0 bq->init_data.boostf 0-1
PARAM_VALUE 0 bq->init_data.ilim_en 0-1
PARAM_VALUE 0 bq->init_data.rbatcomp 0
PARAM_VALUE 0 bq->init_data.treg 0,3
PARAM_VALUE 0 bq->init_data.vclamp 0
PARAM_VALUE 0 bq->lock.dep_map->name 0-255
PARAM_VALUE 0 bq->lock.first_waiter 0
PARAM_VALUE 0 bq->lock.magic 4096-ptr_max
PARAM_VALUE 0 bq->lock.osq.tail.counter 0
PARAM_VALUE 0 bq->lock.owner.counter 0
PARAM_VALUE 0 bq->read_back_init_data 0
PARAM_VALUE 0 bq->rmap 0-ptr_max
PARAM_VALUE 0 bq->rmap_fields 0
PARAM_VALUE 0 bq->secondary_chrg 0
PARAM_VALUE 0 bq->skip_reset 0
BUF_SIZE 0 bq 1256
BUF_SIZE 0 bq->dev 1616
DATA_SOURCE 0 bq $0
FUZZY_MAX 0 bq->init_data.boostf 0
FUZZY_MAX 0 bq->init_data.ilim_en 0
FUZZY_MAX 0 bq->init_data.treg 0
MEM_ZERO 0 bq
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bq->client->irq

drivers/power/supply/bq25890_charger.c bq25890_set_otg_cfg() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 1 field_id 16
PARAM_VALUE 2 val 0-1
BUF_SIZE 0 bq s32min-(-1),1-s32max
BUF_SIZE 0 bq s32min-(-1),1-s32max
DATA_SOURCE 0 bq $0
DATA_SOURCE 2 val $1
HARD_MAX 2 val 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bq unit_byte
HALF_LOCKED2 &dev->mutex

drivers/power/supply/bq25890_charger.c bq25890_suspend() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 1 field_id 7
PARAM_VALUE 2 val 0
BUF_SIZE 0 bq s32min-(-2),1-s32max
BUF_SIZE 0 bq s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 bq unit_byte

drivers/power/supply/bq25890_charger.c bq25890_update_state() -> bq25890_field_write()

Type Parameter Key Value
PARAM_VALUE 0 bq 4096-ptr_max
PARAM_VALUE 0 bq->lock.dep_map->name 0-255
PARAM_VALUE 0 bq->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bq->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bq->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 bq->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 bq->lock.wait_lock.owner (-1)
PARAM_VALUE 0 bq->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 field_id 6
PARAM_VALUE 2 val 1
BUF_SIZE 0 bq s32min-(-2),1-s32max
BUF_SIZE 0 bq s32min-(-2),1-s32max
CAPPED_DATA 0 &bq->lock 1
DATA_SOURCE 0 bq $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 bq unit_byte
LOCK2 0 &bq->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct bq25890_device)->lock