Home
last modified time | relevance | path

Searched refs:nvmem (Results 1 - 17 of 17) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/nvmem/
H A Dcore.c3 * nvmem framework core.
16 #include <linux/nvmem-consumer.h>
17 #include <linux/nvmem-provider.h>
54 struct nvmem_device *nvmem; member
69 static int nvmem_reg_read(struct nvmem_device *nvmem, unsigned int offset, void *val, size_t bytes) in nvmem_reg_read() argument
71 if (nvmem->reg_read) { in nvmem_reg_read()
72 return nvmem->reg_read(nvmem->priv, offset, val, bytes); in nvmem_reg_read()
78 static int nvmem_reg_write(struct nvmem_device *nvmem, unsigned int offset, void *val, size_t bytes) in nvmem_reg_write() argument
82 if (nvmem in nvmem_reg_write()
106 struct nvmem_device *nvmem = to_nvmem_device(dev); type_show() local
122 struct nvmem_device *nvmem; bin_attr_nvmem_read() local
166 struct nvmem_device *nvmem; bin_attr_nvmem_write() local
206 nvmem_bin_attr_get_umode(struct nvmem_device *nvmem) nvmem_bin_attr_get_umode() argument
232 struct nvmem_device *nvmem = to_nvmem_device(dev); nvmem_bin_attr_is_visible() local
280 nvmem_sysfs_setup_compat(struct nvmem_device *nvmem, const struct nvmem_config *config) nvmem_sysfs_setup_compat() argument
312 nvmem_sysfs_remove_compat(struct nvmem_device *nvmem, const struct nvmem_config *config) nvmem_sysfs_remove_compat() argument
321 nvmem_sysfs_setup_compat(struct nvmem_device *nvmem, const struct nvmem_config *config) nvmem_sysfs_setup_compat() argument
325 nvmem_sysfs_remove_compat(struct nvmem_device *nvmem, const struct nvmem_config *config) nvmem_sysfs_remove_compat() argument
333 struct nvmem_device *nvmem = to_nvmem_device(dev); nvmem_release() local
359 nvmem_device_remove_all_cells(const struct nvmem_device *nvmem) nvmem_device_remove_all_cells() argument
374 nvmem_cell_info_to_nvmem_cell_nodup(struct nvmem_device *nvmem, const struct nvmem_cell_info *info, struct nvmem_cell *cell) nvmem_cell_info_to_nvmem_cell_nodup() argument
397 nvmem_cell_info_to_nvmem_cell(struct nvmem_device *nvmem, const struct nvmem_cell_info *info, struct nvmem_cell *cell) nvmem_cell_info_to_nvmem_cell() argument
424 nvmem_add_cells(struct nvmem_device *nvmem, const struct nvmem_cell_info *info, int ncells) nvmem_add_cells() argument
490 nvmem_add_cells_from_table(struct nvmem_device *nvmem) nvmem_add_cells_from_table() argument
526 nvmem_find_cell_by_name(struct nvmem_device *nvmem, const char *cell_id) nvmem_find_cell_by_name() argument
543 nvmem_add_cells_from_of(struct nvmem_device *nvmem) nvmem_add_cells_from_of() argument
614 struct nvmem_device *nvmem; nvmem_register() local
741 struct nvmem_device *nvmem; nvmem_device_release() local
760 nvmem_unregister(struct nvmem_device *nvmem) nvmem_unregister() argument
784 struct nvmem_device **ptr, *nvmem; devm_nvmem_register() local
818 devm_nvmem_unregister(struct device *dev, struct nvmem_device *nvmem) devm_nvmem_unregister() argument
826 struct nvmem_device *nvmem = NULL; nvmem_device_get_ext() local
851 nvmem_device_put_ext(struct nvmem_device *nvmem) nvmem_device_put_ext() argument
871 struct nvmem_device *nvmem; of_nvmem_device_get() local
902 struct nvmem_device *nvmem; nvmem_device_get() local
929 struct nvmem_device **nvmem = res; devm_nvmem_device_match() local
950 devm_nvmem_device_put(struct device *dev, struct nvmem_device *nvmem) devm_nvmem_device_put() argument
965 nvmem_device_put(struct nvmem_device *nvmem) nvmem_device_put() argument
983 struct nvmem_device **ptr, *nvmem; devm_nvmem_device_get() local
1006 struct nvmem_device *nvmem; nvmem_cell_get_from_lookup() local
1042 nvmem_find_cell_by_node(struct nvmem_device *nvmem, struct device_node *np) nvmem_find_cell_by_node() argument
1074 struct nvmem_device *nvmem; of_nvmem_cell_get() local
1213 struct nvmem_device *nvmem = cell->nvmem; nvmem_cell_put() local
1254 nvmem_cell_read_ext(struct nvmem_device *nvmem, struct nvmem_cell *cell, void *buf, size_t *len) nvmem_cell_read_ext() argument
1283 struct nvmem_device *nvmem = cell->nvmem; nvmem_cell_read() local
1308 struct nvmem_device *nvmem = cell->nvmem; nvmem_cell_prepare_write_buffer() local
1370 struct nvmem_device *nvmem = cell->nvmem; nvmem_cell_write() local
1497 nvmem_device_cell_read(struct nvmem_device *nvmem, struct nvmem_cell_info *info, void *buf) nvmem_device_cell_read() argument
1530 nvmem_device_cell_write(struct nvmem_device *nvmem, struct nvmem_cell_info *info, void *buf) nvmem_device_cell_write() argument
1559 nvmem_device_read(struct nvmem_device *nvmem, unsigned int offset, size_t bytes, void *buf) nvmem_device_read() argument
1583 nvmem_device_write(struct nvmem_device *nvmem, unsigned int offset, size_t bytes, void *buf) nvmem_device_write() argument
1667 nvmem_dev_name(struct nvmem_device *nvmem) nvmem_dev_name() argument
[all...]
H A Drockchip-otp.c15 #include <linux/nvmem-provider.h>
216 struct nvmem_device *nvmem; in rockchip_otp_probe() local
259 nvmem = devm_nvmem_register(dev, &otp_config); in rockchip_otp_probe()
261 return PTR_ERR_OR_ZERO(nvmem); in rockchip_otp_probe()
H A Drockchip-efuse.c15 #include <linux/nvmem-provider.h>
508 struct nvmem_device *nvmem; in rockchip_efuse_probe() local
545 nvmem = devm_nvmem_register(dev, &econfig); in rockchip_efuse_probe()
547 return PTR_ERR_OR_ZERO(nvmem); in rockchip_efuse_probe()
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Drockchip-cpuinfo.c18 #include <linux/nvmem-consumer.h>
H A Drockchip_opp_select.c11 #include <linux/nvmem-consumer.h>
688 dev_info(dev, "pvtm = %d, from nvmem\n", pvtm); in rockchip_get_pvtm()
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
H A Drockchip-cpuinfo.c18 #include <linux/nvmem-consumer.h>
H A Drockchip_opp_select.c11 #include <linux/nvmem-consumer.h>
711 dev_info(dev, "pvtm = %d, from nvmem\n", pvtm); in rockchip_get_pvtm()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/platform/rk/
H A Dmali_kbase_config_rk.c22 #include <linux/nvmem-consumer.h>
440 if (of_property_match_string(np, "nvmem-cell-names", name) >= 0) { in rk3288_get_soc_info()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/platform/rk/
H A Dmali_kbase_config_rk.c23 #include <linux/nvmem-consumer.h>
448 if (of_property_match_string(np, "nvmem-cell-names", name) >= 0) { in rk3288_get_soc_info()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/platform/rk/
H A Dmali_kbase_config_rk.c22 #include <linux/nvmem-consumer.h>
/device/soc/rockchip/common/vendor/drivers/cpufreq/
H A Drockchip-cpufreq.c24 #include <linux/nvmem-consumer.h>
57 if (of_property_match_string(np, "nvmem-cell-names", "performance") >= 0) { in px30_get_soc_info()
81 if (of_property_match_string(np, "nvmem-cell-names", "special") >= 0) { in rk3288_get_soc_info()
100 if (of_property_match_string(np, "nvmem-cell-names", name) >= 0) { in rk3288_get_soc_info()
120 if (of_property_match_string(np, "nvmem-cell-names", "process") >= 0) { in rk3288_get_soc_info()
147 if (of_property_match_string(np, "nvmem-cell-names", "specification_serial_number") >= 0) { in rk3399_get_soc_info()
157 if (of_property_match_string(np, "nvmem-cell-names", "customer_demand") >= 0) { in rk3399_get_soc_info()
225 if (of_property_match_string(np, "nvmem-cell-names", "performance") >= 0) { in rv1126_get_soc_info()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/platform/rk/
H A Dmali_kbase_config_rk.c30 #include <linux/nvmem-consumer.h>
/device/soc/rockchip/rk3588/kernel/drivers/cpufreq/
H A Drockchip-cpufreq.c24 #include <linux/nvmem-consumer.h>
62 if (of_property_match_string(np, "nvmem-cell-names", in px30_get_soc_info()
86 if (of_property_match_string(np, "nvmem-cell-names", "special") >= 0) { in rk3288_get_soc_info()
103 if (of_property_match_string(np, "nvmem-cell-names", name) >= 0) { in rk3288_get_soc_info()
120 if (of_property_match_string(np, "nvmem-cell-names", in rk3288_get_soc_info()
146 if (of_property_match_string(np, "nvmem-cell-names", in rk3399_get_soc_info()
160 if (of_property_match_string(np, "nvmem-cell-names", in rk3399_get_soc_info()
241 if (of_property_match_string(np, "nvmem-cell-names", "performance") >= 0) { in rv1126_get_soc_info()
/device/soc/rockchip/common/vendor/drivers/phy/
H A Dphy-rockchip-inno-hdmi-phy.c24 #include <linux/nvmem-consumer.h>
/device/soc/rockchip/common/sdk_linux/drivers/thermal/
H A Drockchip_thermal.c21 #include <linux/nvmem-consumer.h>
/device/soc/rockchip/rk3588/kernel/drivers/phy/rockchip/
H A Dphy-rockchip-inno-hdmi-phy.c24 #include <linux/nvmem-consumer.h>
H A Dphy-rockchip-samsung-hdptx-hdmi.c16 #include <linux/nvmem-consumer.h>

Completed in 22 milliseconds