Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 36 files:

Smatch caller information:

drivers/ufs/host/ufs-renesas.c ufs_renesas_init() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
NOCHECK_CALL

drivers/cpufreq/qcom-cpufreq-nvmem.c qcom_cpufreq_probe() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->id 0
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r of_nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/cpufreq/qcom-cpufreq-nvmem.c qcom_cpufreq_probe() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->id 0
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r of_nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/iio/adc/meson_saradc.c meson_sar_adc_temp_sensor_init() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/power/supply/sc27xx_fuel_gauge.c sc27xx_fgu_calibration() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/extcon/extcon-rtk-type-c.c __updated_type_c_parameter_by_efuse() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/extcon/extcon-rtk-type-c.c __updated_type_c_parameter_by_efuse_v2() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/ni/nixge.c nixge_get_nvmem_address() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/phy/mediatek/phy-mtk-mipi-dsi.c mtk_mipi_tx_get_calibration_datal() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/ethernet/eth.c nvmem_get_mac_address() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

net/core/of_net.c of_get_mac_address_nvmem() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
PARAM_VALUE 0 cell->id 0
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r of_nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/thermal/sprd_thermal.c sprd_thm_cal_read() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
PARAM_VALUE 0 cell->id 0
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r of_nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/thermal/sun8i_thermal.c sun8i_ths_calibrate() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/thermal/imx8mm_thermal.c imx8mm_tmu_probe_set_calib_v2() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/msm/adreno/a5xx_gpu.c check_speed_bin() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &component_mutex

drivers/thermal/rockchip_thermal.c rockchip_get_efuse_value() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
PARAM_VALUE 0 cell->id 0
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r of_nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/phy/sunplus/phy-sunplus-usb2.c update_disc_vol() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell (-1),24
BUF_SIZE 0 cell (-1),24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &phy->mutex
HALF_LOCKED2 &encoder->bridge_chain_mutex
HALF_LOCKED2 &p->mutex
HALF_LOCKED2 &udc->connect_lock
HALF_LOCKED2 &uphy->mutex
TYPE_LOCK (struct phy)->mutex

drivers/bluetooth/hci_ll.c hci_ti_probe() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/phy/mediatek/mtk-ge-soc.c mt798x_phy_calibration() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/iio/adc/sc27xx_adc.c adc_nvmem_cell_calib_data() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/iio/adc/sc27xx_adc.c adc_nvmem_cell_calib_data() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/ralink/rt2x00/rt2800lib.c rt2800_read_eeprom_nvmem() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/watchdog/rave-sp-wdt.c rave_sp_wdt_probe() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/nvmem/core.c devm_nvmem_cell_release() -> nvmem_cell_put()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex

drivers/nvmem/core.c nvmem_cell_read_common() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry 4096-ptr_max
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/nvmem/core.c nvmem_cell_read_common() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry 4096-ptr_max
PARAM_VALUE 0 cell->entry->nvmem 4096-ptr_max
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/nvmem/core.c nvmem_cell_read_common() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry 4096-ptr_max
PARAM_VALUE 0 cell->entry->nvmem 4096-ptr_max
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/nvmem/core.c nvmem_cell_read_variable_common() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry 4096-ptr_max
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/iio/adc/at91-sama5d2_adc.c at91_adc_temp_sensor_init() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/phy/rockchip/phy-rockchip-inno-hdmi.c inno_hdmi_phy_rk3328_init() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/thermal/qcom/tsens.c qfprom_read() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/mediatek/mt76/eeprom.c mt76_get_of_data_from_nvmem() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
PARAM_VALUE 0 cell->id 0
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r of_nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/gpu/drm/mediatek/mtk_dp.c mtk_dp_get_calibration_data() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/phy/dp83867.c dp83867_of_init_io_impedance() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
PARAM_VALUE 0 cell->id 0
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r of_nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/phy/aquantia/aquantia_firmware.c aqr_firmware_load_nvmem() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/thermal/mediatek/auxadc_thermal.c mtk_thermal_get_calibration_data() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/soc/mediatek/mtk-svs.c svs_get_efuse_data() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/soc/mediatek/mtk-svs.c svs_get_efuse_data() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/phy/realtek/phy-rtk-usb3.c get_phy_data_by_efuse() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/sunplus/spl2sw_driver.c spl2sw_nvmem_get_mac_address() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
PARAM_VALUE 0 cell->id 0
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r of_nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/wireless/ath/ath9k/init.c ath9k_nvmem_request_eeprom() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/phy/realtek/phy-rtk-usb2.c get_phy_data_by_efuse() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/phy/realtek/phy-rtk-usb2.c get_phy_data_by_efuse() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
PARAM_VALUE 0 cell->entry->nvmem s64min-(-4096),4096-s64max
PARAM_VALUE 0 cell->entry->nvmem->layout->dev.driver->owner->refcnt.counter 0-s32max
PARAM_VALUE 0 cell->entry->nvmem->owner->refcnt.counter 0-s32max
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/thermal/mediatek/lvts_thermal.c lvts_calibration_read() -> nvmem_cell_put()

Type Parameter Key Value
PARAM_VALUE 0 cell 4096-ptr_max
PARAM_VALUE 0 cell->entry s64min-(-4096),4096-s64max
PARAM_VALUE 0 cell->id 0
BUF_SIZE 0 cell 24
BUF_SIZE 0 cell 24
DATA_SOURCE 0 cell r of_nvmem_cell_get
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL