Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/power/supply/adc-battery-helper.c, line 305
- drivers/power/supply/intel_dc_ti_battery.c, line 371
- drivers/power/supply/ug3105_battery.c, line 162
Smatch caller information:
drivers/power/supply/intel_dc_ti_battery.c dc_ti_battery_probe() -> adc_battery_helper_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | help | 4096-ptr_max |
| PARAM_VALUE | 1 | psy | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->desc->name | 1-u64max |
| PARAM_VALUE | 1 | psy->desc->num_properties | 1-u64max |
| PARAM_VALUE | 1 | psy->desc->properties | 1-u64max |
| PARAM_VALUE | 1 | psy->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 1 | psy->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 1 | psy->dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.kobj->name | 0-255 |
| PARAM_VALUE | 1 | psy->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 1 | psy->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 1 | psy->dev.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 1 | psy->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 1 | psy->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 1 | psy->dev.kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 1 | psy->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 1 | psy->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 1 | psy->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | psy->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | psy->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | psy->dev.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 1 | psy->dev.parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 1 | psy->dev.parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 1 | psy->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions.next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions_sem.count.counter | 0 |
| PARAM_VALUE | 1 | psy->extensions_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | psy->extensions_sem.first_waiter | 0 |
| PARAM_VALUE | 1 | psy->extensions_sem.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions_sem.owner.counter | 0 |
| PARAM_VALUE | 1 | psy->initialized | 1 |
| PARAM_VALUE | 1 | psy->trig->activate | 4620375215100928000 |
| PARAM_VALUE | 1 | psy->tzd->last_temperature | s32min-s32max |
| PARAM_VALUE | 1 | psy->tzd->mode | 0-4294967295 |
| PARAM_VALUE | 1 | psy->tzd->notify_event | 0-4294967295 |
| PARAM_VALUE | 1 | psy->tzd->passive | s32min-s32max |
| PARAM_VALUE | 1 | psy->tzd->prev_high_trip | s32min-s32max |
| PARAM_VALUE | 1 | psy->tzd->prev_low_trip | s32min-s32max |
| PARAM_VALUE | 1 | psy->tzd->state | 0-255 |
| PARAM_VALUE | 1 | psy->tzd->temperature | s32min-s32max |
| PARAM_VALUE | 2 | get_voltage_and_current_now | 1221956365537452032 |
| PARAM_VALUE | 3 | charge_finished_gpio | 0,4096-ptr_max |
| BUF_SIZE | 1 | psy | 2256 |
| BUF_SIZE | 3 | charge_finished_gpio | s32min-(-1),1-s32max |
| BUF_SIZE | 3 | charge_finished_gpio | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | psy->desc->num_properties | 1 |
| CAPPED_DATA | 3 | charge_finished_gpio | 1 |
| DATA_SOURCE | 1 | psy | r devm_power_supply_register |
| DATA_SOURCE | 3 | charge_finished_gpio | r devm_gpiod_get_optional |
| MEM_ZERO | 0 | help | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf | s64min-s64max |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.auxiliary | 0-4294967295 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.command | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.ctl | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.device | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.error | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.feature | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.flags | s64min-s64max |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_lbah | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_lbal | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_lbam | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_nsect | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.lbah | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.lbal | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.lbam | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.nsect | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.protocol | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.status | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | psy->battery_info->resist_table_size | |
| NO_OVERFLOW_SIMPLE | 1 | psy->desc->num_properties |
drivers/power/supply/ug3105_battery.c ug3105_probe() -> adc_battery_helper_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | help | 4096-ptr_max |
| PARAM_VALUE | 1 | psy | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->desc | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->desc->name | 1-u64max |
| PARAM_VALUE | 1 | psy->desc->num_properties | 1-u64max |
| PARAM_VALUE | 1 | psy->desc->properties | 1-u64max |
| PARAM_VALUE | 1 | psy->dev.devres_head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.devres_head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_mem->dyn_alloc.data.counter | 9007199250546704 |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_mem->dyn_alloc.entry.prev | 1473117533515866344 |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_mem->dyn_alloc.func | 1583282886040592384 |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_mem->pools.prev | 1473117533515866320 |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.dma_io_tlb_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.dma_pools.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.dma_pools.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.dma_pools.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.flags | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.fwnode->dev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.fwnode->dev->fwnode | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.fwnode->dev->p | 1-u64max |
| PARAM_VALUE | 1 | psy->dev.fwnode->dev->power.set_latency_tolerance | 5740181548905971712 |
| PARAM_VALUE | 1 | psy->dev.fwnode->suppliers.next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.kobj->name | 0-255 |
| PARAM_VALUE | 1 | psy->dev.kobj.release->timer->entry.pprev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.kobj.release.timer.is_hard | 0-1 |
| PARAM_VALUE | 1 | psy->dev.kobj.release.timer.is_lazy | 0-1 |
| PARAM_VALUE | 1 | psy->dev.kobj.release.timer.is_queued | 0-1 |
| PARAM_VALUE | 1 | psy->dev.kobj.release.timer.is_soft | 0-1 |
| PARAM_VALUE | 1 | psy->dev.kobj.release.work.entry.next->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.kobj.sd->active.counter | (-2147483647) |
| PARAM_VALUE | 1 | psy->dev.kobj.sd->attr.notify_next | 0,426918848001064960 |
| PARAM_VALUE | 1 | psy->dev.links.consumers.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.consumers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.consumers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.defer_sync.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.defer_sync.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.defer_sync.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.suppliers.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.suppliers.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.links.suppliers.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.p->klist_children.get | 2213798222526185472 |
| PARAM_VALUE | 1 | psy->dev.p->klist_children.put | 3126867300421632000 |
| PARAM_VALUE | 1 | psy->dev.p->knode_bus.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | psy->dev.p->knode_class.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | psy->dev.p->knode_parent.n_ref.refcount.refs.counter | 1 |
| PARAM_VALUE | 1 | psy->dev.parent->kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 1 | psy->dev.parent->kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 1 | psy->dev.parent->kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 1 | psy->dev.power.entry.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.power.entry.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.power.wait_queue.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.power.wait_queue.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->dev.power.wait_queue.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions.next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions.next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions_sem.count.counter | 0 |
| PARAM_VALUE | 1 | psy->extensions_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | psy->extensions_sem.first_waiter | 0 |
| PARAM_VALUE | 1 | psy->extensions_sem.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | psy->extensions_sem.owner.counter | 0 |
| PARAM_VALUE | 1 | psy->initialized | 1 |
| PARAM_VALUE | 1 | psy->trig->activate | 4620375215100928000 |
| PARAM_VALUE | 1 | psy->tzd->last_temperature | s32min-s32max |
| PARAM_VALUE | 1 | psy->tzd->mode | 0-4294967295 |
| PARAM_VALUE | 1 | psy->tzd->notify_event | 0-4294967295 |
| PARAM_VALUE | 1 | psy->tzd->passive | s32min-s32max |
| PARAM_VALUE | 1 | psy->tzd->prev_high_trip | s32min-s32max |
| PARAM_VALUE | 1 | psy->tzd->prev_low_trip | s32min-s32max |
| PARAM_VALUE | 1 | psy->tzd->state | 0-255 |
| PARAM_VALUE | 1 | psy->tzd->temperature | s32min-s32max |
| PARAM_VALUE | 2 | get_voltage_and_current_now | 8843880613205671936 |
| PARAM_VALUE | 3 | charge_finished_gpio | 0 |
| BUF_SIZE | 1 | psy | 2256 |
| CAPPED_DATA | 1 | psy->desc->num_properties | 1 |
| DATA_SOURCE | 1 | psy | r devm_power_supply_register |
| MEM_ZERO | 0 | help | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf | s64min-s64max |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.auxiliary | 0-4294967295 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.command | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.ctl | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.device | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.error | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.feature | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.flags | s64min-s64max |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_lbah | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_lbal | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_lbam | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.hob_nsect | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.lbah | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.lbal | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.lbam | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.nsect | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.protocol | 0-255 |
| HOST_DATA | 1 | psy->tzd->device.sata_dev.ap->link.ap->link.device->link->ap->result_tf.status | 0-255 |
| NO_OVERFLOW_SIMPLE | 1 | psy->battery_info->resist_table_size | |
| NO_OVERFLOW_SIMPLE | 1 | psy->desc->num_properties |