Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- drivers/nvmem/core.c, line 1396 (as a function)
- include/linux/nvmem-consumer.h, line 252 (as a function)
Referenced in 10 files:
- drivers/cpufreq/qcom-cpufreq-nvmem.c, line 513
- drivers/cpufreq/sun50i-cpufreq-nvmem.c, line 217
- drivers/net/ethernet/sunplus/spl2sw_driver.c, line 229
- drivers/net/phy/dp83867.c, line 537
- drivers/net/wireless/mediatek/mt76/eeprom.c, line 130
- drivers/nvmem/core.c
- drivers/thermal/mediatek/lvts_thermal.c, line 888
- drivers/thermal/rockchip_thermal.c, line 1479
- drivers/thermal/sprd_thermal.c, line 128
- net/core/of_net.c, line 78
Smatch caller information:
drivers/cpufreq/qcom-cpufreq-nvmem.c qcom_cpufreq_probe() -> of_nvmem_cell_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 0 |
| DATA_SOURCE | 0 | np | r dev_pm_opp_of_get_opp_desc_node |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/core/of_net.c of_get_mac_address_nvmem() -> of_nvmem_cell_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 0,4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.ops->get | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id | 7824509829955829760 |
| BUF_SIZE | 1 | id | 12 |
| DATA_SOURCE | 0 | np | $0 |
| STR_LEN | 0 | np | 11 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | np | unit_byte |
drivers/thermal/sprd_thermal.c sprd_thm_cal_read() -> of_nvmem_cell_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 1-u64max |
| PARAM_VALUE | 1 | id | 3922527050460889088,4198763858004942848,9076714099635765248 |
| BUF_SIZE | 1 | id | 13-14 |
| BUF_SIZE | 1 | id | 13-14 |
| DATA_SOURCE | 0 | np | $0 |
| DATA_SOURCE | 1 | id | $1 |
| STR_LEN | 0 | np | 12-13 |
| STR_LEN | 0 | np | 12-13 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | np | unit_byte |
drivers/thermal/rockchip_thermal.c rockchip_get_efuse_value() -> of_nvmem_cell_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np->fwnode.ops->get | 0,4096-ptr_max |
| PARAM_VALUE | 1 | id | 8062034440492847104,8340812127119007744,9116035171093794816 |
| BUF_SIZE | 1 | id | 5,10,15 |
| BUF_SIZE | 1 | id | 5,10,15 |
| DATA_SOURCE | 0 | np | $0 |
| DATA_SOURCE | 1 | id | $1 |
| STR_LEN | 0 | np | 4,9,14 |
| STR_LEN | 0 | np | 4,9,14 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | np | unit_byte |
drivers/nvmem/core.c nvmem_cell_get() -> of_nvmem_cell_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 1-u64max |
| BUF_SIZE | 1 | id | (-1),5-21,26 |
| BUF_SIZE | 1 | id | (-1),5-21,26 |
| DATA_SOURCE | 1 | id | $1 |
| STR_LEN | 0 | np | (-1),8,15,17 |
| STR_LEN | 1 | id | (-1),8,15,17 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | np | unit_byte |
| HALF_LOCKED2 | &phy->mutex |
drivers/net/wireless/mediatek/mt76/eeprom.c mt76_get_of_data_from_nvmem() -> of_nvmem_cell_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 1996500774859964416,3192378980272721920 |
| BUF_SIZE | 1 | id | 7 |
| BUF_SIZE | 1 | id | 7 |
| DATA_SOURCE | 1 | id | $2 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | np | unit_byte |
drivers/net/phy/dp83867.c dp83867_of_init_io_impedance() -> of_nvmem_cell_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | id | 6708092571121680384 |
| BUF_SIZE | 1 | id | 18 |
| STR_LEN | 0 | np | 17 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | np | unit_byte |
drivers/net/ethernet/sunplus/spl2sw_driver.c spl2sw_nvmem_get_mac_address() -> of_nvmem_cell_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->fwnode.ops->get | 0,4096-ptr_max |
| PARAM_VALUE | 0 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 7824509829955829760 |
| BUF_SIZE | 1 | id | 12 |
| DATA_SOURCE | 0 | np | $1 |
| STR_LEN | 0 | np | 11 |
| TERMINATED | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/mediatek/lvts_thermal.c lvts_calibration_read() -> of_nvmem_cell_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | np | 4096-ptr_max |
| PARAM_VALUE | 0 | np->properties | 4096-ptr_max |
| PARAM_VALUE | 1 | id | 1-18446744073709547519 |
| BUF_SIZE | 1 | id | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | id | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | id | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | np | unit_byte |