Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/bq24190_charger.c bq24190_battery_get_status() -> bq24190_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdi | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | bdi->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | bdi->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bdi->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdi->f_reg_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdi->f_reg_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdi->f_reg_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | bdi->f_reg_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdi->f_reg_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | bdi->f_reg_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | bdi->f_reg_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | bdi->f_reg_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | bdi->f_reg_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bdi->f_reg_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | reg | 8 |
| PARAM_VALUE | 2 | data | 5761159628046888960 |
| BUF_SIZE | 0 | bdi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bdi | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &bdi->f_reg_lock | 1 |
| DATA_SOURCE | 0 | bdi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdi | unit_byte |
| LOCK2 | _T->lock |
drivers/power/supply/bq24190_charger.c bq24190_check_status() -> bq24190_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdi | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bdi->info | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 8 |
| PARAM_VALUE | 2 | data | 8762280339863883776 |
| PARAM_VALUE | 2 | *data | 0 |
| BUF_SIZE | 0 | bdi | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bdi | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | bdi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdi | unit_byte |
drivers/power/supply/bq24190_charger.c bq24190_check_status() -> bq24190_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdi | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->client | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | bdi->client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | bdi->client->adapter->dev.driver_data->adev->pm.mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdi->client->adapter->dev.driver_data->adev->pm.mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | bdi->client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bdi->info | 4096-ptr_max |
| PARAM_VALUE | 1 | reg | 9 |
| PARAM_VALUE | 2 | data | 4316598968544632832 |
| BUF_SIZE | 0 | bdi | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bdi | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | bdi | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | bdi | unit_byte |
drivers/power/supply/bq24190_charger.c bq24190_hw_init() -> bq24190_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdi | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->battery | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdi->charge_type | 3 |
| PARAM_VALUE | 0 | bdi->charger | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->client | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdi->client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | bdi->client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | bdi->client->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | bdi->client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->client->debugfs | 4096-u64max |
| PARAM_VALUE | 0 | bdi->client->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->client->devres_group_id | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->edev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->edev->attr_g_muex.name | 241638316478869504 |
| PARAM_VALUE | 0 | bdi->edev->dev.dma_io_tlb_mem->debugfs | 0-s64max |
| PARAM_VALUE | 0 | bdi->edev->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 0 | bdi->edev->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 0 | bdi->edev->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 0 | bdi->edev->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 0 | bdi->edev->dev.kobj->name | 0-255 |
| PARAM_VALUE | 0 | bdi->edev->dev.kobj.ktype->child_ns_type | 0,2344685749105987584,4089303432171261952,6274457576243130368,8186263191508828160 |
| PARAM_VALUE | 0 | bdi->edev->dev.kobj.ktype->get_ownership | 0,754295003445952512,1770093955000758272,2031763320308453376,9073032014207823872,9089295143347961856 |
| PARAM_VALUE | 0 | bdi->edev->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | bdi->edev->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | bdi->edev->dev.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | bdi->edev->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | bdi->edev->dev.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | bdi->edev->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 0 | bdi->edev->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 0 | bdi->edev->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | bdi->edev->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | bdi->edev->dev.parent->kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 0 | bdi->edev->dev.parent->kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 0 | bdi->edev->dev.parent->kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 0 | bdi->edev->dev.parent->kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 0 | bdi->edev->dev.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | bdi->edev->dev.parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | bdi->edev->dev.parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | bdi->edev->dev.type->release | 4521936485435965440 |
| PARAM_VALUE | 0 | bdi->edev->extcon_dev_type.release | 4521936485435965440 |
| PARAM_VALUE | 0 | bdi->edev->id | 0-s32max |
| PARAM_VALUE | 0 | bdi->edev->max_supported | 0-s32max |
| PARAM_VALUE | 0 | bdi->edev->state | 0 |
| PARAM_VALUE | 0 | bdi->edev->supported_cable | 1093391369575084032 |
| PARAM_VALUE | 0 | bdi->f_reg | 0 |
| PARAM_VALUE | 0 | bdi->f_reg_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdi->f_reg_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | bdi->f_reg_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->f_reg_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | bdi->f_reg_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | bdi->ichg | 512000-s32max |
| PARAM_VALUE | 0 | bdi->ichg_max | 512000-s32max |
| PARAM_VALUE | 0 | bdi->info | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->input_current_limit_work.timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | bdi->input_current_limit_work.timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdi->iprechg | 128-2048 |
| PARAM_VALUE | 0 | bdi->iterm | 128-2048 |
| PARAM_VALUE | 0 | bdi->model_name | 0 |
| PARAM_VALUE | 0 | bdi->ss_reg | 192 |
| PARAM_VALUE | 0 | bdi->sys_min | 3000-3700 |
| PARAM_VALUE | 0 | bdi->vreg | 3504000-s32max |
| PARAM_VALUE | 0 | bdi->vreg_max | 3504000-s32max |
| PARAM_VALUE | 0 | *bdi->edev->attr_g_muex.name | 0-255 |
| PARAM_VALUE | 0 | *bdi->edev->extcon_dev_type.name | 0-255 |
| PARAM_VALUE | 0 | *bdi->edev->name | 0-255 |
| PARAM_VALUE | 1 | reg | 8 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 2 | *data | 192 |
| BUF_SIZE | 0 | bdi | 448 |
| BUF_SIZE | 0 | bdi->battery | 0,2248 |
| BUF_SIZE | 0 | bdi->charger | 2248 |
| BUF_SIZE | 0 | bdi->dev | 1616 |
| BUF_SIZE | 0 | bdi->edev | 1888 |
| CAPPED_DATA | 0 | bdi->charger->desc->num_properties | 1 |
| CAPPED_DATA | 0 | bdi->client->irq | 1 |
| DATA_SOURCE | 0 | bdi | $0 |
| MEM_ZERO | 0 | bdi | |
| MEM_ZERO | 0 | &bdi->input_current_limit_work | |
| MEM_ZERO | 2 | data | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bdi->client->irq | |
| NO_OVERFLOW_SIMPLE | 0 | bdi->edev->max_supported |
drivers/power/supply/bq24190_charger.c bq24190_pm_resume() -> bq24190_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdi | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->client | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->client->adapter | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->client->adapter->bus_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | bdi->client->adapter->bus_lock.rtmutex.waiters.rb_leftmost->rb_right | 0 |
| PARAM_VALUE | 0 | bdi->client->adapter->dev.driver_data->adev->pm.bus_locked | 0-1 |
| PARAM_VALUE | 0 | bdi->client->adapter->dev.driver_data->mutex->wait_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | bdi->client->adapter->lock_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | bdi->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | bdi->dev->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | bdi->dev->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | bdi->f_reg | 0 |
| PARAM_VALUE | 0 | bdi->ss_reg | 192 |
| PARAM_VALUE | 1 | reg | 8 |
| PARAM_VALUE | 2 | data | 4096-ptr_max |
| PARAM_VALUE | 2 | *data | 192 |
| BUF_SIZE | 0 | bdi | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | bdi | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | bdi | unit_byte |
drivers/power/supply/bq24190_charger.c bq24190_read_mask() -> bq24190_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdi | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | data | 3133981424064040960 |
| BUF_SIZE | 0 | bdi | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bdi | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bdi->dev | (-1),1616 |
| BUF_SIZE | 0 | bdi->edev | (-1),1888 |
| DATA_SOURCE | 0 | bdi | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | bdi->client->irq | |
| NO_OVERFLOW_SIMPLE | 0 | bdi->edev->max_supported | |
| UNITS | 0 | bdi | unit_byte |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/power/supply/bq24190_charger.c bq24190_write_mask() -> bq24190_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bdi | 4096-ptr_max |
| PARAM_VALUE | 0 | bdi->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | data | 4724451945759498240 |
| BUF_SIZE | 0 | bdi | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bdi | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | bdi->battery | (-1),2248 |
| BUF_SIZE | 0 | bdi->charger | (-1),2248 |
| BUF_SIZE | 0 | bdi->dev | (-1),1616 |
| BUF_SIZE | 0 | bdi->edev | (-1),1888 |
| DATA_SOURCE | 0 | bdi | $0 |
| DATA_SOURCE | 1 | reg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | bdi->charge_type | 1-3 |
| NO_OVERFLOW_SIMPLE | 0 | bdi->client->irq | |
| NO_OVERFLOW_SIMPLE | 0 | bdi->edev->max_supported | |
| UNITS | 0 | bdi | unit_byte |
| HALF_LOCKED2 | &of->mutex |