/linux-4.1.27/include/linux/ |
D | of.h | 49 struct device_node { struct 58 struct device_node *parent; argument 59 struct device_node *child; argument 60 struct device_node *sibling; argument 73 struct device_node *np; argument 79 struct device_node *dn; 86 static inline void of_node_init(struct device_node *node) in of_node_init() 93 static inline int of_node_is_initialized(struct device_node *node) in of_node_is_initialized() 99 static inline int of_node_is_attached(struct device_node *node) in of_node_is_attached() 105 extern struct device_node *of_node_get(struct device_node *node); [all …]
|
D | of_graph.h | 28 const struct device_node *local_node; 43 int of_graph_parse_endpoint(const struct device_node *node, 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_remote_port_parent( 49 const struct device_node *node); 50 struct device_node *of_graph_get_remote_port(const struct device_node *node); 53 static inline int of_graph_parse_endpoint(const struct device_node *node, in of_graph_parse_endpoint() 59 static inline struct device_node *of_graph_get_port_by_id( in of_graph_get_port_by_id() [all …]
|
D | of_irq.h | 11 typedef int (*of_irq_init_cb_t)(struct device_node *, struct device_node *); 21 extern struct device_node *of_irq_dflt_pic; 22 extern int of_irq_parse_oldworld(struct device_node *device, int index, 27 static inline int of_irq_parse_oldworld(struct device_node *device, int index, in of_irq_parse_oldworld() 35 extern int of_irq_parse_one(struct device_node *device, int index, 38 extern int of_irq_to_resource(struct device_node *dev, int index, 44 extern int of_irq_count(struct device_node *dev); 45 extern int of_irq_get(struct device_node *dev, int index); 46 extern int of_irq_get_byname(struct device_node *dev, const char *name); 47 extern int of_irq_to_resource_table(struct device_node *dev, [all …]
|
D | of_address.h | 8 struct device_node *node; 27 extern u64 of_translate_dma_address(struct device_node *dev, 31 extern u64 of_translate_address(struct device_node *np, const __be32 *addr); 32 extern int of_address_to_resource(struct device_node *dev, int index, 34 extern struct device_node *of_find_matching_node_by_address( 35 struct device_node *from, 38 extern void __iomem *of_iomap(struct device_node *device, int index); 44 extern const __be32 *of_get_address(struct device_node *dev, int index, 52 struct device_node *node); 56 extern int of_dma_get_range(struct device_node *np, u64 *dma_addr, [all …]
|
D | of_mdio.h | 16 extern int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np); 17 extern struct phy_device *of_phy_find_device(struct device_node *phy_np); 19 struct device_node *phy_np, 23 struct device_node *phy_np, u32 flags, 26 extern struct mii_bus *of_mdio_find_bus(struct device_node *mdio_np); 27 extern int of_mdio_parse_addr(struct device *dev, const struct device_node *np); 30 static inline int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register() 40 static inline struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() 46 struct device_node *phy_np, in of_phy_connect() 54 struct device_node *phy_np, in of_phy_attach() [all …]
|
D | of_pci.h | 9 struct device_node; 13 struct device_node *of_pci_find_child_device(struct device_node *parent, 15 int of_pci_get_devfn(struct device_node *np); 17 int of_pci_parse_bus_range(struct device_node *node, struct resource *res); 18 int of_get_pci_domain_nr(struct device_node *node); 26 static inline struct device_node *of_pci_find_child_device(struct device_node *parent, in of_pci_find_child_device() 32 static inline int of_pci_get_devfn(struct device_node *np) in of_pci_get_devfn() 44 of_pci_parse_bus_range(struct device_node *node, struct resource *res) in of_pci_parse_bus_range() 50 of_get_pci_domain_nr(struct device_node *node) in of_get_pci_domain_nr() 59 int of_pci_get_host_bridge_resources(struct device_node *dev, [all …]
|
D | of_mtd.h | 15 int of_get_nand_ecc_mode(struct device_node *np); 16 int of_get_nand_ecc_step_size(struct device_node *np); 17 int of_get_nand_ecc_strength(struct device_node *np); 18 int of_get_nand_bus_width(struct device_node *np); 19 bool of_get_nand_on_flash_bbt(struct device_node *np); 23 static inline int of_get_nand_ecc_mode(struct device_node *np) in of_get_nand_ecc_mode() 28 static inline int of_get_nand_ecc_step_size(struct device_node *np) in of_get_nand_ecc_step_size() 33 static inline int of_get_nand_ecc_strength(struct device_node *np) in of_get_nand_ecc_strength() 38 static inline int of_get_nand_bus_width(struct device_node *np) in of_get_nand_bus_width() 43 static inline bool of_get_nand_on_flash_bbt(struct device_node *np) in of_get_nand_on_flash_bbt()
|
D | of_dma.h | 19 struct device_node; 23 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); 40 extern struct dma_chan *of_dma_request_slave_channel(struct device_node *np, 47 static inline int of_dma_controller_register(struct device_node *np, in of_dma_controller_register() 55 static inline void of_dma_controller_free(struct device_node *np) in of_dma_controller_free() 59 static inline struct dma_chan *of_dma_request_slave_channel(struct device_node *np, in of_dma_request_slave_channel()
|
D | of_gpio.h | 23 struct device_node; 50 extern int of_get_named_gpio_flags(struct device_node *np, 53 extern int of_mm_gpiochip_add(struct device_node *np, 66 static inline int of_get_named_gpio_flags(struct device_node *np, in of_get_named_gpio_flags() 104 static inline int of_gpio_named_count(struct device_node *np, const char* propname) in of_gpio_named_count() 115 static inline int of_gpio_count(struct device_node *np) in of_gpio_count() 120 static inline int of_get_gpio_flags(struct device_node *np, int index, in of_get_gpio_flags() 135 static inline int of_get_named_gpio(struct device_node *np, in of_get_named_gpio() 149 static inline int of_get_gpio(struct device_node *np, int index) in of_get_gpio()
|
D | irqdomain.h | 39 struct device_node; 64 int (*match)(struct irq_domain *d, struct device_node *node); 67 int (*xlate)(struct irq_domain *d, struct device_node *node, 118 struct device_node *of_node; 149 struct irq_domain *__irq_domain_add(struct device_node *of_node, int size, 153 struct irq_domain *irq_domain_add_simple(struct device_node *of_node, 158 struct irq_domain *irq_domain_add_legacy(struct device_node *of_node, 164 extern struct irq_domain *irq_find_host(struct device_node *node); 174 static inline struct irq_domain *irq_domain_add_linear(struct device_node *of_node, in irq_domain_add_linear() 181 static inline struct irq_domain *irq_domain_add_nomap(struct device_node *of_node, in irq_domain_add_nomap() [all …]
|
D | of_iommu.h | 10 extern int of_get_dma_window(struct device_node *dn, const char *prefix, 16 struct device_node *master_np); 20 static inline int of_get_dma_window(struct device_node *dn, const char *prefix, in of_get_dma_window() 29 struct device_node *master_np) in of_iommu_configure() 36 void of_iommu_set_ops(struct device_node *np, struct iommu_ops *ops); 37 struct iommu_ops *of_iommu_get_ops(struct device_node *np); 41 typedef int (*of_iommu_init_fn)(struct device_node *);
|
D | of_net.h | 14 extern int of_get_phy_mode(struct device_node *np); 15 extern const void *of_get_mac_address(struct device_node *np); 16 extern struct net_device *of_find_net_device_by_node(struct device_node *np); 18 static inline int of_get_phy_mode(struct device_node *np) in of_get_phy_mode() 23 static inline const void *of_get_mac_address(struct device_node *np) in of_get_mac_address() 28 static inline struct net_device *of_find_net_device_by_node(struct device_node *np) in of_find_net_device_by_node()
|
D | of_platform.h | 57 extern struct platform_device *of_device_alloc(struct device_node *np, 60 extern struct platform_device *of_find_device_by_node(struct device_node *np); 63 extern struct platform_device *of_platform_device_create(struct device_node *np, 67 extern int of_platform_bus_probe(struct device_node *root, 71 extern int of_platform_populate(struct device_node *root, 77 static inline int of_platform_populate(struct device_node *root, in of_platform_populate()
|
D | arm-cci.h | 29 struct device_node; 38 extern int cci_ace_get_port(struct device_node *dn); 40 extern int __cci_control_port_by_device(struct device_node *dn, bool enable); 43 static inline int cci_ace_get_port(struct device_node *dn) in cci_ace_get_port() 48 static inline int __cci_control_port_by_device(struct device_node *dn, in __cci_control_port_by_device()
|
D | of_device.h | 47 static inline struct device_node *of_cpu_device_node_get(int cpu) in of_cpu_device_node_get() 56 void of_dma_configure(struct device *dev, struct device_node *np); 90 static inline struct device_node *of_cpu_device_node_get(int cpu) in of_cpu_device_node_get() 94 static inline void of_dma_configure(struct device *dev, struct device_node *np) in of_dma_configure()
|
D | cpu_cooling.h | 46 of_cpufreq_cooling_register(struct device_node *np, 50 of_cpufreq_cooling_register(struct device_node *np, in of_cpufreq_cooling_register() 71 of_cpufreq_cooling_register(struct device_node *np, in of_cpufreq_cooling_register()
|
D | clk-provider.h | 267 void of_fixed_clk_setup(struct device_node *np); 440 void of_fixed_factor_clk_setup(struct device_node *node); 547 void of_gpio_clk_gate_setup(struct device_node *node); 606 typedef void (*of_clk_init_cb_t)(struct device_node *); 618 int of_clk_add_provider(struct device_node *np, 622 void of_clk_del_provider(struct device_node *np); 626 int of_clk_get_parent_count(struct device_node *np); 627 const char *of_clk_get_parent_name(struct device_node *np, int index); 633 static inline int of_clk_add_provider(struct device_node *np, in of_clk_add_provider() 652 static inline const char *of_clk_get_parent_name(struct device_node *np, in of_clk_get_parent_name()
|
D | phy_fixed.h | 12 struct device_node; 19 struct device_node *np); 35 struct device_node *np) in fixed_phy_register()
|
D | clk.h | 487 struct device_node; 491 struct clk *of_clk_get(struct device_node *np, int index); 492 struct clk *of_clk_get_by_name(struct device_node *np, const char *name); 495 static inline struct clk *of_clk_get(struct device_node *np, int index) in of_clk_get() 499 static inline struct clk *of_clk_get_by_name(struct device_node *np, in of_clk_get_by_name()
|
D | reset.h | 5 struct device_node; 38 struct reset_control *of_reset_control_get(struct device_node *node, 90 struct device_node *node, const char *id) in of_reset_control_get()
|
D | pm_domain.h | 267 int __of_genpd_add_provider(struct device_node *np, genpd_xlate_t xlate, 269 void of_genpd_del_provider(struct device_node *np); 282 static inline int __of_genpd_add_provider(struct device_node *np, 287 static inline void of_genpd_del_provider(struct device_node *np) {} 304 static inline int of_genpd_add_provider_simple(struct device_node *np, in of_genpd_add_provider_simple() 309 static inline int of_genpd_add_provider_onecell(struct device_node *np, in of_genpd_add_provider_onecell()
|
D | msi.h | 109 struct device_node *of_node; 127 struct device_node; 216 struct irq_domain *msi_create_irq_domain(struct device_node *of_node, 228 struct irq_domain *pci_msi_create_irq_domain(struct device_node *node, 234 struct irq_domain *pci_msi_create_default_irq_domain(struct device_node *node,
|
D | power_supply.h | 177 struct device_node; 182 struct device_node *of_node; 232 struct device_node *of_node; 288 extern struct power_supply *power_supply_get_by_phandle(struct device_node *np, 292 power_supply_get_by_phandle(struct device_node *np, const char *property) in power_supply_get_by_phandle()
|
D | sunserialcore.h | 32 extern int sunserial_console_match(struct console *, struct device_node *, 35 struct device_node *);
|
D | genalloc.h | 36 struct device_node; 128 extern struct gen_pool *of_get_named_gen_pool(struct device_node *np, 131 static inline struct gen_pool *of_get_named_gen_pool(struct device_node *np, in of_get_named_gen_pool()
|
/linux-4.1.27/drivers/clk/at91/ |
D | pmc.h | 59 int of_at91_get_clk_range(struct device_node *np, const char *propname, 62 extern void __init of_at91sam9260_clk_slow_setup(struct device_node *np, 65 extern void __init of_at91rm9200_clk_main_osc_setup(struct device_node *np, 67 extern void __init of_at91sam9x5_clk_main_rc_osc_setup(struct device_node *np, 69 extern void __init of_at91rm9200_clk_main_setup(struct device_node *np, 71 extern void __init of_at91sam9x5_clk_main_setup(struct device_node *np, 74 extern void __init of_at91rm9200_clk_pll_setup(struct device_node *np, 76 extern void __init of_at91sam9g45_clk_pll_setup(struct device_node *np, 78 extern void __init of_at91sam9g20_clk_pllb_setup(struct device_node *np, 80 extern void __init of_sama5d3_clk_pll_setup(struct device_node *np, [all …]
|
D | pmc.c | 45 int of_at91_get_clk_range(struct device_node *np, const char *propname, in of_at91_get_clk_range() 135 struct device_node *ctrlr, in pmc_irq_domain_xlate() 218 static struct at91_pmc *__init at91_pmc_init(struct device_node *np, in at91_pmc_init() 376 static void __init of_at91_pmc_setup(struct device_node *np, in of_at91_pmc_setup() 380 struct device_node *childnp; in of_at91_pmc_setup() 381 void (*clk_setup)(struct device_node *, struct at91_pmc *); in of_at91_pmc_setup() 405 static void __init of_at91rm9200_pmc_setup(struct device_node *np) in of_at91rm9200_pmc_setup() 412 static void __init of_at91sam9260_pmc_setup(struct device_node *np) in of_at91sam9260_pmc_setup() 419 static void __init of_at91sam9g45_pmc_setup(struct device_node *np) in of_at91sam9g45_pmc_setup() 426 static void __init of_at91sam9n12_pmc_setup(struct device_node *np) in of_at91sam9n12_pmc_setup() [all …]
|
D | sckc.h | 15 extern void __init of_at91sam9x5_clk_slow_osc_setup(struct device_node *np, 17 extern void __init of_at91sam9x5_clk_slow_rc_osc_setup(struct device_node *np, 19 extern void __init of_at91sam9x5_clk_slow_setup(struct device_node *np,
|
D | sckc.c | 38 static void __init of_at91sam9x5_sckc_setup(struct device_node *np) in of_at91sam9x5_sckc_setup() 40 struct device_node *childnp; in of_at91sam9x5_sckc_setup() 41 void (*clk_setup)(struct device_node *, void __iomem *); in of_at91sam9x5_sckc_setup()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | dss-of.c | 25 struct device_node * 26 omapdss_of_get_next_port(const struct device_node *parent, in omapdss_of_get_next_port() 27 struct device_node *prev) in omapdss_of_get_next_port() 29 struct device_node *port = NULL; in omapdss_of_get_next_port() 35 struct device_node *ports; in omapdss_of_get_next_port() 49 struct device_node *ports; in omapdss_of_get_next_port() 69 struct device_node * 70 omapdss_of_get_next_endpoint(const struct device_node *parent, in omapdss_of_get_next_endpoint() 71 struct device_node *prev) in omapdss_of_get_next_endpoint() 73 struct device_node *ep = NULL; in omapdss_of_get_next_endpoint() [all …]
|
D | omapdss-boot-init.c | 39 struct device_node *node; 55 static void __init omapdss_update_prop(struct device_node *node, char *compat, in omapdss_update_prop() 91 static void __init omapdss_omapify_node(struct device_node *node) in omapdss_omapify_node() 120 static void __init omapdss_add_to_list(struct device_node *node, bool root) in omapdss_add_to_list() 131 static bool __init omapdss_list_contains(const struct device_node *node) in omapdss_list_contains() 143 static void __init omapdss_walk_device(struct device_node *node, bool root) in omapdss_walk_device() 145 struct device_node *n; in omapdss_walk_device() 163 struct device_node *pn; in omapdss_walk_device() 190 struct device_node *dss, *child; in omapdss_boot_init()
|
D | dss.h | 278 struct device_node *dss_of_port_get_parent_device(struct device_node *port); 279 u32 dss_of_port_get_port_number(struct device_node *port); 315 int sdi_init_port(struct platform_device *pdev, struct device_node *port) __init; 316 void sdi_uninit_port(struct device_node *port) __exit; 319 struct device_node *port) in sdi_init_port() 323 static inline void __exit sdi_uninit_port(struct device_node *port) in sdi_uninit_port() 356 int dpi_init_port(struct platform_device *pdev, struct device_node *port) __init; 357 void dpi_uninit_port(struct device_node *port) __exit; 360 struct device_node *port) in dpi_init_port() 364 static inline void __exit dpi_uninit_port(struct device_node *port) in dpi_uninit_port()
|
/linux-4.1.27/drivers/of/ |
D | of_private.h | 29 struct device_node *np; 39 static inline struct device_node *kobj_to_device_node(struct kobject *kobj) in kobj_to_device_node() 41 return container_of(kobj, struct device_node, kobj); in kobj_to_device_node() 45 extern int of_property_notify(int action, struct device_node *np, 49 static inline int of_property_notify(int action, struct device_node *np, in of_property_notify() 64 __printf(2, 3) struct device_node *__of_node_dup(const struct device_node *np, const char *fmt, ...… 66 extern const void *__of_get_property(const struct device_node *np, 68 extern int __of_add_property(struct device_node *np, struct property *prop); 69 extern int __of_add_property_sysfs(struct device_node *np, 71 extern int __of_remove_property(struct device_node *np, struct property *prop); [all …]
|
D | base.c | 35 struct device_node *of_root; 37 struct device_node *of_chosen; 38 struct device_node *of_aliases; 39 struct device_node *of_stdout; 57 int of_n_addr_cells(struct device_node *np) in of_n_addr_cells() 73 int of_n_size_cells(struct device_node *np) in of_n_size_cells() 90 int __weak of_node_to_nid(struct device_node *np) in of_node_to_nid() 135 int __of_add_property_sysfs(struct device_node *np, struct property *pp) in __of_add_property_sysfs() 159 int __of_attach_node_sysfs(struct device_node *np) in __of_attach_node_sysfs() 194 struct device_node *np; in of_core_init() [all …]
|
D | overlay.c | 35 struct device_node *target; 36 struct device_node *overlay; 57 struct device_node *target, const struct device_node *overlay); 60 struct device_node *target, struct property *prop) in of_overlay_apply_single_property() 86 struct device_node *target, struct device_node *child) in of_overlay_apply_single_device_node() 89 struct device_node *tchild; in of_overlay_apply_single_device_node() 131 struct device_node *target, const struct device_node *overlay) in of_overlay_apply_one() 133 struct device_node *child; in of_overlay_apply_one() 194 static struct device_node *find_target_node(struct device_node *info_node) in find_target_node() 231 struct device_node *info_node, struct of_overlay_info *ovinfo) in of_fill_overlay_info() [all …]
|
D | resolver.c | 29 static struct device_node *__of_find_node_by_full_name(struct device_node *node, in __of_find_node_by_full_name() 32 struct device_node *child, *found; in __of_find_node_by_full_name() 55 struct device_node *node; in of_get_tree_max_phandle() 77 static void __of_adjust_tree_phandles(struct device_node *node, in __of_adjust_tree_phandles() 80 struct device_node *child; in __of_adjust_tree_phandles() 114 static int __of_adjust_phandle_ref(struct device_node *node, in __of_adjust_phandle_ref() 118 struct device_node *refnode; in __of_adjust_phandle_ref() 195 static int __of_node_name_cmp(const struct device_node *dn1, in __of_node_name_cmp() 196 const struct device_node *dn2) in __of_node_name_cmp() 211 static int __of_adjust_tree_phandle_references(struct device_node *node, in __of_adjust_tree_phandle_references() [all …]
|
D | address.c | 17 static struct of_bus *of_match_bus(struct device_node *np); 18 static int __of_address_to_resource(struct device_node *dev, 39 int (*match)(struct device_node *parent); 40 void (*count_cells)(struct device_node *child, 52 static void of_bus_default_count_cells(struct device_node *dev, in of_bus_default_count_cells() 101 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match() 112 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells() 174 const __be32 *of_get_pci_address(struct device_node *dev, int bar_no, u64 *size, in of_get_pci_address() 179 struct device_node *parent; in of_get_pci_address() 218 int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource() [all …]
|
D | of_mdio.c | 28 static int of_get_phy_id(struct device_node *device, u32 *phy_id) in of_get_phy_id() 43 static int of_mdiobus_register_phy(struct mii_bus *mdio, struct device_node *child, in of_mdiobus_register_phy() 91 int of_mdio_parse_addr(struct device *dev, const struct device_node *np) in of_mdio_parse_addr() 121 int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register() 123 struct device_node *child; in of_mdiobus_register() 198 struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() 219 struct device_node *phy_np, in of_phy_connect() 242 struct device_node *phy_np, u32 flags, in of_phy_attach() 263 bool of_phy_is_fixed_link(struct device_node *np) in of_phy_is_fixed_link() 265 struct device_node *dn; in of_phy_is_fixed_link() [all …]
|
D | pdt.c | 28 void __initdata (*of_pdt_build_more)(struct device_node *dp); 37 static char * __init of_pdt_build_full_name(struct device_node *dp) in of_pdt_build_full_name() 62 static inline void irq_trans_init(struct device_node *dp) { } in irq_trans_init() 64 static char * __init of_pdt_build_full_name(struct device_node *dp) in of_pdt_build_full_name() 169 static struct device_node * __init of_pdt_create_node(phandle node, in of_pdt_create_node() 170 struct device_node *parent) in of_pdt_create_node() 172 struct device_node *dp; in of_pdt_create_node() 193 static struct device_node * __init of_pdt_build_tree(struct device_node *parent, in of_pdt_build_tree() 196 struct device_node *ret = NULL, *prev_sibling = NULL; in of_pdt_build_tree() 197 struct device_node *dp; in of_pdt_build_tree()
|
D | of_mtd.c | 35 int of_get_nand_ecc_mode(struct device_node *np) in of_get_nand_ecc_mode() 59 int of_get_nand_ecc_step_size(struct device_node *np) in of_get_nand_ecc_step_size() 76 int of_get_nand_ecc_strength(struct device_node *np) in of_get_nand_ecc_strength() 92 int of_get_nand_bus_width(struct device_node *np) in of_get_nand_bus_width() 115 bool of_get_nand_on_flash_bbt(struct device_node *np) in of_get_nand_on_flash_bbt()
|
D | irq.c | 37 unsigned int irq_of_parse_and_map(struct device_node *dev, int index) in irq_of_parse_and_map() 55 struct device_node *of_irq_find_parent(struct device_node *child) in of_irq_find_parent() 57 struct device_node *p; in of_irq_find_parent() 97 struct device_node *ipar, *tnode, *old = NULL, *newpar = NULL; in of_irq_parse_raw() 288 int of_irq_parse_one(struct device_node *device, int index, struct of_phandle_args *out_irq) in of_irq_parse_one() 290 struct device_node *p; in of_irq_parse_one() 361 int of_irq_to_resource(struct device_node *dev, int index, struct resource *r) in of_irq_to_resource() 396 int of_irq_get(struct device_node *dev, int index) in of_irq_get() 423 int of_irq_get_byname(struct device_node *dev, const char *name) in of_irq_get_byname() 441 int of_irq_count(struct device_node *dev) in of_irq_count() [all …]
|
D | of_pci.c | 9 static inline int __of_pci_pci_compare(struct device_node *node, in __of_pci_pci_compare() 21 struct device_node *of_pci_find_child_device(struct device_node *parent, in of_pci_find_child_device() 24 struct device_node *node, *node2; in of_pci_find_child_device() 56 int of_pci_get_devfn(struct device_node *np) in of_pci_get_devfn() 77 int of_pci_parse_bus_range(struct device_node *node, struct resource *res) in of_pci_parse_bus_range() 104 int of_get_pci_domain_nr(struct device_node *node) in of_get_pci_domain_nr() 160 int of_pci_get_host_bridge_resources(struct device_node *dev, in of_pci_get_host_bridge_resources() 284 struct msi_controller *of_pci_find_msi_chip_by_node(struct device_node *of_node) in of_pci_find_msi_chip_by_node()
|
D | platform.c | 46 struct platform_device *of_find_device_by_node(struct device_node *np) in of_find_device_by_node() 74 struct device_node *node = dev->of_node; in of_device_make_bus_id() 105 struct platform_device *of_device_alloc(struct device_node *np, in of_device_alloc() 169 struct device_node *np, in of_platform_device_create_pdata() 210 struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create() 219 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create() 283 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create() 296 struct device_node *np) in of_dev_lookup() 327 static int of_platform_bus_create(struct device_node *bus, in of_platform_bus_create() 333 struct device_node *child; in of_platform_bus_create() [all …]
|
D | dynamic.c | 24 struct device_node *of_node_get(struct device_node *node) in of_node_get() 37 void of_node_put(struct device_node *node) in of_node_put() 44 void __of_detach_node_sysfs(struct device_node *np) in __of_detach_node_sysfs() 202 int of_property_notify(int action, struct device_node *np, in of_property_notify() 217 void __of_attach_node(struct device_node *np) in __of_attach_node() 241 int of_attach_node(struct device_node *np) in of_attach_node() 262 void __of_detach_node(struct device_node *np) in __of_detach_node() 264 struct device_node *parent; in __of_detach_node() 276 struct device_node *prevsib; in __of_detach_node() 293 int of_detach_node(struct device_node *np) in of_detach_node() [all …]
|
D | unittest.c | 49 struct device_node *np; in of_unittest_find_node_by_name() 140 struct device_node *np; in of_unittest_dynamic() 199 static int __init of_unittest_check_node_linkage(struct device_node *np) in of_unittest_check_node_linkage() 201 struct device_node *child; in of_unittest_check_node_linkage() 222 struct device_node *np; in of_unittest_check_tree_linkage() 241 struct device_node *np; 247 struct device_node *np; in of_unittest_check_phandles() 285 struct device_node *np; in of_unittest_parse_phandle_with_args() 389 struct device_node *np; in of_unittest_property_string() 498 struct device_node *n1, *n2, *n21, *nremove, *parent, *np; in of_unittest_changeset() [all …]
|
D | of_net.c | 22 int of_get_phy_mode(struct device_node *np) in of_get_phy_mode() 41 static const void *of_get_mac_addr(struct device_node *np, const char *name) in of_get_mac_addr() 68 const void *of_get_mac_address(struct device_node *np) in of_get_mac_address()
|
/linux-4.1.27/include/linux/usb/ |
D | of.h | 15 enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np); 16 enum usb_device_speed of_usb_get_maximum_speed(struct device_node *np); 17 bool of_usb_host_tpl_support(struct device_node *np); 19 static inline enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np) in of_usb_get_dr_mode() 25 of_usb_get_maximum_speed(struct device_node *np) in of_usb_get_maximum_speed() 29 static inline bool of_usb_host_tpl_support(struct device_node *np) in of_usb_host_tpl_support() 36 enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np); 38 static inline enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np) in of_usb_get_phy_mode()
|
/linux-4.1.27/include/video/ |
D | of_display_timing.h | 12 struct device_node; 19 int of_get_display_timing(struct device_node *np, const char *name, 21 struct display_timings *of_get_display_timings(struct device_node *np); 22 int of_display_timings_exist(struct device_node *np); 24 static inline int of_get_display_timing(struct device_node *np, const char *name, in of_get_display_timing() 29 static inline struct display_timings *of_get_display_timings(struct device_node *np) in of_get_display_timings() 33 static inline int of_display_timings_exist(struct device_node *np) in of_display_timings_exist()
|
D | of_videomode.h | 12 struct device_node; 15 int of_get_videomode(struct device_node *np, struct videomode *vm,
|
/linux-4.1.27/drivers/pci/hotplug/ |
D | rpadlpar_core.c | 43 static struct device_node *find_vio_slot_node(char *drc_name) in find_vio_slot_node() 45 struct device_node *parent = of_find_node_by_name(NULL, "vdevice"); in find_vio_slot_node() 46 struct device_node *dn = NULL; in find_vio_slot_node() 63 static struct device_node *find_php_slot_pci_node(char *drc_name, in find_php_slot_pci_node() 66 struct device_node *np = NULL; in find_php_slot_pci_node() 81 static struct device_node *find_dlpar_node(char *drc_name, int *node_type) in find_dlpar_node() 83 struct device_node *dn; in find_dlpar_node() 115 static struct slot *find_php_slot(struct device_node *dn) in find_php_slot() 130 struct device_node *dev_dn) in dlpar_find_new_dev() 133 struct device_node *child_dn; in dlpar_find_new_dev() [all …]
|
D | rpaphp.h | 77 struct device_node *dn; 93 int rpaphp_add_slot(struct device_node *dn); 94 int rpaphp_get_drc_props(struct device_node *dn, int *drc_index, 99 struct slot *alloc_slot_struct(struct device_node *dn, int drc_index, char *drc_name, int power_dom…
|
/linux-4.1.27/include/media/ |
D | v4l2-of.h | 24 struct device_node; 80 struct device_node *local_node; 82 struct device_node *remote_node; 87 int v4l2_of_parse_endpoint(const struct device_node *node, 89 int v4l2_of_parse_link(const struct device_node *node, 94 static inline int v4l2_of_parse_endpoint(const struct device_node *node, in v4l2_of_parse_endpoint() 100 static inline int v4l2_of_parse_link(const struct device_node *node, in v4l2_of_parse_link()
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
D | pseries.h | 16 struct device_node; 18 extern void request_event_sources_irqs(struct device_node *np, 58 extern void dlpar_free_cc_nodes(struct device_node *); 60 extern struct device_node *dlpar_configure_connector(__be32, 61 struct device_node *); 62 extern int dlpar_attach_node(struct device_node *); 63 extern int dlpar_detach_node(struct device_node *);
|
D | dlpar.c | 68 static struct device_node *dlpar_parse_cc_node(struct cc_workarea *ccwa, in dlpar_parse_cc_node() 71 struct device_node *dn; in dlpar_parse_cc_node() 97 static void dlpar_free_one_cc_node(struct device_node *dn) in dlpar_free_one_cc_node() 111 void dlpar_free_cc_nodes(struct device_node *dn) in dlpar_free_cc_nodes() 131 struct device_node *dlpar_configure_connector(__be32 drc_index, in dlpar_configure_connector() 132 struct device_node *parent) in dlpar_configure_connector() 134 struct device_node *dn; in dlpar_configure_connector() 135 struct device_node *first_dn = NULL; in dlpar_configure_connector() 136 struct device_node *last_dn = NULL; in dlpar_configure_connector() 247 static struct device_node *derive_parent(const char *path) in derive_parent() [all …]
|
D | reconfig.c | 33 static struct device_node *derive_parent(const char *path) in derive_parent() 35 struct device_node *parent = NULL; in derive_parent() 59 struct device_node *np; in pSeries_reconfig_add_node() 99 static int pSeries_reconfig_remove_node(struct device_node *np) in pSeries_reconfig_remove_node() 101 struct device_node *parent, *child; in pSeries_reconfig_remove_node() 232 struct device_node *np; in do_add_node() 277 struct device_node *node; in do_remove_node() 287 static char *parse_node(char *buf, size_t bufsize, struct device_node **npp) in parse_node() 310 struct device_node *np; in do_add_property() 334 struct device_node *np; in do_remove_property() [all …]
|
D | pci_dlpar.c | 39 struct device_node *dn) in find_bus_among_children() 43 struct device_node *busdn; in find_bus_among_children() 58 pcibios_find_pci_bus(struct device_node *dn) in pcibios_find_pci_bus() 69 struct pci_controller *init_phb_dynamic(struct device_node *dn) in init_phb_dynamic()
|
D | msi.c | 132 struct device_node *dn; in check_req() 174 static struct device_node *find_pe_total_msi(struct pci_dev *dev, int *total) in find_pe_total_msi() 176 struct device_node *dn; in find_pe_total_msi() 195 static struct device_node *find_pe_dn(struct pci_dev *dev, int *total) in find_pe_dn() 197 struct device_node *dn; in find_pe_dn() 229 struct device_node *requestor; 237 static void *count_non_bridge_devices(struct device_node *dn, void *data) in count_non_bridge_devices() 254 static void *count_spare_msis(struct device_node *dn, void *data) in count_spare_msis() 285 struct device_node *pe_dn; in msi_quota_for_device()
|
D | iommu.c | 325 struct device_node *device; 466 struct device_node *dn, in iommu_table_setparms() 469 struct device_node *node; in iommu_table_setparms() 532 struct device_node *dn, in iommu_table_setparms_lpar() 551 struct device_node *dn; in pci_dma_bus_setup_pSeries() 553 struct device_node *isa_dn, *isa_dn_orig; in pci_dma_bus_setup_pSeries() 554 struct device_node *tmp; in pci_dma_bus_setup_pSeries() 632 struct device_node *dn, *pdn; in pci_dma_bus_setup_pSeriesLP() 671 struct device_node *dn; in pci_dma_dev_setup_pSeries() 723 static void remove_ddw(struct device_node *np, bool remove_prop) in remove_ddw() [all …]
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | prom.h | 35 unsigned int (*irq_build)(struct device_node *, unsigned int, void *); 39 struct device_node *of_find_node_by_cpuid(int cpuid); 40 int of_set_property(struct device_node *node, const char *name, void *val, int len); 42 int of_getintprop_default(struct device_node *np, 55 extern struct device_node *of_console_device; 59 void irq_trans_init(struct device_node *dp); 60 char *build_path_component(struct device_node *dp);
|
D | leon.h | 218 struct device_node; 227 void leon_trans_init(struct device_node *dp); 228 void leon_node_init(struct device_node *dp, struct device_node ***nextp);
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos_drm_dpi.c | 27 struct device_node *panel_node; 175 static struct device_node * 176 of_get_child_by_name_reg(struct device_node *parent, const char *name, u32 reg) in of_get_child_by_name_reg() 178 struct device_node *np; in of_get_child_by_name_reg() 196 static struct device_node *of_graph_get_port_by_reg(struct device_node *parent, in of_graph_get_port_by_reg() 199 struct device_node *ports, *port; in of_graph_get_port_by_reg() 212 static struct device_node * 213 of_graph_get_endpoint_by_reg(struct device_node *port, u32 reg) in of_graph_get_endpoint_by_reg() 218 static struct device_node * 219 of_graph_get_remote_port_parent(const struct device_node *node) in of_graph_get_remote_port_parent() [all …]
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | pmac_low_i2c.h | 60 extern struct pmac_i2c_bus *pmac_i2c_find_bus(struct device_node *node); 66 extern u8 pmac_i2c_get_dev_addr(struct device_node *device); 69 extern struct device_node *pmac_i2c_get_controller(struct pmac_i2c_bus *bus); 70 extern struct device_node *pmac_i2c_get_bus_node(struct pmac_i2c_bus *bus); 83 extern int pmac_i2c_match_adapter(struct device_node *dev, 88 extern int pmac_low_i2c_lock(struct device_node *np); 89 extern int pmac_low_i2c_unlock(struct device_node *np);
|
D | pci-bridge.h | 15 struct device_node; 44 struct device_node *dn; 156 extern int pci_device_from_OF_node(struct device_node *node, 189 struct device_node *node; /* back-pointer to the device_node */ 221 extern void *update_dn_pci_info(struct device_node *dn, void *data); 223 static inline int pci_device_from_OF_node(struct device_node *np, in pci_device_from_OF_node() 243 extern struct pci_bus *pcibios_find_pci_bus(struct device_node *dn); 274 struct device_node* node); 278 struct device_node *dev, int primary); 281 extern struct pci_controller *pcibios_alloc_controller(struct device_node *dev);
|
D | scom.h | 54 scom_map_t (*map)(struct device_node *ctrl_dev, u64 reg, u64 count); 89 static inline scom_map_t scom_map(struct device_node *ctrl_dev, in scom_map() 104 struct device_node *scom_find_parent(struct device_node *dev); 119 extern scom_map_t scom_map_device(struct device_node *dev, int index);
|
D | pmac_pfunc.h | 128 struct device_node *node; 177 extern int pmf_register_driver(struct device_node *np, 181 extern void pmf_unregister_driver(struct device_node *np); 187 extern int pmf_register_irq_client(struct device_node *np, 216 extern int pmf_do_functions(struct device_node *np, const char *name, 230 extern int pmf_call_function(struct device_node *target, const char *name, 239 extern struct pmf_function *pmf_find_function(struct device_node *target,
|
D | ppc-pci.h | 33 struct device_node; 36 typedef void *(*traverse_func)(struct device_node *me, void *data); 37 void *traverse_pci_devices(struct device_node *start, traverse_func pre, 48 extern unsigned long get_phb_buid (struct device_node *);
|
D | pci.h | 153 extern struct pci_controller *init_phb_dynamic(struct device_node *dn); 156 extern struct pci_dev *of_create_pci_dev(struct device_node *node, 161 extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); 162 extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus);
|
D | pmac_feature.h | 144 struct device_node; 146 static inline long pmac_call_feature(int selector, struct device_node* node, in pmac_call_feature() 346 struct device_node *of_node; 365 extern struct macio_chip* macio_find(struct device_node* child, int type); 382 extern struct device_node *uninorth_node;
|
D | dcr.h | 70 struct device_node; 71 extern unsigned int dcr_resource_start(const struct device_node *np, 73 extern unsigned int dcr_resource_len(const struct device_node *np,
|
D | setup.h | 14 struct device_node; 15 extern void note_scsi_host(struct device_node *, void *);
|
D | vio.h | 145 struct device_node; 148 struct device_node *node_vdev); 152 extern struct vio_dev *vio_find_node(struct device_node *vnode);
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
D | cbe_regs.c | 30 struct device_node *cpu_node; 31 struct device_node *be_node; 41 struct device_node *cpu_node; 42 struct device_node *be_node; 51 static struct cbe_regs_map *cbe_find_map(struct device_node *np) in cbe_find_map() 54 struct device_node *tmp_np; in cbe_find_map() 81 struct cbe_pmd_regs __iomem *cbe_get_pmd_regs(struct device_node *np) in cbe_get_pmd_regs() 99 struct cbe_pmd_shadow_regs *cbe_get_pmd_shadow_regs(struct device_node *np) in cbe_get_pmd_shadow_regs() 115 struct cbe_iic_regs __iomem *cbe_get_iic_regs(struct device_node *np) in cbe_get_iic_regs() 131 struct cbe_mic_tm_regs __iomem *cbe_get_mic_tm_regs(struct device_node *np) in cbe_get_mic_tm_regs() [all …]
|
D | spu_manage.c | 40 struct device_node *spu_devnode(struct spu *spu) in spu_devnode() 47 static u64 __init find_spu_unit_number(struct device_node *spe) in find_spu_unit_number() 80 struct device_node *np) in spu_map_interrupts_old() 112 struct device_node *n, in spu_map_prop_old() 130 struct device_node *node = spu->devnode; in spu_map_device_old() 178 static int __init spu_map_interrupts(struct spu *spu, struct device_node *np) in spu_map_interrupts() 214 struct device_node *np = spu->devnode; in spu_map_resource() 233 struct device_node *np = spu->devnode; in spu_map_device() 288 struct device_node *node; in of_enumerate_spus() 308 struct device_node *spe = (struct device_node *)data; in of_create_spu() [all …]
|
D | setup.c | 70 struct device_node *root; in cell_show_cpuinfo() 124 struct device_node *np; in cell_setup_phb() 160 struct device_node *root = of_find_node_by_path("/"); in cell_publish_devices() 161 struct device_node *np; in cell_publish_devices() 192 struct device_node *dn; in mpic_init_IRQ()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | prom_64.c | 73 static void __init sun4v_path_component(struct device_node *dp, char *tmp_buf) in sun4v_path_component() 114 static void __init sun4u_path_component(struct device_node *dp, char *tmp_buf) in sun4u_path_component() 149 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() 166 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() 191 static void __init upa_path_component(struct device_node *dp, char *tmp_buf) in upa_path_component() 213 static void __init vdev_path_component(struct device_node *dp, char *tmp_buf) in vdev_path_component() 228 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component() 246 static void __init i2c_path_component(struct device_node *dp, char *tmp_buf) in i2c_path_component() 265 static void __init usb_path_component(struct device_node *dp, char *tmp_buf) in usb_path_component() 286 static void __init ieee1394_path_component(struct device_node *dp, char *tmp_buf) in ieee1394_path_component() [all …]
|
D | of_device_common.c | 15 unsigned int irq_of_parse_and_map(struct device_node *node, int index) in irq_of_parse_and_map() 26 int of_address_to_resource(struct device_node *node, int index, in of_address_to_resource() 39 void __iomem *of_iomap(struct device_node *node, int index) in of_iomap() 59 struct device_node *bus_dp = bus->dev.of_node; in of_propagate_archdata() 60 struct device_node *dp; in of_propagate_archdata() 75 static void get_cells(struct device_node *dp, int *addrc, int *sizec) in get_cells() 87 void of_bus_default_count_cells(struct device_node *dev, int *addrc, int *sizec) in of_bus_default_count_cells() 149 int of_bus_sbus_match(struct device_node *np) in of_bus_sbus_match() 151 struct device_node *dp = np; in of_bus_sbus_match() 172 void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec) in of_bus_sbus_count_cells()
|
D | prom_irqtrans.c | 42 static unsigned int psycho_irq_build(struct device_node *dp, in psycho_irq_build() 72 static void __init psycho_irq_trans_init(struct device_node *dp) in psycho_irq_trans_init() 181 static int sabre_device_needs_wsync(struct device_node *dp) in sabre_device_needs_wsync() 183 struct device_node *parent = dp->parent; in sabre_device_needs_wsync() 220 static unsigned int sabre_irq_build(struct device_node *dp, in sabre_irq_build() 268 static void __init sabre_irq_trans_init(struct device_node *dp) in sabre_irq_trans_init() 377 static unsigned int schizo_irq_build(struct device_node *dp, in schizo_irq_build() 425 static void __init __schizo_irq_trans_init(struct device_node *dp, in __schizo_irq_trans_init() 448 static void __init schizo_irq_trans_init(struct device_node *dp) in schizo_irq_trans_init() 453 static void __init tomatillo_irq_trans_init(struct device_node *dp) in tomatillo_irq_trans_init() [all …]
|
D | of_device_common.h | 12 void of_bus_default_count_cells(struct device_node *dev, int *addrc, 19 int of_bus_sbus_match(struct device_node *np); 20 void of_bus_sbus_count_cells(struct device_node *child, int *addrc, int *sizec); 28 int (*match)(struct device_node *parent); 29 void (*count_cells)(struct device_node *child,
|
D | of_device_64.c | 45 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match() 68 static int of_bus_simba_match(struct device_node *np) in of_bus_simba_match() 92 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells() 169 static int of_bus_fhc_match(struct device_node *np) in of_bus_fhc_match() 229 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus() 240 static int __init build_one_resource(struct device_node *parent, in build_one_resource() 281 static int __init use_1to1_mapping(struct device_node *pp) in use_1to1_mapping() 354 struct device_node *dp = op->dev.of_node; in build_device_resources() 355 struct device_node *pp = p_op->dev.of_node; in build_device_resources() 418 static struct device_node * __init [all …]
|
D | prom_32.c | 61 static void __init sparc32_path_component(struct device_node *dp, char *tmp_buf) in sparc32_path_component() 77 static void __init sbus_path_component(struct device_node *dp, char *tmp_buf) in sbus_path_component() 94 static void __init pci_path_component(struct device_node *dp, char *tmp_buf) in pci_path_component() 119 static void __init ebus_path_component(struct device_node *dp, char *tmp_buf) in ebus_path_component() 136 static void __init ambapp_path_component(struct device_node *dp, char *tmp_buf) in ambapp_path_component() 175 static void __init __build_path_component(struct device_node *dp, char *tmp_buf) in __build_path_component() 177 struct device_node *parent = dp->parent; in __build_path_component() 197 char * __init build_path_component(struct device_node *dp) in build_path_component() 217 struct device_node *dp; in of_console_init() 335 void __init irq_trans_init(struct device_node *dp) in irq_trans_init()
|
D | of_device_32.c | 21 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match() 39 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells() 106 static int of_bus_ambapp_match(struct device_node *np) in of_bus_ambapp_match() 111 static void of_bus_ambapp_count_cells(struct device_node *child, in of_bus_ambapp_count_cells() 175 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus() 186 static int __init build_one_resource(struct device_node *parent, in build_one_resource() 221 static int __init use_1to1_mapping(struct device_node *pp) in use_1to1_mapping() 276 struct device_node *dp = op->dev.of_node; in build_device_resources() 277 struct device_node *pp = p_op->dev.of_node; in build_device_resources() 338 static struct platform_device * __init scan_one_device(struct device_node *dp, in scan_one_device() [all …]
|
/linux-4.1.27/include/linux/mfd/ |
D | syscon.h | 20 struct device_node; 23 extern struct regmap *syscon_node_to_regmap(struct device_node *np); 27 struct device_node *np, 30 static inline struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap() 46 struct device_node *np, in syscon_regmap_lookup_by_phandle()
|
/linux-4.1.27/include/linux/regulator/ |
D | of_regulator.h | 15 struct device_node *of_node; 22 struct device_node *node, 24 extern int of_regulator_match(struct device *dev, struct device_node *node, 30 struct device_node *node, in of_get_regulator_init_data() 37 struct device_node *node, in of_regulator_match()
|
/linux-4.1.27/drivers/hwtracing/coresight/ |
D | of_coresight.c | 35 of_coresight_get_endpoint_device(struct device_node *endpoint) in of_coresight_get_endpoint_device() 56 static void of_coresight_get_ports(struct device_node *node, in of_coresight_get_ports() 59 struct device_node *ep = NULL; in of_coresight_get_ports() 106 struct device *dev, struct device_node *node) in of_get_coresight_platform_data() 112 struct device_node *dn; in of_get_coresight_platform_data() 113 struct device_node *ep = NULL; in of_get_coresight_platform_data() 114 struct device_node *rparent = NULL; in of_get_coresight_platform_data() 115 struct device_node *rport = NULL; in of_get_coresight_platform_data()
|
/linux-4.1.27/include/linux/irqchip/ |
D | versatile-fpga.h | 4 struct device_node; 9 struct device_node *node); 10 int fpga_irq_of_init(struct device_node *node, 11 struct device_node *parent);
|
D | xtensa-pic.h | 15 struct device_node; 16 int xtensa_pic_init_legacy(struct device_node *interrupt_parent);
|
D | xtensa-mx.h | 14 struct device_node; 15 int xtensa_mx_init_legacy(struct device_node *interrupt_parent);
|
D | arm-gic.h | 96 struct device_node; 100 u32 offset, struct device_node *); 110 int gicv2m_of_init(struct device_node *node, struct irq_domain *parent);
|
/linux-4.1.27/drivers/acpi/acpica/ |
D | uteval.c | 208 struct acpi_namespace_node *device_node, in acpi_ut_evaluate_numeric_object() argument 216 status = acpi_ut_evaluate_object(device_node, object_name, in acpi_ut_evaluate_numeric_object() 250 acpi_ut_execute_STA(struct acpi_namespace_node *device_node, u32 * flags) in acpi_ut_execute_STA() argument 257 status = acpi_ut_evaluate_object(device_node, METHOD_NAME__STA, in acpi_ut_execute_STA() 268 acpi_ut_get_node_name(device_node))); in acpi_ut_execute_STA() 306 acpi_ut_execute_power_methods(struct acpi_namespace_node *device_node, in acpi_ut_execute_power_methods() argument 322 status = acpi_ut_evaluate_object(device_node, in acpi_ut_execute_power_methods() 344 acpi_ut_get_node_name(device_node), in acpi_ut_execute_power_methods()
|
D | nsinit.c | 456 struct acpi_namespace_node *device_node; in acpi_ns_init_one_device() local 462 device_node = ACPI_CAST_PTR(struct acpi_namespace_node, obj_handle); in acpi_ns_init_one_device() 463 if ((device_node->type != ACPI_TYPE_DEVICE) && in acpi_ns_init_one_device() 464 (device_node->type != ACPI_TYPE_PROCESSOR) && in acpi_ns_init_one_device() 465 (device_node->type != ACPI_TYPE_THERMAL)) { in acpi_ns_init_one_device() 476 if (!(device_node->flags & ANOBJ_SUBTREE_HAS_INI)) { in acpi_ns_init_one_device() 492 (ACPI_TYPE_METHOD, device_node, METHOD_NAME__STA)); in acpi_ns_init_one_device() 494 status = acpi_ut_execute_STA(device_node, &flags); in acpi_ns_init_one_device() 567 (ACPI_TYPE_METHOD, device_node, METHOD_NAME__INI)); in acpi_ns_init_one_device() 570 info->prefix_node = device_node; in acpi_ns_init_one_device() [all …]
|
D | utids.c | 69 acpi_ut_execute_HID(struct acpi_namespace_node *device_node, in acpi_ut_execute_HID() argument 79 status = acpi_ut_evaluate_object(device_node, METHOD_NAME__HID, in acpi_ut_execute_HID() 146 acpi_ut_execute_SUB(struct acpi_namespace_node *device_node, in acpi_ut_execute_SUB() argument 156 status = acpi_ut_evaluate_object(device_node, METHOD_NAME__SUB, in acpi_ut_execute_SUB() 214 acpi_ut_execute_UID(struct acpi_namespace_node *device_node, in acpi_ut_execute_UID() argument 224 status = acpi_ut_evaluate_object(device_node, METHOD_NAME__UID, in acpi_ut_execute_UID() 297 acpi_ut_execute_CID(struct acpi_namespace_node *device_node, in acpi_ut_execute_CID() argument 315 status = acpi_ut_evaluate_object(device_node, METHOD_NAME__CID, in acpi_ut_execute_CID()
|
/linux-4.1.27/drivers/video/ |
D | of_display_timing.c | 26 static int parse_timing_property(const struct device_node *np, const char *name, in parse_timing_property() 59 static int of_parse_display_timing(const struct device_node *np, in of_parse_display_timing() 113 int of_get_display_timing(struct device_node *np, const char *name, in of_get_display_timing() 116 struct device_node *timing_np; in of_get_display_timing() 136 struct display_timings *of_get_display_timings(struct device_node *np) in of_get_display_timings() 138 struct device_node *timings_np; in of_get_display_timings() 139 struct device_node *entry; in of_get_display_timings() 140 struct device_node *native_mode; in of_get_display_timings() 251 int of_display_timings_exist(struct device_node *np) in of_display_timings_exist() 253 struct device_node *timings_np; in of_display_timings_exist()
|
/linux-4.1.27/arch/powerpc/sysdev/ |
D | dcr.c | 28 static struct device_node *find_dcr_parent(struct device_node *node) in find_dcr_parent() 30 struct device_node *par, *tmp; in find_dcr_parent() 61 dcr_host_t dcr_map_generic(struct device_node *dev, in dcr_map_generic() 66 struct device_node *dp; in dcr_map_generic() 128 unsigned int dcr_resource_start(const struct device_node *np, in dcr_resource_start() 141 unsigned int dcr_resource_len(const struct device_node *np, unsigned int index) in dcr_resource_len() 155 static u64 of_translate_dcr_address(struct device_node *dev, in of_translate_dcr_address() 159 struct device_node *dp; in of_translate_dcr_address() 191 dcr_host_mmio_t dcr_map_mmio(struct device_node *dev, in dcr_map_mmio()
|
D | scom.c | 33 struct device_node *scom_find_parent(struct device_node *node) in scom_find_parent() 35 struct device_node *par, *tmp; in scom_find_parent() 53 scom_map_t scom_map_device(struct device_node *dev, int index) in scom_map_device() 55 struct device_node *parent; in scom_map_device() 101 struct device_node *dn; 186 static int scom_debug_init_one(struct dentry *root, struct device_node *dn, in scom_debug_init_one() 216 struct device_node *dn; in scom_debug_init()
|
D | fsl_soc.c | 51 struct device_node *soc; in get_immrbase() 83 struct device_node *soc; in fsl_get_sys_freq() 112 struct device_node *node; in get_brgfreq() 158 struct device_node *node; in get_baudrate() 185 struct device_node *np; in setup_rstcr()
|
D | mv64x60_dev.c | 34 static int __init mv64x60_mpsc_register_shared_pdev(struct device_node *np) in mv64x60_mpsc_register_shared_pdev() 40 struct device_node *mpscrouting, *mpscintr; in mv64x60_mpsc_register_shared_pdev() 89 static int __init mv64x60_mpsc_device_setup(struct device_node *np, int id) in mv64x60_mpsc_device_setup() 96 struct device_node *sdma, *brg; in mv64x60_mpsc_device_setup() 214 struct device_node *np, int id) in mv64x60_eth_register_shared_pdev() 241 static int __init mv64x60_eth_device_setup(struct device_node *np, int id, in mv64x60_eth_device_setup() 247 struct device_node *phy; in mv64x60_eth_device_setup() 338 static int __init mv64x60_i2c_device_setup(struct device_node *np, int id) in mv64x60_i2c_device_setup() 394 static int __init mv64x60_wdt_device_setup(struct device_node *np, int id) in mv64x60_wdt_device_setup() 445 struct device_node *np, *np2; in mv64x60_device_setup() [all …]
|
D | mpc5xxx_clocks.c | 14 unsigned long mpc5xxx_get_bus_frequency(struct device_node *node) in mpc5xxx_get_bus_frequency() 16 struct device_node *np; in mpc5xxx_get_bus_frequency()
|
/linux-4.1.27/drivers/clk/ti/ |
D | interface.c | 104 static void __init _of_ti_interface_clk_setup(struct device_node *node, in _of_ti_interface_clk_setup() 133 static void __init of_ti_interface_clk_setup(struct device_node *node) in of_ti_interface_clk_setup() 140 static void __init of_ti_no_wait_interface_clk_setup(struct device_node *node) in of_ti_no_wait_interface_clk_setup() 148 static void __init of_ti_hsotgusb_interface_clk_setup(struct device_node *node) in of_ti_hsotgusb_interface_clk_setup() 156 static void __init of_ti_dss_interface_clk_setup(struct device_node *node) in of_ti_dss_interface_clk_setup() 164 static void __init of_ti_ssi_interface_clk_setup(struct device_node *node) in of_ti_ssi_interface_clk_setup() 171 static void __init of_ti_am35xx_interface_clk_setup(struct device_node *node) in of_ti_am35xx_interface_clk_setup() 180 static void __init of_ti_omap2430_interface_clk_setup(struct device_node *node) in of_ti_omap2430_interface_clk_setup()
|
D | dpll.c | 143 struct device_node *node) in _register_dpll() 288 static void _register_dpll_x2(struct device_node *node, in _register_dpll_x2() 336 static void __init of_ti_dpll_setup(struct device_node *node, in of_ti_dpll_setup() 432 static void __init of_ti_omap4_dpll_x2_setup(struct device_node *node) in of_ti_omap4_dpll_x2_setup() 441 static void __init of_ti_am3_dpll_x2_setup(struct device_node *node) in of_ti_am3_dpll_x2_setup() 450 static void __init of_ti_omap3_dpll_setup(struct device_node *node) in of_ti_omap3_dpll_setup() 470 static void __init of_ti_omap3_core_dpll_setup(struct device_node *node) in of_ti_omap3_core_dpll_setup() 489 static void __init of_ti_omap3_per_dpll_setup(struct device_node *node) in of_ti_omap3_per_dpll_setup() 509 static void __init of_ti_omap3_per_jtype_dpll_setup(struct device_node *node) in of_ti_omap3_per_jtype_dpll_setup() 532 static void __init of_ti_omap4_dpll_setup(struct device_node *node) in of_ti_omap4_dpll_setup() [all …]
|
D | gate.c | 214 static void __init _of_ti_gate_clk_setup(struct device_node *node, in _of_ti_gate_clk_setup() 256 _of_ti_composite_gate_clk_setup(struct device_node *node, in _of_ti_composite_gate_clk_setup() 284 of_ti_composite_no_wait_gate_clk_setup(struct device_node *node) in of_ti_composite_no_wait_gate_clk_setup() 292 static void __init of_ti_composite_interface_clk_setup(struct device_node *node) in of_ti_composite_interface_clk_setup() 300 static void __init of_ti_composite_gate_clk_setup(struct device_node *node) in of_ti_composite_gate_clk_setup() 308 static void __init of_ti_clkdm_gate_clk_setup(struct device_node *node) in of_ti_clkdm_gate_clk_setup() 315 static void __init of_ti_hsdiv_gate_clk_setup(struct device_node *node) in of_ti_hsdiv_gate_clk_setup() 323 static void __init of_ti_gate_clk_setup(struct device_node *node) in of_ti_gate_clk_setup() 329 static void __init of_ti_wait_gate_clk_setup(struct device_node *node) in of_ti_wait_gate_clk_setup() 337 static void __init of_ti_am35xx_gate_clk_setup(struct device_node *node) in of_ti_am35xx_gate_clk_setup() [all …]
|
D | composite.c | 66 struct device_node *node; 78 static struct device_node *_get_component_node(struct device_node *node, int i) in _get_component_node() 91 static struct component_clk *_lookup_component(struct device_node *node) in _lookup_component() 104 struct device_node *comp_nodes[CLK_COMPONENT_TYPE_MAX]; 160 struct device_node *node) in _register_composite() 237 static void __init of_ti_composite_clk_setup(struct device_node *node) in of_ti_composite_clk_setup() 273 int __init ti_clk_add_component(struct device_node *node, struct clk_hw *hw, in ti_clk_add_component()
|
D | clk.c | 31 static struct device_node *clocks_node_ptr[CLK_MAX_MEMMAPS]; 45 struct device_node *node; in ti_dt_clocks_register() 65 struct device_node *node; 82 int __init ti_clk_retry_init(struct device_node *node, struct clk_hw *hw, in ti_clk_retry_init() 109 void __iomem *ti_clk_get_reg_addr(struct device_node *node, int index) in ti_clk_get_reg_addr() 150 void ti_dt_clk_init_provider(struct device_node *parent, int index) in ti_dt_clk_init_provider() 152 struct device_node *clocks; in ti_dt_clk_init_provider()
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | cpu_ops.h | 22 struct device_node; 51 int (*cpu_init)(struct device_node *, unsigned int); 61 int (*cpu_init_idle)(struct device_node *, unsigned int); 67 int __init cpu_read_ops(struct device_node *dn, int cpu);
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | legacy_serial.c | 31 struct device_node *np; 72 static int __init add_legacy_port(struct device_node *np, int want_index, in add_legacy_port() 161 static int __init add_legacy_soc_port(struct device_node *np, in add_legacy_soc_port() 162 struct device_node *soc_dev) in add_legacy_soc_port() 166 struct device_node *tsi = of_get_parent(np); in add_legacy_soc_port() 202 static int __init add_legacy_isa_port(struct device_node *np, in add_legacy_isa_port() 203 struct device_node *isa_brg) in add_legacy_isa_port() 250 static int __init add_legacy_pci_port(struct device_node *np, in add_legacy_pci_port() 251 struct device_node *pci_dev) in add_legacy_pci_port() 365 struct device_node *np, *stdout = NULL; in find_legacy_serial_ports() [all …]
|
D | rtas_pci.c | 94 struct device_node *busdn, *dn; in rtas_pci_read_config() 156 struct device_node *busdn, *dn; in rtas_pci_write_config() 182 static int is_python(struct device_node *dev) in is_python() 192 static void python_countermeasures(struct device_node *dev) in python_countermeasures() 237 unsigned long get_phb_buid(struct device_node *phb) in get_phb_buid() 248 static int phb_set_bus_ranges(struct device_node *dev, in phb_set_bus_ranges() 267 struct device_node *dev = phb->dn; in rtas_setup_phb()
|
D | isa-bridge.c | 37 static struct device_node *isa_bridge_devnode; 44 static void pci_process_ISA_OF_ranges(struct device_node *isa_node, in pci_process_ISA_OF_ranges() 131 struct device_node *np, *parent = NULL, *tmp; in isa_bridge_find_early() 174 struct device_node *devnode) in isa_bridge_find_late() 223 struct device_node *devnode = pci_device_to_OF_node(pdev); in isa_bridge_notify()
|
D | pci_of_scan.c | 25 static u32 get_int_prop(struct device_node *np, const char *name, u32 def) in get_int_prop() 74 static void of_pci_parse_addrs(struct device_node *node, struct pci_dev *dev) in of_pci_parse_addrs() 124 struct pci_dev *of_create_pci_dev(struct device_node *node, in of_create_pci_dev() 208 struct device_node *node = dev->dev.of_node; in of_scan_pci_bridge() 305 struct device_node *dn) in of_scan_pci_dev() 351 static void __of_scan_bus(struct device_node *node, struct pci_bus *bus, in __of_scan_bus() 354 struct device_node *child; in __of_scan_bus() 388 void of_scan_bus(struct device_node *node, struct pci_bus *bus) in of_scan_bus() 402 void of_rescan_bus(struct device_node *node, struct pci_bus *bus) in of_rescan_bus()
|
D | cacheinfo.c | 118 struct device_node *ofnode; /* OF node for this cache, may be cpu */ 144 struct device_node *ofnode) in cache_init() 153 static struct cache *new_cache(int type, int level, struct device_node *ofnode) in new_cache() 318 static struct cache *cache_lookup_by_node(const struct device_node *node) in cache_lookup_by_node() 333 static bool cache_node_is_unified(const struct device_node *np) in cache_node_is_unified() 347 static int cache_is_unified_d(const struct device_node *np) in cache_is_unified_d() 356 static struct cache *cache_do_one_devnode_unified(struct device_node *node, int level) in cache_do_one_devnode_unified() 363 static struct cache *cache_do_one_devnode_split(struct device_node *node, in cache_do_one_devnode_split() 386 static struct cache *cache_do_one_devnode(struct device_node *node, int level) in cache_do_one_devnode() 398 static struct cache *cache_lookup_or_instantiate(struct device_node *node, in cache_lookup_or_instantiate() [all …]
|
D | pci_dn.c | 45 struct device_node *dn; in pci_bus_to_pdn() 73 struct device_node *dn = NULL; in pci_get_pdn_by_devfn() 109 struct device_node *dn; in pci_get_pdn() 272 void *update_dn_pci_info(struct device_node *dn, void *data) in update_dn_pci_info() 277 struct device_node *parent; in update_dn_pci_info() 338 void *traverse_pci_devices(struct device_node *start, traverse_func pre, in traverse_pci_devices() 341 struct device_node *dn, *nextdn; in traverse_pci_devices() 428 struct device_node *dn = phb->dn; in pci_devs_phb_init_dynamic()
|
D | pci_32.c | 71 make_one_node_map(struct device_node* node, u8 pci_bus) in make_one_node_map() 113 struct device_node *dn; in pcibios_make_OF_bus_map() 129 struct device_node* node = hose->dn; in pcibios_make_OF_bus_map() 156 int pci_device_from_OF_node(struct device_node *node, u8 *bus, u8 *devfn) in pci_device_from_OF_node() 200 struct device_node *dn; in pci_create_OF_bus_map()
|
/linux-4.1.27/drivers/memory/ |
D | of_memory.h | 16 extern const struct lpddr2_min_tck *of_get_min_tck(struct device_node *np, 19 *of_get_ddr_timings(struct device_node *np_ddr, struct device *dev, 23 *of_get_min_tck(struct device_node *np, struct device *dev) in of_get_min_tck() 29 *of_get_ddr_timings(struct device_node *np_ddr, struct device *dev, in of_get_ddr_timings()
|
D | of_memory.c | 30 const struct lpddr2_min_tck *of_get_min_tck(struct device_node *np, in of_get_min_tck() 65 static int of_do_get_timings(struct device_node *np, in of_do_get_timings() 106 const struct lpddr2_timings *of_get_ddr_timings(struct device_node *np_ddr, in of_get_ddr_timings() 111 struct device_node *np_tim; in of_get_ddr_timings()
|
/linux-4.1.27/drivers/irqchip/ |
D | irq-or1k-pic.c | 147 static int __init or1k_pic_init(struct device_node *node, in or1k_pic_init() 161 static int __init or1k_pic_or1200_init(struct device_node *node, in or1k_pic_or1200_init() 162 struct device_node *parent) in or1k_pic_or1200_init() 169 static int __init or1k_pic_level_init(struct device_node *node, in or1k_pic_level_init() 170 struct device_node *parent) in or1k_pic_level_init() 177 static int __init or1k_pic_edge_init(struct device_node *node, in or1k_pic_edge_init() 178 struct device_node *parent) in or1k_pic_edge_init()
|
D | irq-atmel-aic-common.h | 25 struct device_node *ctrlr, 31 struct irq_domain *__init aic_common_of_init(struct device_node *node, 35 void __init aic_common_rtc_irq_fixup(struct device_node *root); 37 void __init aic_common_rtt_irq_fixup(struct device_node *root);
|
D | irq-atmel-aic-common.c | 96 struct device_node *ctrlr, in aic_common_irq_domain_xlate() 117 struct device_node *node = domain->of_node; in aic_common_ext_irq_of_init() 146 void __init aic_common_rtc_irq_fixup(struct device_node *root) in aic_common_rtc_irq_fixup() 148 struct device_node *np; in aic_common_rtc_irq_fixup() 174 void __init aic_common_rtt_irq_fixup(struct device_node *root) in aic_common_rtt_irq_fixup() 176 struct device_node *np; in aic_common_rtt_irq_fixup() 198 struct device_node *root = of_find_node_by_path("/"); in aic_common_irq_fixup() 208 void (*fixup)(struct device_node *) = match->data; in aic_common_irq_fixup() 215 struct irq_domain *__init aic_common_of_init(struct device_node *node, in aic_common_of_init()
|
D | irq-bcm7120-l2.c | 108 static int bcm7120_l2_intc_init_one(struct device_node *dn, in bcm7120_l2_intc_init_one() 140 static int __init bcm7120_l2_intc_iomap_7120(struct device_node *dn, in bcm7120_l2_intc_iomap_7120() 174 static int __init bcm7120_l2_intc_iomap_3380(struct device_node *dn, in bcm7120_l2_intc_iomap_3380() 205 int __init bcm7120_l2_intc_probe(struct device_node *dn, in bcm7120_l2_intc_probe() 206 struct device_node *parent, in bcm7120_l2_intc_probe() 207 int (*iomap_regs_fn)(struct device_node *, in bcm7120_l2_intc_probe() argument 312 int __init bcm7120_l2_intc_probe_7120(struct device_node *dn, in bcm7120_l2_intc_probe_7120() 313 struct device_node *parent) in bcm7120_l2_intc_probe_7120() 319 int __init bcm7120_l2_intc_probe_3380(struct device_node *dn, in bcm7120_l2_intc_probe_3380() 320 struct device_node *parent) in bcm7120_l2_intc_probe_3380()
|
D | irq-xtensa-pic.c | 31 struct device_node *ctrlr, in xtensa_pic_irq_domain_xlate() 90 int __init xtensa_pic_init_legacy(struct device_node *interrupt_parent) in xtensa_pic_init_legacy() 99 static int __init xtensa_pic_init(struct device_node *np, in xtensa_pic_init() 100 struct device_node *interrupt_parent) in xtensa_pic_init()
|
D | spear-shirq.c | 222 struct device_node *np) in shirq_init() 269 static int __init spear300_shirq_of_init(struct device_node *np, in spear300_shirq_of_init() 270 struct device_node *parent) in spear300_shirq_of_init() 277 static int __init spear310_shirq_of_init(struct device_node *np, in spear310_shirq_of_init() 278 struct device_node *parent) in spear310_shirq_of_init() 285 static int __init spear320_shirq_of_init(struct device_node *np, in spear320_shirq_of_init() 286 struct device_node *parent) in spear320_shirq_of_init()
|
D | irq-atmel-aic5.c | 260 struct device_node *ctrlr, in aic5_irq_domain_xlate() 296 static void __init sama5d3_aic_irq_fixup(struct device_node *root) in sama5d3_aic_irq_fixup() 307 static int __init aic5_of_init(struct device_node *node, in aic5_of_init() 308 struct device_node *parent, in aic5_of_init() 352 static int __init sama5d3_aic5_of_init(struct device_node *node, in sama5d3_aic5_of_init() 353 struct device_node *parent) in sama5d3_aic5_of_init() 361 static int __init sama5d4_aic5_of_init(struct device_node *node, in sama5d4_aic5_of_init() 362 struct device_node *parent) in sama5d4_aic5_of_init()
|
D | irq-atmel-aic.c | 172 struct device_node *ctrlr, in aic_irq_domain_xlate() 212 static void __init at91rm9200_aic_irq_fixup(struct device_node *root) in at91rm9200_aic_irq_fixup() 217 static void __init at91sam9260_aic_irq_fixup(struct device_node *root) in at91sam9260_aic_irq_fixup() 222 static void __init at91sam9g45_aic_irq_fixup(struct device_node *root) in at91sam9g45_aic_irq_fixup() 241 static int __init aic_of_init(struct device_node *node, in aic_of_init() 242 struct device_node *parent) in aic_of_init()
|
D | irq-xtensa-mx.c | 46 struct device_node *ctrlr, in xtensa_mx_irq_domain_xlate() 143 int __init xtensa_mx_init_legacy(struct device_node *interrupt_parent) in xtensa_mx_init_legacy() 154 static int __init xtensa_mx_init(struct device_node *np, in xtensa_mx_init() 155 struct device_node *interrupt_parent) in xtensa_mx_init()
|
D | irq-sunxi-nmi.c | 121 static int __init sunxi_sc_nmi_irq_init(struct device_node *node, in sunxi_sc_nmi_irq_init() 196 static int __init sun6i_sc_nmi_irq_init(struct device_node *node, in sun6i_sc_nmi_irq_init() 197 struct device_node *parent) in sun6i_sc_nmi_irq_init() 203 static int __init sun7i_sc_nmi_irq_init(struct device_node *node, in sun7i_sc_nmi_irq_init() 204 struct device_node *parent) in sun7i_sc_nmi_irq_init()
|
/linux-4.1.27/drivers/cpufreq/ |
D | arm_big_little_dt.c | 34 static struct device_node *get_cpu_node_with_valid_op(int cpu) in get_cpu_node_with_valid_op() 36 struct device_node *np = of_cpu_device_node_get(cpu); in get_cpu_node_with_valid_op() 48 struct device_node *np; in dt_init_opp_table() 65 struct device_node *np; in dt_get_transition_latency() 90 struct device_node *np; in generic_bL_probe()
|
D | pmac32-cpufreq.c | 380 static u32 read_gpio(struct device_node *np) in read_gpio() 449 static int pmac_cpufreq_init_MacRISC3(struct device_node *cpunode) in pmac_cpufreq_init_MacRISC3() 451 struct device_node *volt_gpio_np = of_find_node_by_name(NULL, in pmac_cpufreq_init_MacRISC3() 453 struct device_node *freq_gpio_np = of_find_node_by_name(NULL, in pmac_cpufreq_init_MacRISC3() 455 struct device_node *slew_done_gpio_np = of_find_node_by_name(NULL, in pmac_cpufreq_init_MacRISC3() 542 static int pmac_cpufreq_init_7447A(struct device_node *cpunode) in pmac_cpufreq_init_7447A() 544 struct device_node *volt_gpio_np; in pmac_cpufreq_init_7447A() 569 static int pmac_cpufreq_init_750FX(struct device_node *cpunode) in pmac_cpufreq_init_750FX() 571 struct device_node *volt_gpio_np; in pmac_cpufreq_init_750FX() 611 struct device_node *cpunode; in pmac_cpufreq_setup()
|
D | qoriq-cpufreq.c | 34 struct device_node *parent; 87 struct device_node *soc; in get_bus_freq() 102 static struct device_node *cpu_to_clk_node(int cpu) in cpu_to_clk_node() 104 struct device_node *np, *clk_np; in cpu_to_clk_node() 125 struct device_node *np, *clk_np; in set_affected_cpus() 199 struct device_node *np; in qoriq_cpufreq_cpu_init() 338 struct device_node *np; in qoriq_cpufreq_init()
|
/linux-4.1.27/drivers/iommu/ |
D | of_iommu.c | 44 int of_get_dma_window(struct device_node *dn, const char *prefix, int index, in of_get_dma_window() 100 struct device_node *np; 106 void of_iommu_set_ops(struct device_node *np, struct iommu_ops *ops) in of_iommu_set_ops() 121 struct iommu_ops *of_iommu_get_ops(struct device_node *np) in of_iommu_get_ops() 137 struct device_node *master_np) in of_iommu_configure() 140 struct device_node *np; in of_iommu_configure() 176 struct device_node *np; in of_iommu_init()
|
/linux-4.1.27/drivers/sbus/char/ |
D | openprom.c | 58 struct device_node *current_node; /* Current node for SunOS ioctls. */ 59 struct device_node *lastnode; /* Last valid node used by BSD ioctls. */ 64 static struct device_node *options_node; 143 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromgetprop() 160 static int opromnxtprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromnxtprop() 190 static int opromsetopt(struct device_node *dp, struct openpromio *op, int bufsize) in opromsetopt() 198 static int opromnext(void __user *argp, unsigned int cmd, struct device_node *dp, struct openpromio… in opromnext() 245 static int oprompci2node(void __user *argp, struct device_node *dp, struct openpromio *op, int bufs… in oprompci2node() 252 struct device_node *dp; in oprompci2node() 270 static int oprompath2node(void __user *argp, struct device_node *dp, struct openpromio *op, int buf… in oprompath2node() [all …]
|
/linux-4.1.27/include/linux/pinctrl/ |
D | pinconf-generic.h | 172 struct device_node *np, struct pinctrl_map **map, 176 struct device_node *np_config, struct pinctrl_map **map, 180 struct pinctrl_dev *pctldev, struct device_node *np_config, in pinconf_generic_dt_node_to_map_group() 188 struct pinctrl_dev *pctldev, struct device_node *np_config, in pinconf_generic_dt_node_to_map_pin() 196 struct pinctrl_dev *pctldev, struct device_node *np_config, in pinconf_generic_dt_node_to_map_all()
|
D | pinctrl.h | 29 struct device_node; 101 struct device_node *np_config, 166 extern struct pinctrl_dev *of_pinctrl_get(struct device_node *np); 169 struct pinctrl_dev *of_pinctrl_get(struct device_node *np) in of_pinctrl_get()
|
/linux-4.1.27/arch/microblaze/include/asm/ |
D | pci-bridge.h | 14 struct device_node; 32 struct device_node *dn; 133 struct device_node *node); 137 struct device_node *dev, int primary); 140 extern struct pci_controller *pcibios_alloc_controller(struct device_node *dev);
|
D | pci.h | 105 extern struct pci_controller *init_phb_dynamic(struct device_node *dn); 108 extern struct pci_dev *of_create_pci_dev(struct device_node *node, 111 extern void of_scan_pci_bridge(struct device_node *node, 114 extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); 115 extern void of_rescan_bus(struct device_node *node, struct pci_bus *bus);
|
D | cpuinfo.h | 96 void set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu); 97 void set_cpuinfo_pvr_full(struct cpuinfo *ci, struct device_node *cpu); 99 static inline unsigned int fcpu(struct device_node *cpu, char *n) in fcpu()
|
/linux-4.1.27/include/linux/clk/ |
D | clk-conf.h | 10 struct device_node; 13 int of_clk_set_defaults(struct device_node *node, bool clk_supplier); 15 static inline int of_clk_set_defaults(struct device_node *node, in of_clk_set_defaults()
|
D | ti.h | 228 typedef void (*ti_of_clk_init_cb_t)(struct clk_hw *, struct device_node *); 319 void __iomem *ti_clk_get_reg_addr(struct device_node *node, int index); 321 void ti_dt_clk_init_provider(struct device_node *np, int index); 324 int ti_clk_retry_init(struct device_node *node, struct clk_hw *hw, 326 int of_ti_clk_autoidle_setup(struct device_node *node); 327 int ti_clk_add_component(struct device_node *node, struct clk_hw *hw, int type);
|
/linux-4.1.27/arch/mips/include/asm/ |
D | irq_cpu.h | 21 struct device_node; 22 extern int mips_cpu_irq_of_init(struct device_node *of_node, 23 struct device_node *parent);
|
D | pci.h | 30 struct device_node *of_node; 155 struct device_node *node); 158 struct device_node *node) {} in pci_load_of_ranges()
|
/linux-4.1.27/include/drm/ |
D | drm_of.h | 5 struct device_node; 9 struct device_node *port); 12 struct device_node *port) in drm_of_find_possible_crtcs()
|
/linux-4.1.27/drivers/clk/ |
D | clk-nspire.c | 67 static void __init nspire_ahbdiv_setup(struct device_node *node, in nspire_ahbdiv_setup() 94 static void __init nspire_ahbdiv_setup_cx(struct device_node *node) in nspire_ahbdiv_setup_cx() 99 static void __init nspire_ahbdiv_setup_classic(struct device_node *node) in nspire_ahbdiv_setup_classic() 109 static void __init nspire_clk_setup(struct device_node *node, in nspire_clk_setup() 141 static void __init nspire_clk_setup_cx(struct device_node *node) in nspire_clk_setup_cx() 146 static void __init nspire_clk_setup_classic(struct device_node *node) in nspire_clk_setup_classic()
|
/linux-4.1.27/arch/powerpc/platforms/powermac/ |
D | feature.c | 59 extern struct device_node *k2_skiplist[2]; 76 struct macio_chip *macio_find(struct device_node *child, int type) in macio_find() 108 struct device_node *uninorth_node; 120 typedef long (*feature_call)(struct device_node *node, long param, long value); 141 static inline int simple_feature_tweak(struct device_node *node, int type, in simple_feature_tweak() 163 static long ohare_htw_scc_enable(struct device_node *node, long param, in ohare_htw_scc_enable() 256 static long ohare_floppy_enable(struct device_node *node, long param, in ohare_floppy_enable() 263 static long ohare_mesh_enable(struct device_node *node, long param, long value) in ohare_mesh_enable() 269 static long ohare_ide_enable(struct device_node *node, long param, long value) in ohare_ide_enable() 289 static long ohare_ide_reset(struct device_node *node, long param, long value) in ohare_ide_reset() [all …]
|
D | setup.c | 107 struct device_node *np; in pmac_show_cpuinfo() 185 struct device_node *dn = of_find_node_by_name(NULL, "via-cuda"); in find_via_cuda() 199 struct device_node *dn = of_find_node_by_name(NULL, "via-pmu"); in find_via_pmu() 223 struct device_node *dn; in ohare_init() 252 struct device_node *np = of_find_node_by_name(NULL, "cpus"); in l2cr_init() 279 struct device_node *cpu, *ic; in pmac_setup_arch() 347 void note_scsi_host(struct device_node *node, void *host) in note_scsi_host() 490 struct device_node *np; in pmac_declare_of_platform_devices() 533 struct device_node *prom_stdout = NULL; in check_pmac_serial_console()
|
D | pic.c | 50 struct device_node *of_irq_dflt_pic; 271 static int pmac_pic_host_match(struct irq_domain *h, struct device_node *node) in pmac_pic_host_match() 300 struct device_node *master = NULL; in pmac_pic_probe_oldstyle() 301 struct device_node *slave = NULL; in pmac_pic_probe_oldstyle() 331 struct device_node *tmp; in pmac_pic_probe_oldstyle() 399 int of_irq_parse_oldworld(struct device_node *device, int index, in of_irq_parse_oldworld() 439 struct device_node* pswitch; in pmac_pic_setup_mpic_nmi() 454 static struct mpic * __init pmac_setup_one_mpic(struct device_node *np, in pmac_setup_one_mpic() 484 struct device_node *np, *master = NULL, *slave = NULL; in pmac_pic_probe_mpic() 549 struct device_node *np; in pmac_pic_init() [all …]
|
D | low_i2c.c | 81 struct device_node *controller; 82 struct device_node *busnode; 488 static struct pmac_i2c_host_kw *__init kw_i2c_host_init(struct device_node *np) in kw_i2c_host_init() 570 struct device_node *controller, in kw_i2c_add() 571 struct device_node *busnode, in kw_i2c_add() 600 struct device_node *np, *child, *parent; in kw_i2c_probe() 783 struct device_node *busnode; in pmu_i2c_probe() 899 struct device_node *controller, *busnode; in smu_i2c_probe() 958 struct pmac_i2c_bus *pmac_i2c_find_bus(struct device_node *node) in pmac_i2c_find_bus() 960 struct device_node *p = of_node_get(node); in pmac_i2c_find_bus() [all …]
|
D | pci.c | 51 struct device_node *k2_skiplist[2]; 63 static int __init fixup_one_level_bus_range(struct device_node *node, int higher) in fixup_one_level_bus_range() 91 static void __init fixup_bus_range(struct device_node *bridge) in fixup_bus_range() 179 struct device_node *np; in chaos_map_bus() 235 struct device_node *busdn, *dn; in u3_ht_skip_device() 496 struct device_node *p2pbridge; in init_p2pbridge() 534 struct device_node *np = of_find_node_by_name(NULL, "pci106b,7"); in init_second_ohare() 569 struct device_node *nec; in fixup_nec_usb2() 709 struct device_node *np = hose->dn; in setup_u3_ht() 777 static int __init pmac_add_bridge(struct device_node *dev) in pmac_add_bridge() [all …]
|
/linux-4.1.27/drivers/clocksource/ |
D | dw_apb_timer_of.c | 26 static void __init timer_get_base_and_rate(struct device_node *np, in timer_get_base_and_rate() 62 static void __init add_clockevent(struct device_node *event_timer) in add_clockevent() 85 static void __init add_clocksource(struct device_node *source_timer) in add_clocksource() 121 struct device_node *sched_timer; in init_sched_clock() 134 static void __init dw_apb_timer_init(struct device_node *timer) in dw_apb_timer_init()
|
/linux-4.1.27/drivers/gpu/drm/rcar-du/ |
D | rcar_du_hdmienc.h | 19 struct device_node; 25 struct rcar_du_encoder *renc, struct device_node *np); 29 struct device_node *np) in rcar_du_hdmienc_init()
|
/linux-4.1.27/drivers/gpu/drm/imx/ |
D | imx-drm.h | 4 struct device_node; 29 struct device_node *port); 48 int imx_drm_encoder_get_mux_id(struct device_node *node, 51 struct drm_encoder *encoder, struct device_node *np);
|
/linux-4.1.27/drivers/bus/ |
D | vexpress-config.c | 53 static void vexpress_config_find_prop(struct device_node *node, in vexpress_config_find_prop() 69 int vexpress_config_get_topo(struct device_node *node, u32 *site, in vexpress_config_get_topo() 162 const struct device_node *node = data; in vexpress_config_node_match() 170 static int vexpress_config_populate(struct device_node *node) in vexpress_config_populate() 172 struct device_node *bridge; in vexpress_config_populate() 190 struct device_node *node; in vexpress_config_init()
|
/linux-4.1.27/include/linux/phy/ |
D | phy.h | 134 struct phy *devm_of_phy_get(struct device *dev, struct device_node *np, 138 struct phy *of_phy_get(struct device_node *np, const char *con_id); 141 struct phy *phy_create(struct device *dev, struct device_node *node, 143 struct phy *devm_phy_create(struct device *dev, struct device_node *node, 258 struct device_node *np, in devm_of_phy_get() 272 static inline struct phy *of_phy_get(struct device_node *np, const char *con_id) in of_phy_get() 284 struct device_node *node, in phy_create() 291 struct device_node *node, in devm_phy_create()
|
/linux-4.1.27/arch/arm/mach-mvebu/ |
D | coherency.c | 100 static void __init armada_370_coherency_init(struct device_node *np) in armada_370_coherency_init() 138 static void __init armada_375_380_coherency_init(struct device_node *np) in armada_375_380_coherency_init() 140 struct device_node *cache_dn; in armada_375_380_coherency_init() 170 struct device_node *np; in coherency_type() 217 struct device_node *np; in coherency_init()
|
/linux-4.1.27/include/drm/bridge/ |
D | ptn3460.h | 21 struct device_node; 26 struct i2c_client *client, struct device_node *node); 34 struct device_node *node) in ptn3460_init()
|
/linux-4.1.27/arch/x86/kernel/ |
D | devicetree.c | 71 struct device_node *pcibios_get_phb_of_node(struct pci_bus *bus) in pcibios_get_phb_of_node() 73 struct device_node *np; in pcibios_get_phb_of_node() 122 struct device_node *dn; in dtb_setup_hpet() 141 struct device_node *dn; in dtb_lapic_setup() 200 struct device_node *controller, in ioapic_xlate() 233 static void __init dtb_add_ioapic(struct device_node *dn) in dtb_add_ioapic() 254 struct device_node *dn; in dtb_ioapic_setup()
|
/linux-4.1.27/arch/arm64/kernel/ |
D | topology.c | 26 static int __init get_cpu_for_node(struct device_node *node) in get_cpu_for_node() 28 struct device_node *cpu_node; in get_cpu_for_node() 48 static int __init parse_core(struct device_node *core, int cluster_id, in parse_core() 55 struct device_node *t; in parse_core() 96 static int __init parse_cluster(struct device_node *cluster, int depth) in parse_cluster() 101 struct device_node *c; in parse_cluster() 166 struct device_node *cn, *map; in parse_dt_topology()
|
D | psci.c | 60 typedef int (*psci_initcall_t)(const struct device_node *); 189 static int __maybe_unused cpu_psci_cpu_init_idle(struct device_node *cpu_node, in cpu_psci_cpu_init_idle() 194 struct device_node *state_node; in cpu_psci_cpu_init_idle() 246 static int get_set_conduit_method(struct device_node *np) in get_set_conduit_method() 341 static int __init psci_0_2_init(struct device_node *np) in psci_0_2_init() 366 static int __init psci_0_1_init(struct device_node *np) in psci_0_1_init() 411 struct device_node *np; in psci_dt_init() 447 static int __init cpu_psci_cpu_init(struct device_node *dn, unsigned int cpu) in cpu_psci_cpu_init()
|
/linux-4.1.27/drivers/clk/versatile/ |
D | clk-versatile.c | 60 static void __init cm_osc_setup(struct device_node *np, in cm_osc_setup() 69 struct device_node *parent; in cm_osc_setup() 89 static void __init of_integrator_cm_osc_setup(struct device_node *np) in of_integrator_cm_osc_setup() 96 static void __init of_versatile_cm_osc_setup(struct device_node *np) in of_versatile_cm_osc_setup()
|
/linux-4.1.27/arch/powerpc/platforms/85xx/ |
D | common.c | 66 struct device_node *np; in mpc85xx_cpm2_pic_init() 91 struct device_node *np; in mpc85xx_qe_init() 115 struct device_node *np; in mpc85xx_qe_par_io_init() 119 struct device_node *ucc; in mpc85xx_qe_par_io_init()
|
D | ge_imp3a.c | 48 struct device_node *np; in ge_imp3a_pic_init() 49 struct device_node *cascade_node = NULL; in ge_imp3a_pic_init() 89 struct device_node *np; in ge_imp3a_pci_assign_primary() 109 struct device_node *regs; in ge_imp3a_setup_arch()
|
D | mpc85xx_ds.c | 65 struct device_node *np; in mpc85xx_ds_pic_init() 66 struct device_node *cascade_node = NULL; in mpc85xx_ds_pic_init() 119 static struct device_node *pci_with_uli; 134 struct device_node *node; in mpc85xx_ds_uli_init()
|
D | p1022_ds.c | 165 struct device_node *guts_node; in p1022ds_set_monitor_port() 166 struct device_node *lbc_node = NULL; in p1022ds_set_monitor_port() 167 struct device_node *law_node = NULL; in p1022ds_set_monitor_port() 291 struct device_node *pixis_node; in p1022ds_set_monitor_port() 374 struct device_node *guts_np = NULL; in p1022ds_set_pixel_clock() 488 struct device_node *np = in p1022_ds_setup_arch() 492 struct device_node *np2; in p1022_ds_setup_arch()
|
/linux-4.1.27/arch/arm/mach-shmobile/ |
D | pm-rmobile.c | 231 struct device_node *pd; 245 static void __init add_special_pd(struct device_node *np, enum pd_types type) in add_special_pd() 248 struct device_node *pd; in add_special_pd() 276 struct device_node *np; in get_special_pds() 300 static enum pd_types __init pd_type(const struct device_node *pd) in pd_type() 311 static void __init rmobile_setup_pm_domain(struct device_node *np, in rmobile_setup_pm_domain() 362 struct device_node *parent, in rmobile_add_pm_domains() 365 struct device_node *np; in rmobile_add_pm_domains() 395 struct device_node *np, *pmd; in rmobile_init_pm_domains()
|
/linux-4.1.27/drivers/mfd/ |
D | syscon.c | 34 struct device_node *np; 45 static struct syscon *of_syscon_register(struct device_node *np) in of_syscon_register() 95 struct regmap *syscon_node_to_regmap(struct device_node *np) in syscon_node_to_regmap() 121 struct device_node *syscon_np; in syscon_regmap_lookup_by_compatible() 156 struct regmap *syscon_regmap_lookup_by_phandle(struct device_node *np, in syscon_regmap_lookup_by_phandle() 159 struct device_node *syscon_np; in syscon_regmap_lookup_by_phandle()
|
/linux-4.1.27/drivers/media/platform/xilinx/ |
D | xilinx-vipp.c | 43 struct device_node *node; 56 const struct device_node *node) in xvip_graph_find_entity() 78 struct device_node *ep = NULL; in xvip_graph_build_one() 79 struct device_node *next; in xvip_graph_build_one() 191 struct device_node *node = xdev->dev->of_node; in xvip_graph_build_dma() 198 struct device_node *ep = NULL; in xvip_graph_build_dma() 199 struct device_node *next; in xvip_graph_build_dma() 349 struct device_node *node) in xvip_graph_parse_one() 352 struct device_node *remote; in xvip_graph_parse_one() 353 struct device_node *ep = NULL; in xvip_graph_parse_one() [all …]
|
D | xilinx-vtc.h | 18 struct device_node; 35 struct xvtc_device *xvtc_of_get(struct device_node *np);
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_of.c | 17 struct device_node *port) in drm_crtc_port_mask() 44 struct device_node *port) in drm_of_find_possible_crtcs() 46 struct device_node *remote_port, *ep; in drm_of_find_possible_crtcs()
|
/linux-4.1.27/drivers/clk/socfpga/ |
D | clk.h | 34 void __init socfpga_pll_init(struct device_node *node); 35 void __init socfpga_periph_init(struct device_node *node); 36 void __init socfpga_gate_init(struct device_node *node);
|
/linux-4.1.27/sound/soc/sh/rcar/ |
D | rsrc-card.c | 175 struct device_node *np, in rsrc_card_sub_parse_of() 183 struct device_node **p_node; in rsrc_card_sub_parse_of() 267 static int rsrc_card_parse_daifmt(struct device_node *node, in rsrc_card_parse_daifmt() 269 struct device_node *codec, in rsrc_card_parse_daifmt() 272 struct device_node *bitclkmaster = NULL; in rsrc_card_parse_daifmt() 273 struct device_node *framemaster = NULL; in rsrc_card_parse_daifmt() 302 static int rsrc_card_dai_link_of(struct device_node *node, in rsrc_card_dai_link_of() 309 struct device_node *cpu = NULL; in rsrc_card_dai_link_of() 310 struct device_node *codec = NULL; in rsrc_card_dai_link_of() 398 static int rsrc_card_parse_of(struct device_node *node, in rsrc_card_parse_of() [all …]
|
/linux-4.1.27/arch/c6x/platforms/ |
D | dscr.c | 102 void (*init)(struct device_node *node); 284 static void __init dscr_parse_devstat(struct device_node *node, in dscr_parse_devstat() 296 static void __init dscr_parse_silicon_rev(struct device_node *node, in dscr_parse_silicon_rev() 327 static void __init dscr_parse_mac_fuse(struct device_node *node, in dscr_parse_mac_fuse() 346 static void __init dscr_parse_rmii_resets(struct device_node *node, in dscr_parse_rmii_resets() 368 static void __init dscr_parse_privperm(struct device_node *node, in dscr_parse_privperm() 396 static void __init dscr_parse_locked_regs(struct device_node *node, in dscr_parse_locked_regs() 431 static void __init dscr_parse_kick_regs(struct device_node *node, in dscr_parse_kick_regs() 469 static void __init dscr_parse_devstate_ctl_regs(struct device_node *node, in dscr_parse_devstate_ctl_regs() 525 static void __init dscr_parse_devstate_stat_regs(struct device_node *node, in dscr_parse_devstate_stat_regs() [all …]
|
/linux-4.1.27/drivers/clk/mvebu/ |
D | common.h | 22 struct device_node; 47 void __init mvebu_coreclk_setup(struct device_node *np, 50 void __init mvebu_clk_gating_setup(struct device_node *np,
|
/linux-4.1.27/drivers/dma/ |
D | of-dma.c | 60 int of_dma_controller_register(struct device_node *np, in of_dma_controller_register() 95 void of_dma_controller_free(struct device_node *np) in of_dma_controller_free() 123 static int of_dma_match_channel(struct device_node *np, const char *name, in of_dma_match_channel() 148 struct dma_chan *of_dma_request_slave_channel(struct device_node *np, in of_dma_request_slave_channel() 249 list_for_each_entry(chan, &dev->channels, device_node) in of_dma_xlate_by_chan_id()
|
/linux-4.1.27/drivers/macintosh/ams/ |
D | ams.h | 25 struct device_node *of_node; 66 extern int ams_pmu_init(struct device_node *np); 67 extern int ams_i2c_init(struct device_node *np);
|
/linux-4.1.27/drivers/clk/sunxi/ |
D | clk-usb.c | 95 static void __init sunxi_usb_clk_setup(struct device_node *node, in sunxi_usb_clk_setup() 179 static void __init sun4i_a10_usb_setup(struct device_node *node) in sun4i_a10_usb_setup() 190 static void __init sun5i_a13_usb_setup(struct device_node *node) in sun5i_a13_usb_setup() 201 static void __init sun6i_a31_usb_setup(struct device_node *node) in sun6i_a31_usb_setup() 215 static void __init sun9i_a80_usb_mod_setup(struct device_node *node) in sun9i_a80_usb_mod_setup() 229 static void __init sun9i_a80_usb_phy_setup(struct device_node *node) in sun9i_a80_usb_phy_setup()
|
D | clk-mod0.c | 81 static void __init sun4i_a10_mod0_setup(struct device_node *node) in sun4i_a10_mod0_setup() 102 struct device_node *np = pdev->dev.of_node; in sun4i_a10_mod0_clk_probe() 141 static void __init sun9i_a80_mod0_setup(struct device_node *node) in sun9i_a80_mod0_setup() 159 static void __init sun5i_a13_mbus_setup(struct device_node *node) in sun5i_a13_mbus_setup() 306 static void __init sunxi_mmc_setup(struct device_node *node, in sunxi_mmc_setup() 380 static void __init sun4i_a10_mmc_setup(struct device_node *node) in sun4i_a10_mmc_setup() 388 static void __init sun9i_a80_mmc_setup(struct device_node *node) in sun9i_a80_mmc_setup()
|
D | clk-sun9i-core.c | 91 static void __init sun9i_a80_pll4_setup(struct device_node *node) in sun9i_a80_pll4_setup() 151 static void __init sun9i_a80_gt_setup(struct device_node *node) in sun9i_a80_gt_setup() 216 static void __init sun9i_a80_ahb_setup(struct device_node *node) in sun9i_a80_ahb_setup() 242 static void __init sun9i_a80_apb0_setup(struct device_node *node) in sun9i_a80_apb0_setup() 308 static void __init sun9i_a80_apb1_setup(struct device_node *node) in sun9i_a80_apb1_setup()
|
/linux-4.1.27/drivers/regulator/ |
D | of_regulator.c | 27 static void of_get_regulation_constraints(struct device_node *np, in of_get_regulation_constraints() 34 struct device_node *suspend_np; in of_get_regulation_constraints() 160 struct device_node *node, in of_get_regulator_init_data() 209 int of_regulator_match(struct device *dev, struct device_node *node, in of_regulator_match() 216 struct device_node *child; in of_regulator_match() 274 struct device_node **node) in regulator_of_get_init_data() 276 struct device_node *search, *child; in regulator_of_get_init_data()
|
/linux-4.1.27/sound/soc/generic/ |
D | simple-card.c | 198 asoc_simple_card_sub_parse_of(struct device_node *np, in asoc_simple_card_sub_parse_of() 200 struct device_node **p_node, in asoc_simple_card_sub_parse_of() 259 static int asoc_simple_card_parse_daifmt(struct device_node *node, in asoc_simple_card_parse_daifmt() 261 struct device_node *codec, in asoc_simple_card_parse_daifmt() 266 struct device_node *bitclkmaster = NULL; in asoc_simple_card_parse_daifmt() 267 struct device_node *framemaster = NULL; in asoc_simple_card_parse_daifmt() 301 static int asoc_simple_card_dai_link_of(struct device_node *node, in asoc_simple_card_dai_link_of() 309 struct device_node *cpu = NULL; in asoc_simple_card_dai_link_of() 310 struct device_node *codec = NULL; in asoc_simple_card_dai_link_of() 402 static int asoc_simple_card_parse_of(struct device_node *node, in asoc_simple_card_parse_of() [all …]
|
/linux-4.1.27/drivers/pci/host/ |
D | pci-keystone.h | 26 struct device_node *legacy_intc_np; 30 struct device_node *msi_intc_np; 46 struct device_node *msi_intc_np);
|
/linux-4.1.27/arch/powerpc/platforms/pasemi/ |
D | misc.c | 34 static int __init find_i2c_driver(struct device_node *node, in find_i2c_driver() 53 struct device_node *adap_node; in pasemi_register_i2c_devices() 54 struct device_node *node; in pasemi_register_i2c_devices()
|
/linux-4.1.27/drivers/media/v4l2-core/ |
D | v4l2-of.c | 22 static int v4l2_of_parse_csi_bus(const struct device_node *node, in v4l2_of_parse_csi_bus() 80 static void v4l2_of_parse_parallel_bus(const struct device_node *node, in v4l2_of_parse_parallel_bus() 146 int v4l2_of_parse_endpoint(const struct device_node *node, in v4l2_of_parse_endpoint() 185 int v4l2_of_parse_link(const struct device_node *node, in v4l2_of_parse_link() 188 struct device_node *np; in v4l2_of_parse_link()
|
/linux-4.1.27/arch/xtensa/platforms/xtfpga/ |
D | setup.c | 85 static void __init update_clock_frequency(struct device_node *node) in update_clock_frequency() 109 static void __init update_local_mac(struct device_node *node) in update_local_mac() 138 struct device_node *clock; in machine_setup() 139 struct device_node *eth = NULL; in machine_setup() 170 struct device_node *cpu = in platform_calibrate_ccount()
|
/linux-4.1.27/drivers/gpio/ |
D | gpiolib-of.c | 74 struct gpio_desc *of_get_named_gpiod_flags(struct device_node *np, in of_get_named_gpiod_flags() 107 int of_get_named_gpio_flags(struct device_node *np, const char *list_name, in of_get_named_gpio_flags() 132 static struct gpio_desc *of_get_gpio_hog(struct device_node *np, in of_get_gpio_hog() 137 struct device_node *chip_np; in of_get_gpio_hog() 211 struct device_node *np; in of_gpiochip_scan_hogs() 286 int of_mm_gpiochip_add(struct device_node *np, in of_mm_gpiochip_add() 343 struct device_node *np = chip->of_node; in of_gpiochip_add_pin_range()
|
/linux-4.1.27/drivers/cpuidle/ |
D | dt_idle_states.c | 26 struct device_node *state_node) in init_state_node() 98 static bool idle_state_valid(struct device_node *state_node, unsigned int idx, in idle_state_valid() 102 struct device_node *cpu_node, *curr_state_node; in idle_state_valid() 156 struct device_node *state_node, *cpu_node; in dt_init_idle_driver()
|
/linux-4.1.27/arch/powerpc/platforms/chrp/ |
D | setup.c | 100 struct device_node *root; in chrp_show_cpuinfo() 196 struct device_node *root; in sio_init() 217 struct device_node *np; in pegasos_set_l2cr() 258 struct device_node *node; in chrp_init_early() 303 struct device_node *root = of_find_node_by_path("/"); in chrp_setup_arch() 382 struct device_node *np, *root; in chrp_find_openpic() 470 struct device_node *np, *pic = NULL; in chrp_find_8259() 528 struct device_node *kbd; in chrp_init_IRQ()
|
D | pci.c | 136 struct device_node *np; in hydra_init() 164 setup_python(struct pci_controller *hose, struct device_node *dev) in setup_python() 189 static void __init setup_peg2(struct pci_controller *hose, struct device_node *dev) in setup_peg2() 191 struct device_node *root = of_find_node_by_path("/"); in setup_peg2() 192 struct device_node *rtas; in setup_peg2() 209 struct device_node *dev; in chrp_find_bridges() 216 struct device_node *root = of_find_node_by_path("/"); in chrp_find_bridges()
|
/linux-4.1.27/drivers/pinctrl/ |
D | devicetree.c | 98 struct pinctrl_dev *of_pinctrl_get(struct device_node *np) in of_pinctrl_get() 110 struct device_node *np_config) in dt_to_map_one_config() 112 struct device_node *np_pctldev; in dt_to_map_one_config() 177 struct device_node *np = p->dev->of_node; in pinctrl_dt_to_map() 185 struct device_node *np_config; in pinctrl_dt_to_map()
|
/linux-4.1.27/arch/powerpc/platforms/83xx/ |
D | misc.c | 76 struct device_node *np; in mpc83xx_ipic_init_IRQ() 98 struct device_node *np; in mpc83xx_qe_init_IRQ() 137 struct device_node *np; in mpc83xx_setup_pci()
|
/linux-4.1.27/arch/powerpc/platforms/512x/ |
D | mpc5121_ads_cpld.c | 23 static struct device_node *cpld_pic_node; 126 cpld_pic_host_match(struct irq_domain *h, struct device_node *node) in cpld_pic_host_match() 148 struct device_node *np = NULL; in mpc5121_ads_cpld_map() 164 struct device_node *np = NULL; in mpc5121_ads_cpld_pic_init()
|
D | mpc512x_shared.c | 38 struct device_node *np; in mpc512x_restart_init() 75 struct device_node *np; in mpc512x_set_pixel_clock() 223 struct device_node *np; in mpc512x_init_diu() 320 struct device_node *np; in mpc512x_init_IRQ() 381 static unsigned int __init get_fifo_size(struct device_node *np, in get_fifo_size() 402 struct device_node *np; in mpc512x_psc_fifo_init() 494 struct device_node *np; in mpc512x_cs_config()
|
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/ |
D | mvme5100.c | 59 struct device_node *np; in mvme5100_pic_init() 60 struct device_node *cp = NULL; in mvme5100_pic_init() 111 static int __init mvme5100_add_bridge(struct device_node *dev) in mvme5100_add_bridge() 162 struct device_node *np; in mvme5100_setup_arch()
|
D | flipper-pic.c | 111 static int flipper_pic_match(struct irq_domain *h, struct device_node *np) in flipper_pic_match() 134 struct irq_domain * __init flipper_pic_init(struct device_node *np) in flipper_pic_init() 136 struct device_node *pi; in flipper_pic_init() 196 struct device_node *np; in flipper_pic_probe()
|
/linux-4.1.27/drivers/thermal/ |
D | of-thermal.c | 49 struct device_node *cooling_device; 395 thermal_zone_of_add_sensor(struct device_node *zone, in thermal_zone_of_add_sensor() 396 struct device_node *sensor, void *data, in thermal_zone_of_add_sensor() 459 struct device_node *np, *child, *sensor_np; in thermal_zone_of_sensor_register() 573 static int thermal_of_populate_bind_params(struct device_node *np, in thermal_of_populate_bind_params() 579 struct device_node *trip; in thermal_of_populate_bind_params() 648 static int thermal_of_get_trip_type(struct device_node *np, in thermal_of_get_trip_type() 677 static int thermal_of_populate_trip(struct device_node *np, in thermal_of_populate_trip() 725 thermal_of_build_thermal_zone(struct device_node *np) in thermal_of_build_thermal_zone() 727 struct device_node *child = NULL, *gchild; in thermal_of_build_thermal_zone() [all …]
|
/linux-4.1.27/arch/powerpc/mm/ |
D | numa.c | 177 static const __be32 *of_get_associativity(struct device_node *dev) in of_get_associativity() 187 static const __be32 *of_get_usable_memory(struct device_node *memory) in of_get_usable_memory() 261 static int of_node_to_nid_single(struct device_node *device) in of_node_to_nid_single() 273 int of_node_to_nid(struct device_node *device) in of_node_to_nid() 275 struct device_node *tmp; in of_node_to_nid() 297 struct device_node *root; in find_min_common_depth() 367 struct device_node *memory = NULL; in get_n_mem_cells() 415 static int of_get_drconf_memory(struct device_node *memory, const __be32 **dm) in of_get_drconf_memory() 440 static u64 of_get_lmb_size(struct device_node *memory) in of_get_lmb_size() 468 static int of_get_assoc_arrays(struct device_node *memory, in of_get_assoc_arrays() [all …]
|
/linux-4.1.27/sound/soc/fsl/ |
D | fsl_utils.h | 19 struct device_node; 21 int fsl_asoc_get_dma_channel(struct device_node *ssi_np, const char *name,
|
/linux-4.1.27/drivers/mtd/ |
D | ofpart.c | 23 static bool node_has_compatible(struct device_node *pp) in node_has_compatible() 32 struct device_node *node; in parse_ofpart_partitions() 34 struct device_node *pp; in parse_ofpart_partitions() 116 struct device_node *dp; in parse_ofoldpart_partitions()
|
/linux-4.1.27/sound/soc/atmel/ |
D | atmel_wm8904.c | 82 struct device_node *np = pdev->dev.of_node; in atmel_asoc_wm8904_dt_init() 83 struct device_node *codec_np, *cpu_np; in atmel_asoc_wm8904_dt_init() 140 id = of_alias_get_id((struct device_node *)dailink->cpu_of_node, "ssc"); in atmel_asoc_wm8904_probe() 166 id = of_alias_get_id((struct device_node *)dailink->cpu_of_node, "ssc"); in atmel_asoc_wm8904_remove()
|
/linux-4.1.27/arch/powerpc/platforms/44x/ |
D | warp.c | 71 struct device_node *np; in warp_post_info() 175 struct device_node *np, *child; in pika_setup_leds() 194 static void pika_setup_critical_temp(struct device_node *np, in pika_setup_critical_temp() 237 struct device_node *np; in pika_dtm_thread() 279 struct device_node *np; in pika_dtm_start()
|
/linux-4.1.27/arch/arm/kernel/ |
D | psci.c | 32 typedef int (*psci_initcall_t)(const struct device_node *); 147 static int get_set_conduit_method(struct device_node *np) in get_set_conduit_method() 183 static int psci_0_2_init(struct device_node *np) in psci_0_2_init() 244 static int psci_0_1_init(struct device_node *np) in psci_0_1_init() 289 struct device_node *np; in psci_init()
|
/linux-4.1.27/drivers/usb/common/ |
D | common.c | 99 enum usb_dr_mode of_usb_get_dr_mode(struct device_node *np) in of_usb_get_dr_mode() 124 enum usb_device_speed of_usb_get_maximum_speed(struct device_node *np) in of_usb_get_maximum_speed() 149 bool of_usb_host_tpl_support(struct device_node *np) in of_usb_host_tpl_support()
|
/linux-4.1.27/drivers/mmc/host/ |
D | mmci_qcom_dml.h | 19 int dml_hw_init(struct mmci_host *host, struct device_node *np); 22 static inline int dml_hw_init(struct mmci_host *host, struct device_node *np) in dml_hw_init()
|
/linux-4.1.27/drivers/clk/shmobile/ |
D | clk-emev2.c | 52 struct device_node *np; in emev2_smu_init() 71 static void __init emev2_smu_clkdiv_init(struct device_node *np) in emev2_smu_clkdiv_init() 89 static void __init emev2_smu_gclk_init(struct device_node *np) in emev2_smu_gclk_init()
|
/linux-4.1.27/drivers/clk/mmp/ |
D | reset.h | 22 void mmp_clk_reset_register(struct device_node *np, 25 static inline void mmp_clk_reset_register(struct device_node *np, in mmp_clk_reset_register()
|
/linux-4.1.27/arch/powerpc/platforms/maple/ |
D | setup.c | 73 struct device_node *rtcs; in maple_find_nvram_base() 101 struct device_node *sp; in maple_restart() 128 struct device_node *sp; in maple_power_off() 218 struct device_node *root, *np, *mpic_node = NULL; in maple_init_IRQ() 346 struct device_node *np = NULL; in maple_cpc925_edac_setup()
|