/kernel/linux/linux-5.10/include/linux/ |
H A D | nvmem-consumer.h | 19 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 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 *cel in devm_nvmem_cell_put() [all...] |
/kernel/linux/linux-5.10/drivers/nvmem/ |
H A D | core.c | 47 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 D | rtc-pm8xxx.c | 57 * @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 D | qcom-cpufreq-nvmem.c | 51 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 D | sun50i-cpufreq-nvmem.c | 35 struct nvmem_cell *speedbin_nvmem; in sun50i_cpufreq_get_efuse()
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A 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()
|
H A D | sun50i-cpufreq-nvmem.c | 36 struct nvmem_cell *speedbin_nvmem; in sun50i_cpufreq_get_efuse()
|
/kernel/linux/linux-6.6/drivers/nvmem/ |
H A D | core.c | 63 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 D | nvmem-reboot-mode.c | 16 struct nvmem_cell *cell;
|
/kernel/linux/linux-6.6/drivers/power/reset/ |
H A D | nvmem-reboot-mode.c | 16 struct nvmem_cell *cell;
|
/kernel/linux/linux-6.6/net/core/ |
H A D | of_net.c | 64 struct nvmem_cell *cell; in of_get_mac_address_nvmem()
|
/kernel/linux/linux-6.6/drivers/phy/mediatek/ |
H A D | phy-mtk-mipi-dsi.c | 69 struct nvmem_cell *cell; in mtk_mipi_tx_get_calibration_datal()
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
H A D | rave-sp-wdt.c | 258 struct nvmem_cell *cell; in rave_sp_wdt_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/mediatek/ |
H A D | mtk_mipi_tx.c | 93 struct nvmem_cell *cell; in mtk_mipi_tx_get_calibration_datal()
|
/kernel/linux/linux-6.6/drivers/watchdog/ |
H A D | rave-sp-wdt.c | 258 struct nvmem_cell *cell; in rave_sp_wdt_probe()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | ath9k_pci_owl_loader.c | 29 struct nvmem_cell *cell;
|
/kernel/linux/linux-6.6/drivers/phy/sunplus/ |
H A D | phy-sunplus-usb2.c | 80 struct nvmem_cell *cell; in update_disc_vol()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
H A D | sc27xx_adc.c | 126 struct nvmem_cell *cell; in sc27xx_adc_scale_calibration()
|
/kernel/linux/linux-5.10/drivers/phy/socionext/ |
H A D | phy-uniphier-usb3hs.c | 104 struct nvmem_cell *cell; in uniphier_u3hsphy_get_nvparam()
|
/kernel/linux/linux-5.10/drivers/thermal/ |
H A D | sun8i_thermal.c | 282 struct nvmem_cell *calcell; in sun8i_ths_calibrate()
|
H A D | sprd_thermal.c | 124 struct nvmem_cell *cell; in sprd_thm_cal_read()
|
/kernel/linux/linux-5.10/net/ethernet/ |
H A D | eth.c | 536 struct nvmem_cell *cell; in nvmem_get_mac_address()
|
/kernel/linux/linux-6.6/drivers/thermal/ |
H A D | sun8i_thermal.c | 281 struct nvmem_cell *calcell; in sun8i_ths_calibrate()
|
H A D | sprd_thermal.c | 124 struct nvmem_cell *cell; in sprd_thm_cal_read()
|