Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/nvmem/core.c, line 1923 (as a function)
- include/linux/nvmem-consumer.h, line 155 (as a function)
Referenced in 9 files:
- drivers/gpu/drm/msm/adreno/adreno_gpu.c, line 1192
- drivers/gpu/drm/panfrost/panfrost_devfreq.c, line 99
- drivers/nvmem/core.c, line 1943
- drivers/phy/mediatek/phy-mtk-pcie.c
- drivers/phy/mediatek/phy-mtk-tphy.c
- drivers/pmdomain/qcom/cpr.c
- drivers/thermal/qcom/tsens-v0_1.c, line 152
- drivers/thermal/qcom/tsens-v2.c
- drivers/thermal/qcom/tsens.c
Smatch caller information:
drivers/pmdomain/qcom/cpr.c cpr_calculate_scaling() -> nvmem_cell_read_variable_le_u32()
| 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 | cell_id | 1-u64max |
| PARAM_VALUE | 2 | val | 55316640215904256 |
| PARAM_VALUE | 2 | *val | 0 |
| DATA_SOURCE | 1 | cell_id | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| LOCK2 | global &gpd_list_lock | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/pmdomain/qcom/cpr.c cpr_fuse_corner_init() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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 | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pmdomain/qcom/cpr.c cpr_populate_ring_osc_idx() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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 | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 3234251119163990016 |
| BUF_SIZE | 0 | dev | 1616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pmdomain/qcom/cpr.c cpr_probe() -> nvmem_cell_read_variable_le_u32()
| 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->of_node->properties | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->power.entry.prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 5695761061906587648 |
| PARAM_VALUE | 2 | val | 8189030669746196480 |
| PARAM_VALUE | 2 | *val | u32max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | cell_id | 18 |
| STR_LEN | 0 | dev | 17 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/pmdomain/qcom/cpr.c cpr_read_fuse_uV() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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 | 4096-ptr_max |
| PARAM_VALUE | 2 | val | 2962484914857836544 |
| PARAM_VALUE | 2 | *val | 0 |
| BUF_SIZE | 0 | dev | 1616 |
| DATA_SOURCE | 1 | cell_id | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/panfrost/panfrost_devfreq.c panfrost_read_speedbin() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 456822240867487744 |
| PARAM_VALUE | 2 | val | 1679660119048142848 |
| BUF_SIZE | 1 | cell_id | 10 |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev | 9 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/phy/mediatek/phy-mtk-pcie.c mtk_pcie_efuse_read_for_lane() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 8461088446035656704 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | cell_id | 16 |
| STR_LEN | 0 | dev | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/mediatek/phy-mtk-pcie.c mtk_pcie_efuse_read_for_lane() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 8461088446035656704 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | cell_id | 16 |
| STR_LEN | 0 | dev | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/mediatek/phy-mtk-pcie.c mtk_pcie_efuse_read_for_lane() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 8461088446035656704 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | cell_id | 16 |
| STR_LEN | 0 | dev | 15 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/phy/mediatek/phy-mtk-pcie.c mtk_pcie_read_efuse() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 1338915290909163520 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | cell_id | 9 |
| STR_LEN | 0 | dev | 8 |
| TERMINATED | 1 | cell_id | 1 |
| MEM_ZERO | 2 | val | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/msm/adreno/adreno_gpu.c adreno_read_speedbin() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 8863987181170704384 |
| PARAM_VALUE | 2 | val | 2743355146653372416,3295061653391618048,5253429256883134464 |
| BUF_SIZE | 1 | cell_id | 10 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | val | $1 |
| STR_LEN | 0 | dev | 9 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &component_mutex |
drivers/thermal/qcom/tsens-v2.c tsens_v2_calibrate_sensor() -> nvmem_cell_read_variable_le_u32()
| 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->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 2822284107425099776 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | cell_id | 20 |
| DATA_SOURCE | 0 | dev | $0 |
| STR_LEN | 0 | dev | 19 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/thermal/qcom/tsens-v2.c tsens_v2_calibration() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | cell_id | 5987828078236520448 |
| PARAM_VALUE | 2 | val | 8196220276006309888 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | cell_id | 5 |
| STR_LEN | 0 | dev | 4 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/thermal/qcom/tsens-v2.c tsens_v2_calibration() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | cell_id | 2742382078183251968 |
| PARAM_VALUE | 2 | val | 7487008755499319296 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | cell_id | 6 |
| STR_LEN | 0 | dev | 5 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/thermal/qcom/tsens-v2.c tsens_v2_calibration() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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->p->deferred_probe_reason | 0-255 |
| PARAM_VALUE | 1 | cell_id | 3989276684655009792 |
| PARAM_VALUE | 2 | val | 3948248437883928576 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | cell_id | 6 |
| STR_LEN | 0 | dev | 5 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/thermal/qcom/tsens.c tsens_read_calibration() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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 | cell_id | 6795286562465673216 |
| PARAM_VALUE | 2 | val | 8639198705670840320 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | cell_id | 14 |
| STR_LEN | 0 | dev | 13 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/thermal/qcom/tsens.c tsens_read_calibration() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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 | cell_id | 6795286562465673216 |
| PARAM_VALUE | 2 | val | 2115010409207619584 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | cell_id | 14 |
| STR_LEN | 0 | dev | 13 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/thermal/qcom/tsens.c tsens_read_calibration() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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 | cell_id | 6795286562465673216 |
| PARAM_VALUE | 2 | val | 451535873383424000 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | cell_id | 14 |
| STR_LEN | 0 | dev | 13 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/thermal/qcom/tsens.c tsens_read_calibration() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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 | cell_id | 6795286562465673216 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | cell_id | 14 |
| STR_LEN | 0 | dev | 13 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/thermal/qcom/tsens.c tsens_read_calibration() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 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 | cell_id | 6795286562465673216 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | cell_id | 14 |
| STR_LEN | 0 | dev | 13 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/thermal/qcom/tsens-v0_1.c calibrate_8974_nvmem() -> nvmem_cell_read_variable_le_u32()
| 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->of_node | 0,4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 6768963654549934080 |
| PARAM_VALUE | 2 | val | 168226627460673536 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 0 | dev | (-1),1616 |
| BUF_SIZE | 1 | cell_id | 11 |
| STR_LEN | 0 | dev | 10 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dev | unit_byte |
drivers/phy/mediatek/phy-mtk-tphy.c phy_efuse_get() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 9099713293384957952 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | cell_id | 5 |
| STR_LEN | 0 | dev | 4 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &phy_provider_mutex |
drivers/phy/mediatek/phy-mtk-tphy.c phy_efuse_get() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 9099713293384957952 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | cell_id | 5 |
| STR_LEN | 0 | dev | 4 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &phy_provider_mutex |
drivers/phy/mediatek/phy-mtk-tphy.c phy_efuse_get() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 1270833315708514304 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | cell_id | 7 |
| STR_LEN | 0 | dev | 6 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &phy_provider_mutex |
drivers/phy/mediatek/phy-mtk-tphy.c phy_efuse_get() -> nvmem_cell_read_variable_le_u32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | cell_id | 6100957088214155264 |
| PARAM_VALUE | 2 | val | 4096-ptr_max |
| BUF_SIZE | 0 | dev | 1616 |
| BUF_SIZE | 1 | cell_id | 7 |
| STR_LEN | 0 | dev | 6 |
| TERMINATED | 1 | cell_id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &phy_provider_mutex |