| /Linux-v6.6/include/linux/ |
| D | nvmem-consumer.h | 19 struct nvmem_cell; 53 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *id); 54 struct nvmem_cell *devm_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); 98 static inline struct nvmem_cell *nvmem_cell_get(struct device *dev, in nvmem_cell_get() 104 static inline struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, in devm_nvmem_cell_get() 111 struct nvmem_cell *cell) in devm_nvmem_cell_put() [all …]
|
| /Linux-v6.6/drivers/rtc/ |
| D | rtc-pm8xxx.c | 67 struct nvmem_cell *nvmem_cell; member 77 buf = nvmem_cell_read(rtc_dd->nvmem_cell, &len); in pm8xxx_rtc_read_nvmem_offset() 104 rc = nvmem_cell_write(rtc_dd->nvmem_cell, buf, sizeof(buf)); in pm8xxx_rtc_write_nvmem_offset() 115 if (!rtc_dd->nvmem_cell) in pm8xxx_rtc_read_offset() 158 if (!rtc_dd->nvmem_cell) in pm8xxx_rtc_update_offset() 483 rtc_dd->nvmem_cell = devm_nvmem_cell_get(&pdev->dev, "offset"); in pm8xxx_rtc_probe() 484 if (IS_ERR(rtc_dd->nvmem_cell)) { in pm8xxx_rtc_probe() 485 rc = PTR_ERR(rtc_dd->nvmem_cell); in pm8xxx_rtc_probe() 488 rtc_dd->nvmem_cell = NULL; in pm8xxx_rtc_probe()
|
| /Linux-v6.6/Documentation/driver-api/ |
| 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-v6.6/drivers/nvmem/ |
| D | core.c | 63 struct nvmem_cell { struct 1278 static struct nvmem_cell *nvmem_create_cell(struct nvmem_cell_entry *entry, in nvmem_create_cell() 1281 struct nvmem_cell *cell; in nvmem_create_cell() 1303 static struct nvmem_cell * 1307 struct nvmem_cell *cell = ERR_PTR(-ENOENT); in nvmem_cell_get_from_lookup() 1379 struct nvmem_cell *of_nvmem_cell_get(struct device_node *np, const char *id) in of_nvmem_cell_get() 1384 struct nvmem_cell *cell; in of_nvmem_cell_get() 1457 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *id) in nvmem_cell_get() 1459 struct nvmem_cell *cell; in nvmem_cell_get() 1477 nvmem_cell_put(*(struct nvmem_cell **)res); in devm_nvmem_cell_release() [all …]
|
| /Linux-v6.6/drivers/cpufreq/ |
| D | qcom-cpufreq-nvmem.c | 37 struct nvmem_cell *speedbin_nvmem, 130 struct nvmem_cell *speedbin_nvmem, in qcom_cpufreq_kryo_name_version() 167 struct nvmem_cell *speedbin_nvmem, in qcom_cpufreq_krait_name_version() 223 struct nvmem_cell *speedbin_nvmem; in qcom_cpufreq_probe()
|
| D | sun50i-cpufreq-nvmem.c | 36 struct nvmem_cell *speedbin_nvmem; in sun50i_cpufreq_get_efuse()
|
| /Linux-v6.6/drivers/power/reset/ |
| D | nvmem-reboot-mode.c | 16 struct nvmem_cell *cell;
|
| /Linux-v6.6/net/core/ |
| D | of_net.c | 64 struct nvmem_cell *cell; in of_get_mac_address_nvmem()
|
| /Linux-v6.6/drivers/phy/mediatek/ |
| D | phy-mtk-mipi-dsi.c | 69 struct nvmem_cell *cell; in mtk_mipi_tx_get_calibration_datal()
|
| /Linux-v6.6/drivers/watchdog/ |
| D | rave-sp-wdt.c | 258 struct nvmem_cell *cell; in rave_sp_wdt_probe()
|
| /Linux-v6.6/drivers/net/wireless/ath/ath9k/ |
| D | ath9k_pci_owl_loader.c | 29 struct nvmem_cell *cell;
|
| /Linux-v6.6/drivers/phy/sunplus/ |
| D | phy-sunplus-usb2.c | 80 struct nvmem_cell *cell; in update_disc_vol()
|
| /Linux-v6.6/drivers/thermal/ |
| D | imx8mm_thermal.c | 202 struct nvmem_cell *cell; in imx8mm_tmu_probe_set_calib_v2()
|
| D | sprd_thermal.c | 124 struct nvmem_cell *cell; in sprd_thm_cal_read()
|
| D | sun8i_thermal.c | 281 struct nvmem_cell *calcell; in sun8i_ths_calibrate()
|
| /Linux-v6.6/drivers/phy/socionext/ |
| D | phy-uniphier-usb3hs.c | 104 struct nvmem_cell *cell; in uniphier_u3hsphy_get_nvparam()
|
| /Linux-v6.6/drivers/net/wireless/mediatek/mt76/ |
| D | eeprom.c | 112 struct nvmem_cell *cell; in mt76_get_of_epprom_from_nvmem()
|
| /Linux-v6.6/net/ethernet/ |
| D | eth.c | 549 struct nvmem_cell *cell; in nvmem_get_mac_address()
|
| /Linux-v6.6/drivers/net/ethernet/sunplus/ |
| D | spl2sw_driver.c | 224 struct nvmem_cell *cell; in spl2sw_nvmem_get_mac_address()
|
| /Linux-v6.6/drivers/bluetooth/ |
| D | hci_ll.c | 689 struct nvmem_cell *bdaddr_cell; in hci_ti_probe()
|
| /Linux-v6.6/drivers/phy/realtek/ |
| D | phy-rtk-usb3.c | 440 struct nvmem_cell *cell; in get_phy_data_by_efuse()
|
| /Linux-v6.6/drivers/iio/adc/ |
| D | sc27xx_adc.c | 167 struct nvmem_cell *cell; in adc_nvmem_cell_calib_data()
|
| /Linux-v6.6/drivers/net/phy/ |
| D | dp83867.c | 539 struct nvmem_cell *cell; in dp83867_of_init_io_impedance()
|
| /Linux-v6.6/drivers/phy/qualcomm/ |
| D | phy-qcom-qusb2.c | 439 struct nvmem_cell *cell;
|
| /Linux-v6.6/drivers/thermal/mediatek/ |
| D | lvts_thermal.c | 657 struct nvmem_cell *cell; in lvts_calibration_read()
|