| /linux-6.15/include/linux/ |
| H A D | nvmem-consumer.h | 19 struct nvmem_cell; 53 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *id); 55 void nvmem_cell_put(struct nvmem_cell *cell); 56 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell); 57 void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len); 58 int nvmem_cell_write(struct nvmem_cell *cell, void *buf, size_t len); 99 static inline struct nvmem_cell *nvmem_cell_get(struct device *dev, in nvmem_cell_get() 112 struct nvmem_cell *cell) in devm_nvmem_cell_put() 116 static inline void nvmem_cell_put(struct nvmem_cell *cell) in nvmem_cell_put() 125 static inline int nvmem_cell_write(struct nvmem_cell *cell, in nvmem_cell_write() [all …]
|
| /linux-6.15/drivers/rtc/ |
| H A D | rtc-pm8xxx.c | 79 struct nvmem_cell *nvmem_cell; member 176 buf = nvmem_cell_read(rtc_dd->nvmem_cell, &len); in pm8xxx_rtc_read_nvmem_offset() 203 rc = nvmem_cell_write(rtc_dd->nvmem_cell, buf, sizeof(buf)); in pm8xxx_rtc_write_nvmem_offset() 249 if (!rtc_dd->nvmem_cell && !rtc_dd->use_uefi) in pm8xxx_rtc_update_offset() 270 if (rtc_dd->nvmem_cell) in pm8xxx_rtc_update_offset() 568 rtc_dd->nvmem_cell = devm_nvmem_cell_get(rtc_dd->dev, "offset"); in pm8xxx_rtc_probe_offset() 569 if (IS_ERR(rtc_dd->nvmem_cell)) { in pm8xxx_rtc_probe_offset() 570 rc = PTR_ERR(rtc_dd->nvmem_cell); in pm8xxx_rtc_probe_offset() 573 rtc_dd->nvmem_cell = NULL; in pm8xxx_rtc_probe_offset() 661 if (rtc_dd->nvmem_cell) in pm8xxx_shutdown()
|
| /linux-6.15/drivers/cpufreq/ |
| H A D | qcom-cpufreq-nvmem.c | 52 struct nvmem_cell *speedbin_nvmem, 73 struct nvmem_cell *speedbin_nvmem, in qcom_cpufreq_simple_get_version() 169 struct nvmem_cell *speedbin_nvmem, in qcom_cpufreq_kryo_name_version() 217 struct nvmem_cell *speedbin_nvmem, in qcom_cpufreq_krait_name_version() 256 struct nvmem_cell *speedbin_nvmem, in qcom_cpufreq_ipq8064_name_version() 311 struct nvmem_cell *speedbin_nvmem, in qcom_cpufreq_ipq6018_name_version() 362 struct nvmem_cell *speedbin_nvmem, in qcom_cpufreq_ipq8074_name_version() 445 struct nvmem_cell *speedbin_nvmem; in qcom_cpufreq_probe()
|
| H A D | sun50i-cpufreq-nvmem.c | 194 struct nvmem_cell *speedbin_nvmem; in sun50i_cpufreq_get_efuse()
|
| /linux-6.15/Documentation/driver-api/ |
| H A D | nvmem.rst | 105 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *name); 106 struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, const char *name); 108 void nvmem_cell_put(struct nvmem_cell *cell); 109 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell); 111 void *nvmem_cell_read(struct nvmem_cell *cell, ssize_t *len); 112 int nvmem_cell_write(struct nvmem_cell *cell, void *buf, ssize_t len); 153 void nvmem_cell_put(struct nvmem_cell *cell); 154 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell);
|
| /linux-6.15/drivers/nvmem/ |
| H A D | core.c | 41 struct nvmem_cell { struct 347 struct nvmem_cell *cell = NULL; in nvmem_cell_attr_read() 1340 struct nvmem_cell *cell; in nvmem_create_cell() 1362 static struct nvmem_cell * 1366 struct nvmem_cell *cell = ERR_PTR(-ENOENT); in nvmem_cell_get_from_lookup() 1461 struct nvmem_cell *cell; in of_nvmem_cell_get() 1549 struct nvmem_cell *cell; in nvmem_cell_get() 1582 struct nvmem_cell **ptr, *cell; in devm_nvmem_cell_get() 1602 struct nvmem_cell **c = res; in devm_nvmem_cell_match() 1858 struct nvmem_cell *cell; in nvmem_cell_read_common() [all …]
|
| /linux-6.15/drivers/power/reset/ |
| H A D | nvmem-reboot-mode.c | 16 struct nvmem_cell *cell;
|
| /linux-6.15/net/core/ |
| H A D | of_net.c | 64 struct nvmem_cell *cell; in of_get_mac_address_nvmem()
|
| /linux-6.15/drivers/phy/mediatek/ |
| H A D | phy-mtk-mipi-dsi.c | 69 struct nvmem_cell *cell; in mtk_mipi_tx_get_calibration_datal()
|
| /linux-6.15/drivers/net/wireless/ath/ath9k/ |
| H A D | ath9k_pci_owl_loader.c | 28 struct nvmem_cell *cell;
|
| /linux-6.15/drivers/watchdog/ |
| H A D | rave-sp-wdt.c | 258 struct nvmem_cell *cell; in rave_sp_wdt_probe()
|
| /linux-6.15/drivers/phy/sunplus/ |
| H A D | phy-sunplus-usb2.c | 80 struct nvmem_cell *cell; in update_disc_vol()
|
| /linux-6.15/drivers/net/phy/aquantia/ |
| H A D | aquantia_firmware.c | 298 struct nvmem_cell *cell; in aqr_firmware_load_nvmem()
|
| /linux-6.15/net/ethernet/ |
| H A D | eth.c | 537 struct nvmem_cell *cell; in nvmem_get_mac_address()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/ |
| H A D | eeprom.c | 118 struct nvmem_cell *cell; in mt76_get_of_data_from_nvmem()
|
| /linux-6.15/drivers/phy/socionext/ |
| H A D | phy-uniphier-usb3hs.c | 104 struct nvmem_cell *cell; in uniphier_u3hsphy_get_nvparam()
|
| /linux-6.15/drivers/thermal/ |
| H A D | imx8mm_thermal.c | 202 struct nvmem_cell *cell; in imx8mm_tmu_probe_set_calib_v2()
|
| H A D | sprd_thermal.c | 124 struct nvmem_cell *cell; in sprd_thm_cal_read()
|
| H A D | sun8i_thermal.c | 304 struct nvmem_cell *calcell; in sun8i_ths_calibrate()
|
| /linux-6.15/drivers/net/ethernet/sunplus/ |
| H A D | spl2sw_driver.c | 224 struct nvmem_cell *cell; in spl2sw_nvmem_get_mac_address()
|
| /linux-6.15/drivers/ufs/host/ |
| H A D | ufs-renesas.c | 451 struct nvmem_cell *cell = NULL; in ufs_renesas_init()
|
| /linux-6.15/drivers/bluetooth/ |
| H A D | hci_ll.c | 689 struct nvmem_cell *bdaddr_cell; in hci_ti_probe()
|
| /linux-6.15/drivers/iio/adc/ |
| H A D | sc27xx_adc.c | 167 struct nvmem_cell *cell; in adc_nvmem_cell_calib_data()
|
| /linux-6.15/drivers/phy/realtek/ |
| H A D | phy-rtk-usb3.c | 438 struct nvmem_cell *cell; in get_phy_data_by_efuse()
|
| /linux-6.15/drivers/extcon/ |
| H A D | extcon-rtk-type-c.c | 876 struct nvmem_cell *cell; in __updated_type_c_parameter_by_efuse() 960 struct nvmem_cell *cell; in __updated_type_c_parameter_by_efuse_v2()
|