Home
last modified time | relevance | path

Searched refs:nvmem_cell (Results 1 - 25 of 58) sorted by relevance

123

/kernel/linux/linux-5.10/include/linux/
H A Dnvmem-consumer.h19 struct nvmem_cell;
58 struct nvmem_cell *nvmem_cell_get(struct device *dev, const char *id);
59 struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, const char *id);
60 void nvmem_cell_put(struct nvmem_cell *cell);
61 void devm_nvmem_cell_put(struct device *dev, struct nvmem_cell *cell);
62 void *nvmem_cell_read(struct nvmem_cell *cell, size_t *len);
63 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()
105 static inline struct nvmem_cell *devm_nvmem_cell_get(struct device *dev, in devm_nvmem_cell_get()
112 struct nvmem_cell *cel in devm_nvmem_cell_put()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A 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 *cel in devm_nvmem_cell_put()
[all...]
/kernel/linux/linux-5.10/drivers/nvmem/
H A Dcore.c47 struct nvmem_cell { struct
339 static void nvmem_cell_drop(struct nvmem_cell *cell) in nvmem_cell_drop()
352 struct nvmem_cell *cell, *p; in nvmem_device_remove_all_cells()
358 static void nvmem_cell_add(struct nvmem_cell *cell) in nvmem_cell_add()
368 struct nvmem_cell *cell) in nvmem_cell_info_to_nvmem_cell_nodup()
394 struct nvmem_cell *cell) in nvmem_cell_info_to_nvmem_cell()
422 struct nvmem_cell **cells; in nvmem_add_cells()
488 struct nvmem_cell *cell; in nvmem_add_cells_from_table()
521 static struct nvmem_cell *
524 struct nvmem_cell *ite in nvmem_find_cell_by_name()
[all...]
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-pm8xxx.c57 * @nvmem_cell: nvmem cell for offset
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()
[all...]
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dqcom-cpufreq-nvmem.c51 struct nvmem_cell *speedbin_nvmem,
69 struct nvmem_cell *pvs_nvmem, u8 *buf) in get_krait_bin_format_a()
100 struct nvmem_cell *pvs_nvmem, u8 *buf) in get_krait_bin_format_b()
175 struct nvmem_cell *speedbin_nvmem, in qcom_cpufreq_kryo_name_version()
211 struct nvmem_cell *speedbin_nvmem, in qcom_cpufreq_krait_name_version()
267 struct nvmem_cell *speedbin_nvmem; in qcom_cpufreq_probe()
H A Dsun50i-cpufreq-nvmem.c35 struct nvmem_cell *speedbin_nvmem; in sun50i_cpufreq_get_efuse()
/kernel/linux/linux-6.6/drivers/cpufreq/
H A 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()
H A Dsun50i-cpufreq-nvmem.c36 struct nvmem_cell *speedbin_nvmem; in sun50i_cpufreq_get_efuse()
/kernel/linux/linux-6.6/drivers/nvmem/
H A Dcore.c63 struct nvmem_cell { struct
1260 * Return: ERR_PTR() on error or a valid pointer to a struct nvmem_cell
1261 * on success. The nvmem_cell will be freed by the automatically once the
1284 static struct nvmem_cell *nvmem_create_cell(struct nvmem_cell_entry *entry, in nvmem_create_cell()
1287 struct nvmem_cell *cell; in nvmem_create_cell()
1309 static struct nvmem_cell *
1313 struct nvmem_cell *cell = ERR_PTR(-ENOENT); in nvmem_cell_get_from_lookup()
1382 * to a struct nvmem_cell. The nvmem_cell will be freed by the
1385 struct nvmem_cell *of_nvmem_cell_ge
[all...]
/kernel/linux/linux-5.10/drivers/power/reset/
H A Dnvmem-reboot-mode.c16 struct nvmem_cell *cell;
/kernel/linux/linux-6.6/drivers/power/reset/
H A Dnvmem-reboot-mode.c16 struct nvmem_cell *cell;
/kernel/linux/linux-6.6/net/core/
H A Dof_net.c64 struct nvmem_cell *cell; in of_get_mac_address_nvmem()
/kernel/linux/linux-6.6/drivers/phy/mediatek/
H A Dphy-mtk-mipi-dsi.c69 struct nvmem_cell *cell; in mtk_mipi_tx_get_calibration_datal()
/kernel/linux/linux-5.10/drivers/watchdog/
H A Drave-sp-wdt.c258 struct nvmem_cell *cell; in rave_sp_wdt_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/
H A Dmtk_mipi_tx.c93 struct nvmem_cell *cell; in mtk_mipi_tx_get_calibration_datal()
/kernel/linux/linux-6.6/drivers/watchdog/
H A Drave-sp-wdt.c258 struct nvmem_cell *cell; in rave_sp_wdt_probe()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dath9k_pci_owl_loader.c29 struct nvmem_cell *cell;
/kernel/linux/linux-6.6/drivers/phy/sunplus/
H A Dphy-sunplus-usb2.c80 struct nvmem_cell *cell; in update_disc_vol()
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dsc27xx_adc.c126 struct nvmem_cell *cell; in sc27xx_adc_scale_calibration()
/kernel/linux/linux-5.10/drivers/phy/socionext/
H A Dphy-uniphier-usb3hs.c104 struct nvmem_cell *cell; in uniphier_u3hsphy_get_nvparam()
/kernel/linux/linux-5.10/drivers/thermal/
H A Dsun8i_thermal.c282 struct nvmem_cell *calcell; in sun8i_ths_calibrate()
H A Dsprd_thermal.c124 struct nvmem_cell *cell; in sprd_thm_cal_read()
/kernel/linux/linux-5.10/net/ethernet/
H A Deth.c536 struct nvmem_cell *cell; in nvmem_get_mac_address()
/kernel/linux/linux-6.6/drivers/thermal/
H A Dsun8i_thermal.c281 struct nvmem_cell *calcell; in sun8i_ths_calibrate()
H A Dsprd_thermal.c124 struct nvmem_cell *cell; in sprd_thm_cal_read()

Completed in 17 milliseconds

123