Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_common_get_bypass() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 69 |
| PARAM_VALUE | 2 | buf | 1037510299413041152 |
| 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 |
| HALF_LOCKED2 | &of->mutex |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_common_get_mode() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 69 |
| PARAM_VALUE | 2 | buf | 1618495421358751744 |
| PARAM_VALUE | 3 | len | 1 |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vreg | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_common_get_voltage() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 65 |
| PARAM_VALUE | 2 | buf | 2776494021930864640 |
| 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 | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vreg | unit_byte |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_find_range() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->set_points | 4096-ptr_max |
| PARAM_VALUE | 1 | addr | 64 |
| PARAM_VALUE | 2 | buf | 391950988859260928 |
| PARAM_VALUE | 3 | len | 1 |
| BUF_SIZE | 0 | vreg | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | vreg | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | vreg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vreg | unit_byte |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_ftsmps426_get_mode() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 69 |
| PARAM_VALUE | 2 | buf | 1623101270821552128 |
| PARAM_VALUE | 3 | len | 1 |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vreg | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_ftsmps426_get_voltage() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 64 |
| PARAM_VALUE | 2 | buf | 8023728698703564800 |
| 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 | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vreg | unit_byte |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_hfsmps_get_mode() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 69 |
| PARAM_VALUE | 2 | buf | 8483621135776706560 |
| PARAM_VALUE | 3 | len | 1 |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vreg | unit_byte |
| HALF_LOCKED2 | &of->mutex |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_init_registers() -> spmi_vreg_read()
| 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 | 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_init_slew_rate() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->logical_type | 0,4,7-8 |
| 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->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vreg->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *vreg->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | addr | 97 |
| PARAM_VALUE | 2 | buf | 3208474203875229696 |
| PARAM_VALUE | 2 | *buf | 0 |
| PARAM_VALUE | 3 | len | 1 |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| 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_init_slew_rate_ftsmps426() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->logical_type | 10-11 |
| 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->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vreg->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | vreg->set_points->range | 4096-ptr_max |
| PARAM_VALUE | 0 | *vreg->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | addr | 97 |
| PARAM_VALUE | 2 | buf | 4893110856058957824 |
| PARAM_VALUE | 2 | *buf | 0 |
| PARAM_VALUE | 3 | len | 1 |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | vreg | $0 |
| FUZZY_MAX | 0 | vreg->ocp_max_retries | 10 |
| FUZZY_MAX | 0 | vreg->ocp_retry_delay_ms | 30 |
| HARD_MAX | 0 | vreg->logical_type | 11 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | vreg | unit_byte |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_init_slew_rate_hfsmps() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->logical_type | 12,14 |
| 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->async_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | vreg->regmap->cache_dirty | 0-1 |
| PARAM_VALUE | 0 | *vreg->regmap->work_buf | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 1 | addr | 60 |
| PARAM_VALUE | 2 | buf | 5250796826240454656 |
| PARAM_VALUE | 2 | *buf | 0 |
| PARAM_VALUE | 3 | len | 1 |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | vreg | s32min-(-2),1-s32max |
| 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_match() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vreg | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->desc.enable_mask | 128 |
| PARAM_VALUE | 0 | vreg->desc.enable_reg | 70-65605 |
| PARAM_VALUE | 0 | vreg->desc.enable_val | 128 |
| PARAM_VALUE | 0 | vreg->desc.id | (-1) |
| PARAM_VALUE | 0 | vreg->desc.name | 1-u64max |
| PARAM_VALUE | 0 | vreg->desc.of_map_mode | 5354818402342187008 |
| PARAM_VALUE | 0 | vreg->desc.of_match | 1-u64max |
| PARAM_VALUE | 0 | vreg->desc.of_parse_cb | 1100238748715261952 |
| PARAM_VALUE | 0 | vreg->desc.ops | 0 |
| PARAM_VALUE | 0 | vreg->desc.owner | 0 |
| PARAM_VALUE | 0 | vreg->desc.type | 0 |
| PARAM_VALUE | 0 | vreg->desc.uV_step | 0 |
| PARAM_VALUE | 0 | vreg->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vreg->hpm_min_load | 0 |
| PARAM_VALUE | 0 | vreg->logical_type | 0 |
| PARAM_VALUE | 0 | vreg->node.next | 0 |
| PARAM_VALUE | 0 | vreg->node.prev | 0 |
| PARAM_VALUE | 0 | vreg->ocp_irq | 0-s32max |
| PARAM_VALUE | 0 | vreg->regmap | 1-u64max |
| PARAM_VALUE | 0 | vreg->set_points | 0 |
| PARAM_VALUE | 0 | vreg->set_points->count | 1-3 |
| PARAM_VALUE | 1 | addr | 1 |
| PARAM_VALUE | 2 | buf | 5690397825680855040 |
| PARAM_VALUE | 3 | len | 5 |
| BUF_SIZE | 0 | vreg | 592 |
| BUF_SIZE | 0 | vreg->dev | 1616 |
| BUF_SIZE | 2 | buf | 5 |
| DATA_SOURCE | 0 | vreg | $0 |
| FUZZY_MAX | 0 | vreg->ocp_irq | 0 |
| MEM_ZERO | 0 | vreg | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | vreg->ocp_irq | |
| UNITS | 3 | len | unit_byte |
drivers/regulator/qcom_spmi-regulator.c spmi_regulator_single_range_get_voltage() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 65 |
| PARAM_VALUE | 2 | buf | 6701198396414808064 |
| 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_ult_lo_smps_get_voltage() -> spmi_vreg_read()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr | 65 |
| PARAM_VALUE | 2 | buf | 8217730766666862592 |
| 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 | |||
| NOCHECK_CALL | |||
| UNITS | 0 | vreg | unit_byte |