Home
last modified time | relevance | path

Searched refs:device_node (Results 1 - 25 of 260) sorted by relevance

1234567891011

/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/
H A Drockchip_opp_select.h19 int (*get_soc_info)(struct device *dev, struct device_node *np, int *bin, int *process);
35 void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, char *lkg_name, int process, int *volt_sel,
37 void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, char *reg_name, int process, int *volt_sel,
39 void rockchip_of_get_bin_sel(struct device *dev, struct device_node *np, int bin, int *scale_sel);
40 void rockchip_of_get_bin_volt_sel(struct device *dev, struct device_node *np, int bin, int *bin_volt_sel);
41 int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id, u8 *val);
42 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, u16 *val);
43 int rockchip_get_volt_rm_table(struct device *dev, struct device_node *np, char *porp_name,
57 static inline void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, char *lkg_name, int process, in rockchip_of_get_lkg_sel()
62 static inline void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *n
[all...]
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/
H A Drockchip_opp_select.h19 int (*get_soc_info)(struct device *dev, struct device_node *np,
39 void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np,
42 void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np,
45 void rockchip_of_get_bin_sel(struct device *dev, struct device_node *np,
47 void rockchip_of_get_bin_volt_sel(struct device *dev, struct device_node *np,
49 int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id,
51 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id,
53 int rockchip_get_volt_rm_table(struct device *dev, struct device_node *np,
74 struct device_node *np, in rockchip_of_get_lkg_sel()
81 struct device_node *n in rockchip_of_get_pvtm_sel()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/regulator/
H A Dof_regulator.c24 static int of_get_regulation_constraints(struct device *dev, struct device_node *np, in of_get_regulation_constraints()
29 struct device_node *suspend_np; in of_get_regulation_constraints()
278 struct regulator_init_data *of_get_regulator_init_data(struct device *dev, struct device_node *node, in of_get_regulator_init_data()
333 int of_regulator_match(struct device *dev, struct device_node *node, struct of_regulator_match *matches, in of_regulator_match()
339 struct device_node *child; in of_regulator_match()
394 static struct device_node *regulator_of_get_init_node(struct device *dev, const struct regulator_desc *desc) in regulator_of_get_init_node()
396 struct device_node *search, *child; in regulator_of_get_init_node()
440 struct regulator_config *config, struct device_node **node) in regulator_of_get_init_data()
442 struct device_node *child; in regulator_of_get_init_data()
480 struct regulator_dev *of_find_regulator_by_node(struct device_node *n
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dthermal.h91 struct device_node *np;
311 int thermal_zone_of_get_sensor_id(struct device_node *tz_np, struct device_node *sensor_np, u32 *id);
320 static inline int thermal_zone_of_get_sensor_id(struct device_node *tz_np, struct device_node *sensor_np, u32 *id) in thermal_zone_of_get_sensor_id()
360 struct thermal_cooling_device *thermal_of_cooling_device_register(struct device_node *np, const char *, void *,
362 struct thermal_cooling_device *devm_thermal_of_cooling_device_register(struct device *dev, struct device_node *np,
392 thermal_of_cooling_device_register(struct device_node *np, const char *type, void *devdata, in thermal_of_cooling_device_register()
398 devm_thermal_of_cooling_device_register(struct device *dev, struct device_node *np, char *type, void *devdata, in devm_thermal_of_cooling_device_register()
H A Dpower_supply.h220 struct device_node;
225 struct device_node *of_node;
283 struct device_node *of_node;
389 extern struct power_supply *power_supply_get_by_phandle(struct device_node *np, const char *property);
390 extern int power_supply_get_by_phandle_array(struct device_node *np, const char *property, struct power_supply **psy,
394 static inline struct power_supply *power_supply_get_by_phandle(struct device_node *np, const char *property) in power_supply_get_by_phandle()
398 static inline int power_supply_get_by_phandle_array(struct device_node *np, const char *property, in power_supply_get_by_phandle_array()
H A Dclk-provider.h339 struct clk_hw *__clk_hw_register_fixed_rate(struct device *dev, struct device_node *np, const char *name,
423 void of_fixed_clk_setup(struct device_node *np);
463 struct clk_hw *__clk_hw_register_gate(struct device *dev, struct device_node *np, const char *name,
597 struct clk_hw *__clk_hw_register_divider(struct device *dev, struct device_node *np, const char *name,
776 struct clk_hw *__clk_hw_register_mux(struct device *dev, struct device_node *np, const char *name, u8 num_parents,
808 void of_fixed_factor_clk_setup(struct device_node *node);
991 int __must_check of_clk_hw_register(struct device_node *node, struct clk_hw *hw);
1073 static void __init name##_of_clk_init_driver(struct device_node *np) \
1193 int of_clk_add_provider(struct device_node *np, struct clk *(*clk_src_get)(struct of_phandle_args *args, void *data),
1195 int of_clk_add_hw_provider(struct device_node *n
[all...]
H A Dstmmac.h153 struct device_node *phy_node;
154 struct device_node *phylink_node;
155 struct device_node *mdio_node;
H A Di2c.h20 #include <linux/of.h> /* for struct device_node */
394 struct device_node *of_node;
893 struct i2c_client *of_find_i2c_device_by_node(struct device_node *node);
896 struct i2c_adapter *of_find_i2c_adapter_by_node(struct device_node *node);
899 struct i2c_adapter *of_get_i2c_adapter_by_node(struct device_node *node);
903 int of_i2c_get_board_info(struct device *dev, struct device_node *node, struct i2c_board_info *info);
907 static inline struct i2c_client *of_find_i2c_device_by_node(struct device_node *node) in of_find_i2c_device_by_node()
912 static inline struct i2c_adapter *of_find_i2c_adapter_by_node(struct device_node *node) in of_find_i2c_adapter_by_node()
917 static inline struct i2c_adapter *of_get_i2c_adapter_by_node(struct device_node *node) in of_get_i2c_adapter_by_node()
928 static inline int of_i2c_get_board_info(struct device *dev, struct device_node *nod
[all...]
H A Dpwm.h400 struct pwm_device *of_pwm_get(struct device *dev, struct device_node *np, const char *con_id);
404 struct pwm_device *devm_of_pwm_get(struct device *dev, struct device_node *np, const char *con_id);
481 static inline struct pwm_device *of_pwm_get(struct device *dev, struct device_node *np, const char *con_id) in of_pwm_get()
495 static inline struct pwm_device *devm_of_pwm_get(struct device *dev, struct device_node *np, const char *con_id) in devm_of_pwm_get()
/device/soc/rockchip/common/sdk_linux/drivers/opp/
H A Dof.c34 static struct device_node *_opp_of_get_opp_desc_node(struct device_node *np, int index) in _opp_of_get_opp_desc_node()
41 struct device_node *dev_pm_opp_of_get_opp_desc_node(struct device *dev) in dev_pm_opp_of_get_opp_desc_node()
50 struct device_node *np; in _managed_opp()
82 static struct dev_pm_opp *_find_opp_of_np(struct opp_table *opp_table, struct device_node *opp_np) in _find_opp_of_np()
102 static struct device_node *of_parse_required_opp(struct device_node *np, int index) in of_parse_required_opp()
108 static struct opp_table *_find_table_of_opp_np(struct device_node *opp_np) in _find_table_of_opp_np()
111 struct device_node *opp_table_np; in _find_table_of_opp_np()
164 struct device_node *opp_n in _opp_table_alloc_required_tables()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_platform.c27 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_uint()
41 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_int()
55 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_uchar()
69 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_ushort()
83 struct device_node *np = ((struct platform_device*)pdev)->dev.of_node; in osal_platform_get_modparam_string()
99 return of_property_read_u32((struct device_node*)np, propname, value); in osal_of_property_read_u32()
/device/soc/rockchip/common/sdk_linux/drivers/gpio/
H A Dgpiolib-of.c40 struct device_node *np = dev->of_node; in of_gpio_spi_cs_get_count()
126 struct device_node *np = gc->of_node; in of_gpio_need_valid_mask()
135 static void of_gpio_flags_quirks(struct device_node *np, const char *propname, enum of_gpio_flags *flags, int index) in of_gpio_flags_quirks()
175 struct device_node *child; in of_gpio_flags_quirks()
233 static struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, const char *propname, int index, in of_get_named_gpiod_flags()
271 int of_get_named_gpio_flags(struct device_node *np, const char *list_name, int index, enum of_gpio_flags *flags) in of_get_named_gpio_flags()
298 struct gpio_desc *gpiod_get_from_of_node(struct device_node *node, const char *propname, int index, in gpiod_get_from_of_node()
370 struct device_node *np = dev->of_node; in of_find_spi_gpio()
401 struct device_node *np = dev->of_node; in of_find_spi_cs_gpio()
438 struct device_node *n in of_find_regulator_gpio()
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/regulator/
H A Dinternal.h58 struct regulator_dev *of_find_regulator_by_node(struct device_node *np);
62 struct device_node **node);
73 of_find_regulator_by_node(struct device_node *np) in of_find_regulator_by_node()
82 struct device_node **node) in regulator_of_get_init_data()
/device/soc/rockchip/common/vendor/drivers/rockchip/
H A Drockchip_opp_select.c87 static int rockchip_nvmem_cell_read_common(struct device_node *np, const char *cell_id, void *val, size_t count) in rockchip_nvmem_cell_read_common()
115 int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id, u8 *val) in rockchip_nvmem_cell_read_u8()
121 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, u16 *val) in rockchip_nvmem_cell_read_u16()
127 static int rockchip_get_sel_table(struct device_node *np, char *porp_name, struct sel_table **table) in rockchip_get_sel_table()
170 static int rockchip_get_bin_sel_table(struct device_node *np, char *porp_name, struct bin_sel_table **table) in rockchip_get_bin_sel_table()
212 static int rockchip_get_sel(struct device_node *np, char *name, int value, int *sel) in rockchip_get_sel()
236 static int rockchip_get_bin_sel(struct device_node *np, char *name, int value, int *sel) in rockchip_get_bin_sel()
261 static int rockchip_parse_pvtm_config(struct device_node *np, struct pvtm_config *pvtm) in rockchip_parse_pvtm_config()
306 static int rockchip_get_pvtm_specific_value(struct device *dev, struct device_node *np, struct clk *clk, in rockchip_get_pvtm_specific_value()
444 static int rockchip_adjust_leakage(struct device *dev, struct device_node *n
[all...]
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
H A Drockchip_opp_select.c124 static int rockchip_nvmem_cell_read_common(struct device_node *np, in rockchip_nvmem_cell_read_common()
153 int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id, in rockchip_nvmem_cell_read_u8()
160 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, in rockchip_nvmem_cell_read_u16()
167 static int rockchip_get_sel_table(struct device_node *np, char *porp_name, in rockchip_get_sel_table()
209 static int rockchip_get_bin_sel_table(struct device_node *np, char *porp_name, in rockchip_get_bin_sel_table()
249 static int rockchip_get_sel(struct device_node *np, char *name, in rockchip_get_sel()
272 static int rockchip_get_bin_sel(struct device_node *np, char *name, in rockchip_get_bin_sel()
296 static int rockchip_parse_pvtm_config(struct device_node *np, in rockchip_parse_pvtm_config()
335 struct device_node *np, in rockchip_get_pvtm_specific_value()
474 static int rockchip_adjust_leakage(struct device *dev, struct device_node *n
[all...]
H A Drockchip_pm_config.c75 static int parse_on_off_regulator(struct device_node *node, enum rk_pm_state state) in parse_on_off_regulator()
80 struct device_node *dn; in parse_on_off_regulator()
161 struct device_node *node; in pm_config_probe()
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
H A Drockchip_drm_logo.c40 find_crtc_by_node(struct drm_device *drm_dev, struct device_node *node) in find_crtc_by_node()
42 struct device_node *np_crtc; in find_crtc_by_node()
58 find_sub_dev_by_node(struct drm_device *drm_dev, struct device_node *node) in find_sub_dev_by_node()
60 struct device_node *np_connector; in find_sub_dev_by_node()
75 find_sub_dev_by_bridge(struct drm_device *drm_dev, struct device_node *node) in find_sub_dev_by_bridge()
77 struct device_node *np_encoder, *np_connector = NULL; in find_sub_dev_by_bridge()
79 struct device_node *port, *endpoint; in find_sub_dev_by_bridge()
191 struct device_node *np = drm_dev->dev->of_node; in init_loader_memory()
192 struct device_node *node; in init_loader_memory()
272 get_framebuffer_by_node(struct drm_device *drm_dev, struct device_node *nod
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Drockchip_drm_logo.c39 static struct drm_crtc *find_crtc_by_node(struct drm_device *drm_dev, struct device_node *node) in find_crtc_by_node()
41 struct device_node *np_crtc; in find_crtc_by_node()
59 static struct rockchip_drm_sub_dev *find_sub_dev_by_node(struct drm_device *drm_dev, struct device_node *node) in find_sub_dev_by_node()
61 struct device_node *np_connector; in find_sub_dev_by_node()
77 static struct rockchip_drm_sub_dev *find_sub_dev_by_bridge(struct drm_device *drm_dev, struct device_node *node) in find_sub_dev_by_bridge()
79 struct device_node *np_encoder, *np_connector = NULL; in find_sub_dev_by_bridge()
81 struct device_node *port, *endpoint; in find_sub_dev_by_bridge()
197 struct device_node *np = drm_dev->dev->of_node; in init_loader_memory()
198 struct device_node *node; in init_loader_memory()
285 static struct drm_framebuffer *get_framebuffer_by_node(struct drm_device *drm_dev, struct device_node *nod
[all...]
H A Drockchip_drm_drv.h61 struct device_node *of_node;
400 struct rockchip_drm_sub_dev *rockchip_drm_get_sub_dev(struct device_node *node);
414 int rockchip_drm_endpoint_is_subdriver(struct device_node *ep);
415 uint32_t rockchip_drm_of_find_possible_crtcs(struct drm_device *dev, struct device_node *port);
/device/soc/rockchip/common/sdk_linux/drivers/clocksource/
H A Dtimer-rockchip.c131 static int __init rk_timer_probe(struct rk_timer *timer, struct device_node *np) in rk_timer_probe()
209 static int __init rk_clkevt_init(struct device_node *np) in rk_clkevt_init()
255 static int __init rk_clksrc_init(struct device_node *np) in rk_clksrc_init()
294 static int __init rk_timer_init(struct device_node *np) in rk_timer_init()
/device/soc/rockchip/rk3588/kernel/drivers/devfreq/
H A Drockchip_drm_drv.h62 struct device_node *of_node;
410 struct rockchip_drm_sub_dev *rockchip_drm_get_sub_dev(struct device_node *node);
424 int rockchip_drm_endpoint_is_subdriver(struct device_node *ep);
426 struct device_node *port);
/device/soc/rockchip/rk3588/kernel/drivers/pci/
H A Dpci.h629 struct device_node;
632 int of_pci_parse_bus_range(struct device_node *node, struct resource *res);
633 int of_get_pci_domain_nr(struct device_node *node);
634 int of_pci_get_max_link_speed(struct device_node *node);
644 of_pci_parse_bus_range(struct device_node *node, struct resource *res) in of_pci_parse_bus_range()
650 of_get_pci_domain_nr(struct device_node *node) in of_get_pci_domain_nr()
656 of_pci_get_max_link_speed(struct device_node *node) in of_pci_get_max_link_speed()
/device/soc/rockchip/common/sdk_linux/include/drm/
H A Ddrm_mipi_dsi.h115 struct mipi_dsi_host *of_find_mipi_dsi_host_by_node(struct device_node *node);
169 struct device_node *node;
236 struct mipi_dsi_device *of_find_mipi_dsi_device_by_node(struct device_node *np);
/device/soc/rockchip/common/sdk_linux/drivers/cpufreq/
H A Dcpufreq-dt-platdev.c389 struct device_node *np = of_cpu_device_node_get(0); in cpu0_node_has_opp_v2_prop()
402 struct device_node *np = of_find_node_by_path("/"); in cpufreq_dt_platdev_init()
/device/soc/rockchip/common/vendor/drivers/cpufreq/
H A Drockchip-cpufreq.c48 static int px30_get_soc_info(struct device *dev, struct device_node *np, int *bin, int *process) in px30_get_soc_info()
72 static int rk3288_get_soc_info(struct device *dev, struct device_node *np, int *bin, int *process) in rk3288_get_soc_info()
138 static int rk3399_get_soc_info(struct device *dev, struct device_node *np, int *bin, int *process) in rk3399_get_soc_info()
220 static int rv1126_get_soc_info(struct device *dev, struct device_node *np, int *bin, int *process) in rv1126_get_soc_info()
414 struct device_node *np; in rockchip_cpufreq_cluster_init()

Completed in 27 milliseconds

1234567891011