Home
last modified time | relevance | path

Searched refs:nvmem_cell (Results 1 – 25 of 39) sorted by relevance

12

/Linux-v6.6/include/linux/
Dnvmem-consumer.h19 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/
Drtc-pm8xxx.c67 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/
Dnvmem.rst105 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/
Dcore.c63 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/
Dqcom-cpufreq-nvmem.c37 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()
Dsun50i-cpufreq-nvmem.c36 struct nvmem_cell *speedbin_nvmem; in sun50i_cpufreq_get_efuse()
/Linux-v6.6/drivers/power/reset/
Dnvmem-reboot-mode.c16 struct nvmem_cell *cell;
/Linux-v6.6/net/core/
Dof_net.c64 struct nvmem_cell *cell; in of_get_mac_address_nvmem()
/Linux-v6.6/drivers/phy/mediatek/
Dphy-mtk-mipi-dsi.c69 struct nvmem_cell *cell; in mtk_mipi_tx_get_calibration_datal()
/Linux-v6.6/drivers/watchdog/
Drave-sp-wdt.c258 struct nvmem_cell *cell; in rave_sp_wdt_probe()
/Linux-v6.6/drivers/net/wireless/ath/ath9k/
Dath9k_pci_owl_loader.c29 struct nvmem_cell *cell;
/Linux-v6.6/drivers/phy/sunplus/
Dphy-sunplus-usb2.c80 struct nvmem_cell *cell; in update_disc_vol()
/Linux-v6.6/drivers/thermal/
Dimx8mm_thermal.c202 struct nvmem_cell *cell; in imx8mm_tmu_probe_set_calib_v2()
Dsprd_thermal.c124 struct nvmem_cell *cell; in sprd_thm_cal_read()
Dsun8i_thermal.c281 struct nvmem_cell *calcell; in sun8i_ths_calibrate()
/Linux-v6.6/drivers/phy/socionext/
Dphy-uniphier-usb3hs.c104 struct nvmem_cell *cell; in uniphier_u3hsphy_get_nvparam()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/
Deeprom.c112 struct nvmem_cell *cell; in mt76_get_of_epprom_from_nvmem()
/Linux-v6.6/net/ethernet/
Deth.c549 struct nvmem_cell *cell; in nvmem_get_mac_address()
/Linux-v6.6/drivers/net/ethernet/sunplus/
Dspl2sw_driver.c224 struct nvmem_cell *cell; in spl2sw_nvmem_get_mac_address()
/Linux-v6.6/drivers/bluetooth/
Dhci_ll.c689 struct nvmem_cell *bdaddr_cell; in hci_ti_probe()
/Linux-v6.6/drivers/phy/realtek/
Dphy-rtk-usb3.c440 struct nvmem_cell *cell; in get_phy_data_by_efuse()
/Linux-v6.6/drivers/iio/adc/
Dsc27xx_adc.c167 struct nvmem_cell *cell; in adc_nvmem_cell_calib_data()
/Linux-v6.6/drivers/net/phy/
Ddp83867.c539 struct nvmem_cell *cell; in dp83867_of_init_io_impedance()
/Linux-v6.6/drivers/phy/qualcomm/
Dphy-qcom-qusb2.c439 struct nvmem_cell *cell;
/Linux-v6.6/drivers/thermal/mediatek/
Dlvts_thermal.c657 struct nvmem_cell *cell; in lvts_calibration_read()

12