Home
last modified time | relevance | path

Searched refs:device_node (Results 1 – 25 of 481) sorted by relevance

12345678910>>...20

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/include/linux/
Dof.h51 struct device_node { struct
59 struct device_node *parent; argument
60 struct device_node *child; argument
61 struct device_node *sibling; argument
75 struct device_node *np; argument
84 const struct device_node *parent;
94 struct device_node *node;
98 struct device_node *dn;
106 static inline void of_node_init(struct device_node *node) in of_node_init()
121 extern struct device_node *of_node_get(struct device_node *node);
[all …]
/device/soc/rockchip/common/sdk_linux/include/soc/rockchip/
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 proces…
37 void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, char *reg_name, int proce…
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_vol…
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_na… in rockchip_of_get_lkg_sel()
62 static inline void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, char *reg_n… in rockchip_of_get_pvtm_sel()
[all …]
/device/soc/rockchip/rk3588/kernel/include/soc/rockchip/
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 *np, in rockchip_of_get_pvtm_sel()
[all …]
/device/board/isoftstone/yangfan/kernel/src/incl/soc/
Drockchip_opp_select.h19 int (*get_soc_info)(struct device *dev, struct device_node *np,
38 void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np,
41 void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np,
44 void rockchip_of_get_bin_sel(struct device *dev, struct device_node *np,
46 void rockchip_of_get_bin_volt_sel(struct device *dev, struct device_node *np,
48 int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id,
50 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id,
52 int rockchip_get_volt_rm_table(struct device *dev, struct device_node *np,
73 struct device_node *np, in rockchip_of_get_lkg_sel()
80 struct device_node *np, in rockchip_of_get_pvtm_sel()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/vin/utility/
Dconfig.c19 static int get_value_int(struct device_node *np, const char *name, in get_value_int()
33 static int get_value_string(struct device_node *np, const char *name, in get_value_string()
50 static int get_gpio_info(struct device_node *np, const char *name, in get_gpio_info()
67 static int get_mname(struct device_node *np, const char *name, in get_mname()
72 static int get_twi_addr(struct device_node *np, const char *name, in get_twi_addr()
78 static int get_twi_cci_spi(struct device_node *np, const char *name, in get_twi_cci_spi()
84 static int get_twi_id(struct device_node *np, const char *name, in get_twi_id()
89 static int get_mclk_id(struct device_node *np, const char *name, in get_mclk_id()
96 static int get_pos(struct device_node *np, const char *name, in get_pos()
101 static int get_isp_used(struct device_node *np, const char *name, in get_isp_used()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/video/sunxi/disp2/disp/
Dof_service.c16 struct device_node *get_node_by_name(char *main_name) in get_node_by_name()
20 struct device_node *node; in get_node_by_name()
39 struct property *get_property_by_name(struct device_node *node, char *property_name, int *property_… in get_property_by_name()
55 struct property *get_property_by_index(struct device_node *node, char *config_start, int index) in get_property_by_index()
73 int insert_property(struct device_node *node, struct property **new_pp, char *reference_name, int i… in insert_property()
107 int of_remove_property(struct device_node *np, struct property *prop) in of_remove_property()
114 int delete_property(struct device_node *np, struct property *prop) in delete_property()
Dof_service.h15 struct device_node *get_node_by_name(char *main_name);
16 struct property *get_property_by_name(struct device_node *node,
18 struct property *get_property_by_index(struct device_node *node, char *config_start, int index);
19 int insert_property(struct device_node *node, struct property **new_pp, char *reference_name, int i…
20 int delete_property(struct device_node *np, struct property *prop);
/device/soc/rockchip/common/sdk_linux/drivers/regulator/
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 *mat… 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_de… 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 *np) in of_find_regulator_by_node()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
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/opp/
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_np) in _opp_table_alloc_required_tables()
167 struct device_node *required_np, *np; in _opp_table_alloc_required_tables()
224 struct device_node *np, *opp_np; in _of_init_opp_table()
[all …]
/device/soc/rockchip/common/sdk_linux/include/linux/
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 *sens… in thermal_zone_of_get_sensor_id()
360 struct thermal_cooling_device *thermal_of_cooling_device_register(struct device_node *np, const cha…
362 …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, voi… in devm_thermal_of_cooling_device_register()
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 *propert…
390 extern int power_supply_get_by_phandle_array(struct device_node *np, const char *property, struct p…
394 static inline struct power_supply *power_supply_get_by_phandle(struct device_node *np, const char *… 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()
Dclk-provider.h339 struct clk_hw *__clk_hw_register_fixed_rate(struct device *dev, struct device_node *np, const char …
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 *na…
776 struct clk_hw *__clk_hw_register_mux(struct device *dev, struct device_node *np, const char *name, …
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 *…
1195 int of_clk_add_hw_provider(struct device_node *np, struct clk_hw *(*get)(struct of_phandle_args *cl…
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpio/
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 *… 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… 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_… 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 *np = dev->of_node; in of_find_regulator_gpio()
[all …]
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/sunxi_device/
Dsunxi_common.h46 struct device_node *sunxi_drm_get_name_node(char *device_name);
48 int sunxi_drm_get_sys_item_gpio(struct device_node *node, char *sub_name,
50 int sunxi_drm_get_sys_item_char(struct device_node *node, char *sub_name,
52 int sunxi_drm_get_sys_item_int(struct device_node *node, char *sub_name,
Dsunxi_common.c189 struct device_node *node; in sunxi_drm_sys_pin_set_state()
236 int sunxi_drm_get_sys_item_int(struct device_node *node, in sunxi_drm_get_sys_item_int()
243 int sunxi_drm_get_sys_item_char(struct device_node *node, in sunxi_drm_get_sys_item_char()
258 int sunxi_drm_get_sys_item_gpio(struct device_node *node, in sunxi_drm_get_sys_item_gpio()
278 struct device_node *sunxi_drm_get_name_node(char *device_name) in sunxi_drm_get_name_node()
280 struct device_node *node = NULL; in sunxi_drm_get_name_node()
322 struct device_node *node; in disp_sys_script_get_item()
/device/soc/rockchip/rk3588/kernel/drivers/soc/rockchip/
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 *np, in rockchip_adjust_leakage()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/soc/
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 *np, in rockchip_adjust_leakage()
[all …]
/device/soc/rockchip/common/vendor/drivers/rockchip/
Drockchip_opp_select.c87 static int rockchip_nvmem_cell_read_common(struct device_node *np, const char *cell_id, void *val, … 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… 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 … in rockchip_get_pvtm_specific_value()
444 static int rockchip_adjust_leakage(struct device *dev, struct device_node *np, int *leakage) in rockchip_adjust_leakage()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/regulator/
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/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/
Dgpucore_cooling.h30 struct device_node *np;
49 void save_gpucore_thermal_para(struct device_node *node);
64 inline void save_gpucore_thermal_para(struct device_node *n) in save_gpucore_thermal_para()
Dgpu_cooling.h61 struct device_node *np;
74 void save_gpu_cool_para(int i, struct device_node *d, int j);
77 struct device_node *n, int pp) in save_gpu_cool_para()
Dcpucore_cooling.h44 struct thermal_cooling_device *cpucore_cooling_register(struct device_node *,
56 cpucore_cooling_register(struct device_node *np) in cpucore_cooling_register()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/sid/
Dsunxi-sid.c122 static s32 sid_get_vir_base(struct device_node **pnode, void __iomem **base, in sid_get_vir_base()
140 static s32 sid_get_phy_base(struct device_node **pnode, phys_addr_t **base, in sid_get_phy_base()
161 static s32 sid_get_base(struct device_node **pnode, in sid_get_base()
171 static void sid_put_base(struct device_node *pnode, void __iomem *base, u32 sec) in sid_put_base()
190 struct device_node *child_pnode; in get_key_map_info()
191 struct device_node *pnode = of_find_compatible_node(NULL, NULL, compatile); in get_key_map_info()
211 struct device_node *dev_node = NULL; in sid_read_key()
234 struct device_node *dev_node = NULL; in sid_rd_bits()
255 struct device_node *child_pnode; in get_soc_ver_regs()
256 struct device_node *pnode = of_find_compatible_node(NULL, NULL, compatile); in get_soc_ver_regs()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/subdev/sensor/inc/sys/
Dsystem_am_mipi.h96 struct device_node *of_node;
97 struct device_node *link_node;
124 int am_mipi_parse_dt(struct device_node *node);

12345678910>>...20