Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_common_set_voltage() -> spmi_vreg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->set_points | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->set_points->range->n_voltages | 0,2,8,25,32,37,55,62-64,77,85,94,96,124-125,128,186,202,212,216 |
| PARAM_VALUE | 1 | addr | 64 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 0 | vreg | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | vreg | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | buf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vreg | unit_byte |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_ftsmps426_set_voltage() -> spmi_vreg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->set_points | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->set_points->count | 1-3 |
| PARAM_VALUE | 0 | vreg->set_points->n_voltages | 0-4294967295 |
| PARAM_VALUE | 1 | addr | 64 |
| PARAM_VALUE | 2 | buf | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 2 |
| BUF_SIZE | 0 | vreg | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | vreg | s32min-(-1),1-s32max |
| BUF_SIZE | 2 | buf | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vreg | unit_byte |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_init_registers() -> spmi_vreg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->ocp_max_retries | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | vreg->ocp_retry_delay_ms | s32min-(-1),1-s32max |
| PARAM_VALUE | 0 | vreg->regmap | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *vreg->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | addr | 64 |
| PARAM_VALUE | 2 | buf | 6411515829339418624 |
| PARAM_VALUE | 3 | len | 8 |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | buf | 8 |
| DATA_SOURCE | 0 | vreg | $0 |
| FUZZY_MAX | 0 | vreg->ocp_max_retries | 10 |
| FUZZY_MAX | 0 | vreg->ocp_retry_delay_ms | 30 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vreg | unit_byte |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_single_range_set_voltage() -> spmi_vreg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 65 |
| PARAM_VALUE | 2 | buf | 4398499936765845504 |
| PARAM_VALUE | 3 | len | 1 |
| BUF_SIZE | 0 | vreg | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | vreg | s32min-(-1),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vreg | unit_byte |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_vs_ocp() -> spmi_vreg_write()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 74 |
| PARAM_VALUE | 2 | buf | 3666997454965813248 |
| PARAM_VALUE | 2 | *buf | 1 |
| PARAM_VALUE | 3 | len | 1 |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| UNITS | 0 | vreg | unit_byte |