Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/surface_battery.c spwr_battery_recheck_status() -> spwr_battery_update_bst()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat | 4096-ptr_max |
| PARAM_VALUE | 0 | bat->sdev | 4096-ptr_max |
| PARAM_VALUE | 1 | cached | 0 |
| CAPPED_DATA | 0 | bat->sdev->uid.instance | 1 |
| DATA_SOURCE | 0 | bat | $0 |
| LOCK2 | &nh->srcu | ||
| LOCK2 | &pool->lock | ||
| TYPE_LOCK | (struct ssam_nf_head)->srcu |
drivers/power/supply/surface_battery.c spwr_battery_update_bst_workfn() -> spwr_battery_update_bst()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | bat | 4096-ptr_max |
| PARAM_VALUE | 1 | cached | 0 |
| HALF_LOCKED2 | &pool->lock |