Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/regulator/core.c, line 4958 (as a function)
- include/linux/regulator/consumer.h, line 539 (as a function)
Referenced in 3 files:
Smatch caller information:
drivers/regulator/core.c regulator_request_power_budget() -> regulator_request_power_budget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regulator | 1-u64max |
| DATA_SOURCE | 1 | pw_req | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pcdev->lock |
drivers/net/pse-pd/pse_core.c pse_pi_allocate_pw_budget_static_prio() -> regulator_request_power_budget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pw_req | 0-90000 |
| CAPPED_DATA | 1 | pw_req | 1 |
| DATA_SOURCE | 1 | pw_req | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pcdev->lock |
drivers/net/pse-pd/pse_core.c pse_pi_allocate_pw_budget_static_prio() -> regulator_request_power_budget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regulator | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev->mutex_owner | 0 |
| PARAM_VALUE | 0 | regulator->rdev->ref_cnt | s32min-s32max |
| PARAM_VALUE | 1 | pw_req | 0-90000 |
| CAPPED_DATA | 1 | pw_req | 1 |
| DATA_SOURCE | 1 | pw_req | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pcdev->lock |
drivers/net/pse-pd/pse_core.c pse_pi_update_pw_budget() -> regulator_request_power_budget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | pw_req | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &pcdev->lock | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct pse_controller_dev)->lock |
drivers/net/pse-pd/pd692x0.c pd692x0_req_managers_pw_budget() -> regulator_request_power_budget()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regulator | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev | 4096-ptr_max |
| PARAM_VALUE | 0 | regulator->rdev->constraints | 4096-ptr_max |
| PARAM_VALUE | 1 | pw_req | 1-6000000,2147483648-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |