| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | of.h | 51 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 …]
|
| H A D | of_graph.h | 26 const struct device_node *local_node; 41 bool of_graph_is_present(const struct device_node *node); 42 int of_graph_parse_endpoint(const struct device_node *node, 44 int of_graph_get_endpoint_count(const struct device_node *np); 45 struct device_node *of_graph_get_port_by_id(struct device_node *node, u32 id); 46 struct device_node *of_graph_get_next_endpoint(const struct device_node *parent, 47 struct device_node *previous); 48 struct device_node *of_graph_get_endpoint_by_regs( 49 const struct device_node *parent, int port_reg, int reg); 50 struct device_node *of_graph_get_remote_endpoint( [all …]
|
| H A D | of_irq.h | 12 typedef int (*of_irq_init_cb_t)(struct device_node *, struct device_node *); 22 extern struct device_node *of_irq_dflt_pic; 23 extern int of_irq_parse_oldworld(struct device_node *device, int index, 28 static inline int of_irq_parse_oldworld(struct device_node *device, int index, in of_irq_parse_oldworld() 37 extern int of_irq_to_resource(struct device_node *dev, int index, 43 extern int of_irq_parse_one(struct device_node *device, int index, 45 extern int of_irq_count(struct device_node *dev); 46 extern int of_irq_get(struct device_node *dev, int index); 47 extern int of_irq_get_byname(struct device_node *dev, const char *name); 48 extern int of_irq_to_resource_table(struct device_node *dev, [all …]
|
| H A D | of_mdio.h | 16 bool of_mdiobus_child_is_phy(struct device_node *child); 17 int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np); 19 struct device_node *np); 20 struct mdio_device *of_mdio_find_device(struct device_node *np); 21 struct phy_device *of_phy_find_device(struct device_node *phy_np); 23 of_phy_connect(struct net_device *dev, struct device_node *phy_np, 27 of_phy_get_and_connect(struct net_device *dev, struct device_node *np, 30 of_phy_attach(struct net_device *dev, struct device_node *phy_np, 33 struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np); 34 int of_phy_register_fixed_link(struct device_node *np); [all …]
|
| H A D | of_address.h | 12 struct device_node *node; 39 extern u64 of_translate_dma_address(struct device_node *dev, 43 extern u64 of_translate_address(struct device_node *np, const __be32 *addr); 44 extern int of_address_to_resource(struct device_node *dev, int index, 46 extern void __iomem *of_iomap(struct device_node *device, int index); 47 void __iomem *of_io_request_and_map(struct device_node *device, 54 extern const __be32 *of_get_address(struct device_node *dev, int index, 58 struct device_node *node); 60 struct device_node *node); 64 extern bool of_dma_is_coherent(struct device_node *np); [all …]
|
| H A D | of_gpio.h | 18 struct device_node; 52 extern int of_get_named_gpio_flags(struct device_node *np, 55 extern int of_mm_gpiochip_add_data(struct device_node *np, 58 static inline int of_mm_gpiochip_add(struct device_node *np, in of_mm_gpiochip_add() 70 static inline int of_get_named_gpio_flags(struct device_node *np, in of_get_named_gpio_flags() 101 static inline int of_gpio_named_count(struct device_node *np, const char* propname) in of_gpio_named_count() 112 static inline int of_gpio_count(struct device_node *np) in of_gpio_count() 117 static inline int of_get_gpio_flags(struct device_node *np, int index, in of_get_gpio_flags() 132 static inline int of_get_named_gpio(struct device_node *np, in of_get_named_gpio() 146 static inline int of_get_gpio(struct device_node *np, int index) in of_get_gpio()
|
| H A D | of_dma.h | 16 struct device_node; 20 struct device_node *of_node; 35 extern int of_dma_controller_register(struct device_node *np, 39 extern void of_dma_controller_free(struct device_node *np); 41 extern int of_dma_router_register(struct device_node *np, 47 extern struct dma_chan *of_dma_request_slave_channel(struct device_node *np, 55 static inline int of_dma_controller_register(struct device_node *np, in of_dma_controller_register() 63 static inline void of_dma_controller_free(struct device_node *np) in of_dma_controller_free() 67 static inline int of_dma_router_register(struct device_node *np, in of_dma_router_register() 77 static inline struct dma_chan *of_dma_request_slave_channel(struct device_node *np, in of_dma_request_slave_channel()
|
| /OK3568_Linux_fs/u-boot/include/dm/ |
| H A D | of_access.h | 31 struct device_node *of_find_all_nodes(struct device_node *prev); 39 static inline void of_node_put(const struct device_node *np) { } in of_node_put() 50 int of_n_addr_cells(const struct device_node *np); 61 int of_n_size_cells(const struct device_node *np); 71 int of_simple_addr_cells(const struct device_node *np); 81 int of_simple_size_cells(const struct device_node *np); 91 struct property *of_find_property(const struct device_node *np, 104 const void *of_get_property(const struct device_node *np, const char *name, 116 const struct property *of_get_first_property(const struct device_node *np); 128 const struct property *of_get_next_property(const struct device_node *np, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/of/ |
| H A D | of_private.h | 25 struct device_node *np; 43 extern int of_property_notify(int action, struct device_node *np, 53 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify() 61 int of_node_is_attached(struct device_node *node); 62 int __of_add_property_sysfs(struct device_node *np, struct property *pp); 63 void __of_remove_property_sysfs(struct device_node *np, struct property *prop); 64 void __of_update_property_sysfs(struct device_node *np, struct property *newprop, 66 int __of_attach_node_sysfs(struct device_node *np); 67 void __of_detach_node_sysfs(struct device_node *np); 69 static inline int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs() [all …]
|
| H A D | base.c | 36 struct device_node *of_root; 38 struct device_node *of_chosen; 39 struct device_node *of_aliases; 40 struct device_node *of_stdout; 58 bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq() 73 bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix() 82 static bool __of_node_is_type(const struct device_node *np, const char *type) in __of_node_is_type() 89 int of_bus_n_addr_cells(struct device_node *np) in of_bus_n_addr_cells() 101 int of_n_addr_cells(struct device_node *np) in of_n_addr_cells() 110 int of_bus_n_size_cells(struct device_node *np) in of_bus_n_size_cells() [all …]
|
| H A D | property.c | 40 bool of_graph_is_present(const struct device_node *node) in of_graph_is_present() 42 struct device_node *ports, *port; in of_graph_is_present() 68 int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size() 103 static void *of_find_property_value_of_size(const struct device_node *np, in of_find_property_value_of_size() 138 int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index() 170 int of_property_read_u64_index(const struct device_node *np, in of_property_read_u64_index() 208 int of_property_read_variable_u8_array(const struct device_node *np, in of_property_read_variable_u8_array() 256 int of_property_read_variable_u16_array(const struct device_node *np, in of_property_read_variable_u16_array() 301 int of_property_read_variable_u32_array(const struct device_node *np, in of_property_read_variable_u32_array() 340 int of_property_read_u64(const struct device_node *np, const char *propname, in of_property_read_u64() [all …]
|
| H A D | address.c | 25 static struct of_bus *of_match_bus(struct device_node *np); 26 static int __of_address_to_resource(struct device_node *dev, 47 int (*match)(struct device_node *parent); 48 void (*count_cells)(struct device_node *child, 61 static void of_bus_default_count_cells(struct device_node *dev, in of_bus_default_count_cells() 132 static bool of_node_is_pcie(struct device_node *np) in of_node_is_pcie() 142 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match() 157 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells() 198 const __be32 *of_get_pci_address(struct device_node *dev, int bar_no, u64 *size, in of_get_pci_address() 203 struct device_node *parent; in of_get_pci_address() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | dss-of.c | 18 struct device_node * 19 omapdss_of_get_next_port(const struct device_node *parent, in omapdss_of_get_next_port() 20 struct device_node *prev) in omapdss_of_get_next_port() 22 struct device_node *port = NULL; in omapdss_of_get_next_port() 28 struct device_node *ports; in omapdss_of_get_next_port() 42 struct device_node *ports; in omapdss_of_get_next_port() 64 struct device_node * 65 omapdss_of_get_next_endpoint(const struct device_node *parent, in omapdss_of_get_next_endpoint() 66 struct device_node *prev) in omapdss_of_get_next_endpoint() 68 struct device_node *ep = NULL; in omapdss_of_get_next_endpoint() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/core/ |
| H A D | of_access.c | 36 static struct device_node *of_aliases; 39 static struct device_node *of_chosen; 42 static struct device_node *of_stdout; 62 struct device_node *np; 67 int of_n_addr_cells(const struct device_node *np) in of_n_addr_cells() 83 int of_n_size_cells(const struct device_node *np) in of_n_size_cells() 99 int of_simple_addr_cells(const struct device_node *np) in of_simple_addr_cells() 111 int of_simple_size_cells(const struct device_node *np) in of_simple_size_cells() 123 struct property *of_find_property(const struct device_node *np, in of_find_property() 144 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes() [all …]
|
| /OK3568_Linux_fs/kernel/include/drm/ |
| H A D | drm_of.h | 17 struct device_node; 33 struct device_node *port); 35 struct device_node *port); 39 struct device_node *node); 43 int drm_of_encoder_active_endpoint(struct device_node *node, 46 int drm_of_find_panel_or_bridge(const struct device_node *np, 50 int drm_of_lvds_get_dual_link_pixel_order(const struct device_node *port1, 51 const struct device_node *port2); 54 struct device_node *port) in drm_of_crtc_port_mask() 60 struct device_node *port) in drm_of_find_possible_crtcs() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/usb/ |
| H A D | of.h | 18 enum usb_dr_mode of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0); 19 bool of_usb_host_tpl_support(struct device_node *np); 20 int of_usb_update_otg_caps(struct device_node *np, 22 struct device_node *usb_of_get_device_node(struct usb_device *hub, int port1); 24 struct device_node *usb_of_get_interface_node(struct usb_device *udev, 29 of_usb_get_dr_mode_by_phy(struct device_node *np, int arg0) in of_usb_get_dr_mode_by_phy() 33 static inline bool of_usb_host_tpl_support(struct device_node *np) in of_usb_host_tpl_support() 37 static inline int of_usb_update_otg_caps(struct device_node *np, in of_usb_update_otg_caps() 42 static inline struct device_node * 51 static inline struct device_node * [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/generic/ |
| H A D | audio-graph-card.c | 60 static int graph_get_dai_id(struct device_node *ep) in graph_get_dai_id() 62 struct device_node *node; in graph_get_dai_id() 63 struct device_node *endpoint; in graph_get_dai_id() 114 static int asoc_simple_parse_dai(struct device_node *ep, in asoc_simple_parse_dai() 118 struct device_node *node; in asoc_simple_parse_dai() 166 struct device_node *ep, in graph_parse_convert() 169 struct device_node *top = dev->of_node; in graph_parse_convert() 170 struct device_node *port = of_get_parent(ep); in graph_parse_convert() 171 struct device_node *ports = of_get_parent(port); in graph_parse_convert() 172 struct device_node *node = of_graph_get_port_parent(ep); in graph_parse_convert() [all …]
|
| H A D | simple-card.c | 31 static int asoc_simple_parse_dai(struct device_node *node, in asoc_simple_parse_dai() 81 struct device_node *np, in simple_parse_convert() 84 struct device_node *top = dev->of_node; in simple_parse_convert() 85 struct device_node *node = of_get_parent(np); in simple_parse_convert() 95 static void simple_parse_mclk_fs(struct device_node *top, in simple_parse_mclk_fs() 96 struct device_node *cpu, in simple_parse_mclk_fs() 97 struct device_node *codec, in simple_parse_mclk_fs() 101 struct device_node *node = of_get_parent(cpu); in simple_parse_mclk_fs() 116 struct device_node *np, in simple_dai_link_of_dpcm() 117 struct device_node *codec, in simple_dai_link_of_dpcm() [all …]
|
| /OK3568_Linux_fs/kernel/include/soc/rockchip/ |
| H A D | rockchip_opp_select.h | 43 int (*get_soc_info)(struct device *dev, struct device_node *np, 45 int (*set_soc_info)(struct device *dev, struct device_node *np, 85 void rockchip_of_get_lkg_sel(struct device *dev, struct device_node *np, 90 void rockchip_of_get_pvtm_sel(struct device *dev, struct device_node *np, 93 void rockchip_of_get_bin_sel(struct device *dev, struct device_node *np, 95 void rockchip_of_get_bin_volt_sel(struct device *dev, struct device_node *np, 97 int rockchip_nvmem_cell_read_u8(struct device_node *np, const char *cell_id, 99 int rockchip_nvmem_cell_read_u16(struct device_node *np, const char *cell_id, 101 int rockchip_get_volt_rm_table(struct device *dev, struct device_node *np, 105 int rockchip_get_soc_info(struct device *dev, struct device_node *np, int *bin, [all …]
|
| /OK3568_Linux_fs/u-boot/lib/efi_loader/ |
| H A D | efi_device_path_to_text.c | 19 struct efi_device_path_protocol *device_node, in efi_convert_device_node_to_text() argument 28 switch (device_node->type) { in efi_convert_device_node_to_text() 32 switch (device_node->sub_type) { in efi_convert_device_node_to_text() 35 (struct efi_device_path_mac_addr *)device_node; in efi_convert_device_node_to_text() 57 switch (device_node->sub_type) { in efi_convert_device_node_to_text() 59 buffer_size = device_node->length - 4; in efi_convert_device_node_to_text() 64 memcpy(buffer, device_node->data, buffer_size); in efi_convert_device_node_to_text() 82 device_node->type, in efi_convert_device_node_to_text() 83 device_node->sub_type); in efi_convert_device_node_to_text() 92 struct efi_device_path_protocol *device_node, in efi_convert_device_node_to_text_ext() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_of.c | 35 struct device_node *port) in drm_of_crtc_port_mask() 63 struct device_node *port) in drm_of_find_possible_crtcs() 65 struct device_node *remote_port, *ep; in drm_of_find_possible_crtcs() 94 struct device_node *node) in drm_of_component_match_add() 119 struct device_node *ep, *port, *remote; in drm_of_component_probe() 196 int drm_of_encoder_active_endpoint(struct device_node *node, in drm_of_encoder_active_endpoint() 200 struct device_node *ep; in drm_of_encoder_active_endpoint() 202 struct device_node *port; in drm_of_encoder_active_endpoint() 236 int drm_of_find_panel_or_bridge(const struct device_node *np, in drm_of_find_panel_or_bridge() 242 struct device_node *remote; in drm_of_find_panel_or_bridge() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/mfd/ |
| H A D | syscon.h | 17 struct device_node; 20 extern struct regmap *device_node_to_regmap(struct device_node *np); 21 extern struct regmap *syscon_node_to_regmap(struct device_node *np); 24 struct device_node *np, 27 struct device_node *np, 32 static inline struct regmap *device_node_to_regmap(struct device_node *np) in device_node_to_regmap() 37 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap() 48 struct device_node *np, in syscon_regmap_lookup_by_phandle() 55 struct device_node *np, in syscon_regmap_lookup_by_phandle_args()
|
| /OK3568_Linux_fs/kernel/drivers/clk/at91/ |
| H A D | dt-compat.c | 28 static void __init of_sama5d2_clk_audio_pll_frac_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_frac_setup() 51 static void __init of_sama5d2_clk_audio_pll_pad_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_pad_setup() 74 static void __init of_sama5d2_clk_audio_pll_pmc_setup(struct device_node *np) in of_sama5d2_clk_audio_pll_pmc_setup() 113 static void __init of_sama5d2_clk_generated_setup(struct device_node *np) in of_sama5d2_clk_generated_setup() 121 struct device_node *gcknp; in of_sama5d2_clk_generated_setup() 175 static void __init of_sama5d4_clk_h32mx_setup(struct device_node *np) in of_sama5d4_clk_h32mx_setup() 201 static void __init of_sama5d2_clk_i2s_mux_setup(struct device_node *np) in of_sama5d2_clk_i2s_mux_setup() 206 struct device_node *i2s_mux_np; in of_sama5d2_clk_i2s_mux_setup() 237 static void __init of_at91rm9200_clk_main_osc_setup(struct device_node *np) in of_at91rm9200_clk_main_osc_setup() 262 static void __init of_at91sam9x5_clk_main_rc_osc_setup(struct device_node *np) in of_at91sam9x5_clk_main_rc_osc_setup() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/clk/ |
| H A D | samsung.h | 11 struct device_node; 14 void s3c64xx_clk_init(struct device_node *np, unsigned long xtal_f, 18 static inline void s3c64xx_clk_init(struct device_node *np, in s3c64xx_clk_init() 25 void s3c2410_common_clk_init(struct device_node *np, unsigned long xti_f, 29 static inline void s3c2410_common_clk_init(struct device_node *np, in s3c2410_common_clk_init() 36 void s3c2412_common_clk_init(struct device_node *np, unsigned long xti_f, 39 static inline void s3c2412_common_clk_init(struct device_node *np, in s3c2412_common_clk_init() 46 void s3c2443_common_clk_init(struct device_node *np, unsigned long xti_f, 50 static inline void s3c2443_common_clk_init(struct device_node *np, in s3c2443_common_clk_init()
|
| /OK3568_Linux_fs/kernel/drivers/pci/hotplug/ |
| H A D | rpadlpar_core.c | 40 static struct device_node *find_vio_slot_node(char *drc_name) in find_vio_slot_node() 42 struct device_node *parent = of_find_node_by_name(NULL, "vdevice"); in find_vio_slot_node() 43 struct device_node *dn; in find_vio_slot_node() 60 static struct device_node *find_php_slot_pci_node(char *drc_name, in find_php_slot_pci_node() 63 struct device_node *np; in find_php_slot_pci_node() 76 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() 78 struct device_node *dn; in find_dlpar_node() 110 static struct slot *find_php_slot(struct device_node *dn) in find_php_slot() 124 struct device_node *dev_dn) in dlpar_find_new_dev() 127 struct device_node *child_dn; in dlpar_find_new_dev() [all …]
|