Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/power/supply/cros_charge-control.c cros_chctl_probe() -> cros_chctl_configure_ec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->battery_hook.add_battery | 7577248727513055232 |
| PARAM_VALUE | 0 | priv->battery_hook.remove_battery | 737855822967799808 |
| PARAM_VALUE | 0 | priv->cmd_version | 1-3 |
| PARAM_VALUE | 0 | priv->current_behaviour | 0 |
| PARAM_VALUE | 0 | priv->current_end_threshold | 100 |
| PARAM_VALUE | 0 | priv->current_start_threshold | 0 |
| PARAM_VALUE | 0 | priv->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->dev->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | priv->lock.first_waiter | 0 |
| PARAM_VALUE | 0 | priv->lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | priv->lock.owner.counter | 0 |
| PARAM_VALUE | 0 | priv->psy_ext | 43794782666649600,1885962840407576576,8065180045357924352 |
| BUF_SIZE | 0 | priv | 240 |
| BUF_SIZE | 0 | priv->battery_hook.name | 1-s32max |
| BUF_SIZE | 0 | priv->dev | 1616 |
| BUF_SIZE | 0 | priv->psy_ext | 56 |
| DATA_SOURCE | 0 | priv | r devm_kzalloc |
| BIT_INFO | 0 | priv->psy_ext | 0x8000400000000,0x7fffdfbf6ffcf000 |
| MEM_ZERO | 0 | priv | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/power/supply/cros_charge-control.c cros_chctl_psy_ext_set_prop() -> cros_chctl_configure_ec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| DATA_SOURCE | 0 | priv | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | priv->current_behaviour | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | priv->current_behaviour | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &info->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/power/supply/cros_charge-control.c cros_chctl_psy_ext_set_threshold() -> cros_chctl_configure_ec()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | priv | 4096-ptr_max |
| PARAM_VALUE | 0 | priv->current_behaviour | 0 |
| PARAM_VALUE | 0 | priv->current_start_threshold | 0-100 |
| CAPPED_DATA | 0 | priv->current_start_threshold | 1 |
| DATA_SOURCE | 0 | priv | $0 |
| FUZZY_MAX | 0 | priv->current_start_threshold | 100 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | priv->current_end_threshold | 0-100 |
| USER_DATA | 0 | priv->current_start_threshold | 0-100[c] |
| NO_OVERFLOW_SIMPLE | 0 | priv->current_end_threshold | |
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &info->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |