Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/regulator/devres.c, line 800 (as a function)
- include/linux/regulator/consumer.h, line 702 (as a function)
Referenced in 4 files:
- drivers/pmdomain/mediatek/mtk-pm-domains.c, line 904
- drivers/regulator/devres.c, line 805
- drivers/usb/typec/hd3ss3220.c, line 402
- drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c, line 728
Smatch caller information:
drivers/usb/typec/hd3ss3220.c hd3ss3220_probe() -> devm_of_regulator_get_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver_data | 4096-ptr_max |
| PARAM_VALUE | 1 | node | 0,4096-ptr_max |
| PARAM_VALUE | 2 | id | 1106472705078755328 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | id | 5 |
| STR_LEN | 0 | dev | 4 |
| TERMINATED | 2 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/usb/typec/tcpm/qcom/qcom_pmic_typec_port.c qcom_pmic_typec_port_probe() -> devm_of_regulator_get_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->of_node | 1-u64max |
| PARAM_VALUE | 0 | dev->parent | 4096-ptr_max |
| PARAM_VALUE | 1 | node | 0,4096-ptr_max |
| PARAM_VALUE | 2 | id | 1106472705078755328 |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 2 | id | 5 |
| STR_LEN | 0 | dev | 4 |
| TERMINATED | 2 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pmdomain/mediatek/mtk-pm-domains.c scpsys_add_one_domain() -> devm_of_regulator_get_optional()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | node | 4096-ptr_max |
| PARAM_VALUE | 1 | node->properties | 4096-ptr_max |
| PARAM_VALUE | 2 | id | 8763646358941495296 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 2 | id | 7 |
| DATA_SOURCE | 1 | node | $1 |
| STR_LEN | 0 | dev | 6 |
| TERMINATED | 2 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |