/linux-4.4.14/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_endpoint_by_regs( 49 const struct device_node *parent, int port_reg, int reg); 50 struct device_node *of_graph_get_remote_port_parent( 51 const struct device_node *node); 52 struct device_node *of_graph_get_remote_port(const struct device_node *node); [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; 38 extern int of_dma_controller_register(struct device_node *np, 42 extern void of_dma_controller_free(struct device_node *np); 44 extern int of_dma_router_register(struct device_node *np, 50 extern struct dma_chan *of_dma_request_slave_channel(struct device_node *np, 58 static inline int of_dma_controller_register(struct device_node *np, in of_dma_controller_register() 66 static inline void of_dma_controller_free(struct device_node *np) in of_dma_controller_free() 70 static inline int of_dma_router_register(struct device_node *np, in of_dma_router_register() 80 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; 51 extern int of_get_named_gpio_flags(struct device_node *np, 54 extern int of_mm_gpiochip_add(struct device_node *np, 67 static inline int of_get_named_gpio_flags(struct device_node *np, in of_get_named_gpio_flags() 105 static inline int of_gpio_named_count(struct device_node *np, const char* propname) in of_gpio_named_count() 116 static inline int of_gpio_count(struct device_node *np) in of_gpio_count() 121 static inline int of_get_gpio_flags(struct device_node *np, int index, in of_get_gpio_flags() 136 static inline int of_get_named_gpio(struct device_node *np, in of_get_named_gpio() 150 static inline int of_get_gpio(struct device_node *np, int index) in of_get_gpio()
|
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, 75 extern int of_platform_default_populate(struct device_node *root, 80 static inline int of_platform_populate(struct device_node *root, in of_platform_populate() 87 static inline int of_platform_default_populate(struct device_node *root, in of_platform_default_populate()
|
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 | irqdomain.h | 37 struct device_node; 94 int (*match)(struct irq_domain *d, struct device_node *node, 98 int (*xlate)(struct irq_domain *d, struct device_node *node, 182 static inline struct device_node *irq_domain_get_of_node(struct irq_domain *d) in irq_domain_get_of_node() 194 struct irq_domain *irq_domain_add_simple(struct device_node *of_node, 199 struct irq_domain *irq_domain_add_legacy(struct device_node *of_node, 209 static inline struct fwnode_handle *of_node_to_fwnode(struct device_node *node) in of_node_to_fwnode() 214 static inline struct irq_domain *irq_find_matching_host(struct device_node *node, in irq_find_matching_host() 220 static inline struct irq_domain *irq_find_host(struct device_node *node) in irq_find_host() 232 static inline struct irq_domain *irq_domain_add_linear(struct device_node *of_node, in irq_domain_add_linear() [all …]
|
D | cpu_cooling.h | 53 of_cpufreq_cooling_register(struct device_node *np, 57 of_cpufreq_power_cooling_register(struct device_node *np, 63 of_cpufreq_cooling_register(struct device_node *np, in of_cpufreq_cooling_register() 70 of_cpufreq_power_cooling_register(struct device_node *np, in of_cpufreq_power_cooling_register() 100 of_cpufreq_cooling_register(struct device_node *np, in of_cpufreq_cooling_register() 107 of_cpufreq_power_cooling_register(struct device_node *np, in of_cpufreq_power_cooling_register()
|
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 | devfreq_cooling.h | 47 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df, 50 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df); 57 of_devfreq_cooling_register_power(struct device_node *np, struct devfreq *df, in of_devfreq_cooling_register_power() 64 of_devfreq_cooling_register(struct device_node *np, struct devfreq *df) in of_devfreq_cooling_register()
|
D | clk-provider.h | 286 void of_fixed_clk_setup(struct device_node *np); 466 void of_fixed_factor_clk_setup(struct device_node *node); 609 void of_gpio_clk_gate_setup(struct device_node *node); 626 void of_gpio_mux_clk_setup(struct device_node *node); 683 typedef void (*of_clk_init_cb_t)(struct device_node *); 695 int of_clk_add_provider(struct device_node *np, 699 void of_clk_del_provider(struct device_node *np); 703 int of_clk_get_parent_count(struct device_node *np); 704 int of_clk_parent_fill(struct device_node *np, const char **parents, 706 const char *of_clk_get_parent_name(struct device_node *np, int index); [all …]
|
D | nvmem-consumer.h | 16 struct device_node; 139 struct nvmem_cell *of_nvmem_cell_get(struct device_node *np, 141 struct nvmem_device *of_nvmem_device_get(struct device_node *np, 144 static inline struct nvmem_cell *of_nvmem_cell_get(struct device_node *np, in of_nvmem_cell_get() 150 static inline struct nvmem_device *of_nvmem_device_get(struct device_node *np, in of_nvmem_device_get()
|
D | of_device.h | 49 static inline struct device_node *of_cpu_device_node_get(int cpu) in of_cpu_device_node_get() 58 void of_dma_configure(struct device *dev, struct device_node *np); 97 static inline struct device_node *of_cpu_device_node_get(int cpu) in of_cpu_device_node_get() 101 static inline void of_dma_configure(struct device *dev, struct device_node *np) in of_dma_configure()
|
D | pm_domain.h | 192 int __of_genpd_add_provider(struct device_node *np, genpd_xlate_t xlate, 194 void of_genpd_del_provider(struct device_node *np); 207 static inline int __of_genpd_add_provider(struct device_node *np, 212 static inline void of_genpd_del_provider(struct device_node *np) {} 229 static inline int of_genpd_add_provider_simple(struct device_node *np, in of_genpd_add_provider_simple() 234 static inline int of_genpd_add_provider_onecell(struct device_node *np, in of_genpd_add_provider_onecell()
|
D | clk.h | 488 struct device_node; 492 struct clk *of_clk_get(struct device_node *np, int index); 493 struct clk *of_clk_get_by_name(struct device_node *np, const char *name); 496 static inline struct clk *of_clk_get(struct device_node *np, int index) in of_clk_get() 500 static inline struct clk *of_clk_get_by_name(struct device_node *np, in of_clk_get_by_name()
|
D | phy_fixed.h | 12 struct device_node; 21 struct device_node *np); 39 struct device_node *np) in fixed_phy_register()
|
D | reset.h | 5 struct device_node; 38 struct reset_control *of_reset_control_get(struct device_node *node, 104 struct device_node *node, const char *id) in of_reset_control_get()
|
D | power_supply.h | 177 struct device_node; 182 struct device_node *of_node; 237 struct device_node *of_node; 293 extern struct power_supply *power_supply_get_by_phandle(struct device_node *np, 299 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; 130 extern struct gen_pool *of_gen_pool_get(struct device_node *np, 133 static inline struct gen_pool *of_gen_pool_get(struct device_node *np, in of_gen_pool_get()
|
D | i2c.h | 304 struct device_node *of_node; 640 extern struct i2c_client *of_find_i2c_device_by_node(struct device_node *node); 643 extern struct i2c_adapter *of_find_i2c_adapter_by_node(struct device_node *node); 646 struct i2c_adapter *of_get_i2c_adapter_by_node(struct device_node *node); 649 static inline struct i2c_client *of_find_i2c_device_by_node(struct device_node *node) in of_find_i2c_device_by_node() 654 static inline struct i2c_adapter *of_find_i2c_adapter_by_node(struct device_node *node) in of_find_i2c_adapter_by_node() 659 static inline struct i2c_adapter *of_get_i2c_adapter_by_node(struct device_node *node) in of_get_i2c_adapter_by_node()
|
D | hwspinlock.h | 29 struct device_node; 70 int of_hwspin_lock_get_id(struct device_node *np, int index); 125 static inline int of_hwspin_lock_get_id(struct device_node *np, int index) in of_hwspin_lock_get_id()
|
/linux-4.4.14/drivers/clk/at91/ |
D | pmc.h | 59 int of_at91_get_clk_range(struct device_node *np, const char *propname, 62 void of_at91sam9260_clk_slow_setup(struct device_node *np, 65 void of_at91rm9200_clk_main_osc_setup(struct device_node *np, 67 void of_at91sam9x5_clk_main_rc_osc_setup(struct device_node *np, 69 void of_at91rm9200_clk_main_setup(struct device_node *np, 71 void of_at91sam9x5_clk_main_setup(struct device_node *np, 74 void of_at91rm9200_clk_pll_setup(struct device_node *np, 76 void of_at91sam9g45_clk_pll_setup(struct device_node *np, 78 void of_at91sam9g20_clk_pllb_setup(struct device_node *np, 80 void 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() 134 struct device_node *ctrlr, in pmc_irq_domain_xlate() 225 static struct at91_pmc *__init at91_pmc_init(struct device_node *np, in at91_pmc_init() 389 static void __init of_at91_pmc_setup(struct device_node *np, in of_at91_pmc_setup() 393 struct device_node *childnp; in of_at91_pmc_setup() 394 void (*clk_setup)(struct device_node *, struct at91_pmc *); in of_at91_pmc_setup() 418 static void __init of_at91rm9200_pmc_setup(struct device_node *np) in of_at91rm9200_pmc_setup() 425 static void __init of_at91sam9260_pmc_setup(struct device_node *np) in of_at91sam9260_pmc_setup() 432 static void __init of_at91sam9g45_pmc_setup(struct device_node *np) in of_at91sam9g45_pmc_setup() 439 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.4.14/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() 71 struct device_node * 72 omapdss_of_get_next_endpoint(const struct device_node *parent, in omapdss_of_get_next_endpoint() 73 struct device_node *prev) in omapdss_of_get_next_endpoint() 75 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); 316 void sdi_uninit_port(struct device_node *port); 319 struct device_node *port) in sdi_init_port() 323 static inline void sdi_uninit_port(struct device_node *port) in sdi_uninit_port() 356 int dpi_init_port(struct platform_device *pdev, struct device_node *port); 357 void dpi_uninit_port(struct device_node *port); 360 struct device_node *port) in dpi_init_port() 364 static inline void dpi_uninit_port(struct device_node *port) in dpi_uninit_port()
|
/linux-4.4.14/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() 195 static struct device_node *find_target_node(struct device_node *info_node) in find_target_node() 232 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 | irq.c | 38 unsigned int irq_of_parse_and_map(struct device_node *dev, int index) in irq_of_parse_and_map() 56 struct device_node *of_irq_find_parent(struct device_node *child) in of_irq_find_parent() 58 struct device_node *p; in of_irq_find_parent() 99 struct device_node *ipar, *tnode, *old = NULL, *newpar = NULL; in of_irq_parse_raw() 289 int of_irq_parse_one(struct device_node *device, int index, struct of_phandle_args *out_irq) in of_irq_parse_one() 291 struct device_node *p; in of_irq_parse_one() 362 int of_irq_to_resource(struct device_node *dev, int index, struct resource *r) in of_irq_to_resource() 397 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() 442 int of_irq_count(struct device_node *dev) in of_irq_count() [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 | 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_mdio.c | 29 static int of_get_phy_id(struct device_node *device, u32 *phy_id) in of_get_phy_id() 44 static int of_mdiobus_register_phy(struct mii_bus *mdio, struct device_node *child, in of_mdiobus_register_phy() 95 int of_mdio_parse_addr(struct device *dev, const struct device_node *np) in of_mdio_parse_addr() 125 int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) in of_mdiobus_register() 127 struct device_node *child; in of_mdiobus_register() 203 struct phy_device *of_phy_find_device(struct device_node *phy_np) in of_phy_find_device() 226 struct device_node *phy_np, in of_phy_connect() 259 struct device_node *phy_np, u32 flags, in of_phy_attach() 286 bool of_phy_is_fixed_link(struct device_node *np) in of_phy_is_fixed_link() 288 struct device_node *dn; in of_phy_is_fixed_link() [all …]
|
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 | 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() 211 struct platform_device *of_platform_device_create(struct device_node *np, in of_platform_device_create() 220 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create() 284 static struct amba_device *of_amba_device_create(struct device_node *node, in of_amba_device_create() 297 struct device_node *np) in of_dev_lookup() 328 static int of_platform_bus_create(struct device_node *bus, in of_platform_bus_create() 334 struct device_node *child; in of_platform_bus_create() [all …]
|
D | of_pci.c | 10 static inline int __of_pci_pci_compare(struct device_node *node, in __of_pci_pci_compare() 22 struct device_node *of_pci_find_child_device(struct device_node *parent, in of_pci_find_child_device() 25 struct device_node *node, *node2; in of_pci_find_child_device() 57 int of_pci_get_devfn(struct device_node *np) in of_pci_get_devfn() 78 int of_pci_parse_bus_range(struct device_node *node, struct resource *res) in of_pci_parse_bus_range() 105 int of_get_pci_domain_nr(struct device_node *node) in of_get_pci_domain_nr() 166 int of_pci_get_host_bridge_resources(struct device_node *dev, in of_pci_get_host_bridge_resources() 292 struct msi_controller *of_pci_find_msi_chip_by_node(struct device_node *of_node) in of_pci_find_msi_chip_by_node()
|
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() 226 struct device_node *np; in of_unittest_check_tree_linkage() 245 struct device_node *np; 251 struct device_node *np; in of_unittest_check_phandles() 289 struct device_node *np; in of_unittest_parse_phandle_with_args() 393 struct device_node *np; in of_unittest_property_string() 502 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.4.14/include/media/ |
D | v4l2-of.h | 24 struct device_node; 83 struct device_node *local_node; 85 struct device_node *remote_node; 90 int v4l2_of_parse_endpoint(const struct device_node *node, 93 const struct device_node *node); 95 int v4l2_of_parse_link(const struct device_node *node, 100 static inline int v4l2_of_parse_endpoint(const struct device_node *node, in v4l2_of_parse_endpoint() 107 const struct device_node *node) in v4l2_of_alloc_parse_endpoint() 116 static inline int v4l2_of_parse_link(const struct device_node *node, in v4l2_of_parse_link()
|
/linux-4.4.14/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.4.14/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.4.14/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 | 70 static struct device_node *dlpar_parse_cc_node(struct cc_workarea *ccwa, in dlpar_parse_cc_node() 73 struct device_node *dn; in dlpar_parse_cc_node() 99 static void dlpar_free_one_cc_node(struct device_node *dn) in dlpar_free_one_cc_node() 113 void dlpar_free_cc_nodes(struct device_node *dn) in dlpar_free_cc_nodes() 133 struct device_node *dlpar_configure_connector(__be32 drc_index, in dlpar_configure_connector() 134 struct device_node *parent) in dlpar_configure_connector() 136 struct device_node *dn; in dlpar_configure_connector() 137 struct device_node *first_dn = NULL; in dlpar_configure_connector() 138 struct device_node *last_dn = NULL; in dlpar_configure_connector() 249 int dlpar_attach_node(struct device_node *dn) in dlpar_attach_node() [all …]
|
D | reconfig.c | 29 struct device_node *np; in pSeries_reconfig_add_node() 69 static int pSeries_reconfig_remove_node(struct device_node *np) in pSeries_reconfig_remove_node() 71 struct device_node *parent, *child; in pSeries_reconfig_remove_node() 202 struct device_node *np; in do_add_node() 247 struct device_node *node; in do_remove_node() 257 static char *parse_node(char *buf, size_t bufsize, struct device_node **npp) in parse_node() 280 struct device_node *np; in do_add_property() 304 struct device_node *np; in do_remove_property() 326 struct device_node *np; in do_update_property()
|
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 | 134 struct device_node *dn; in check_req() 176 static struct device_node *find_pe_total_msi(struct pci_dev *dev, int *total) in find_pe_total_msi() 178 struct device_node *dn; in find_pe_total_msi() 197 static struct device_node *find_pe_dn(struct pci_dev *dev, int *total) in find_pe_dn() 199 struct device_node *dn; in find_pe_dn() 231 struct device_node *requestor; 239 static void *count_non_bridge_devices(struct device_node *dn, void *data) in count_non_bridge_devices() 256 static void *count_spare_msis(struct device_node *dn, void *data) in count_spare_msis() 287 struct device_node *pe_dn; in msi_quota_for_device()
|
/linux-4.4.14/include/linux/usb/ |
D | of.h | 15 bool of_usb_host_tpl_support(struct device_node *np); 16 int of_usb_update_otg_caps(struct device_node *np, 19 static inline bool of_usb_host_tpl_support(struct device_node *np) in of_usb_host_tpl_support() 23 static inline int of_usb_update_otg_caps(struct device_node *np, in of_usb_update_otg_caps() 31 enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np); 33 static inline enum usb_phy_interface of_usb_get_phy_mode(struct device_node *np) in of_usb_get_phy_mode()
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_dpi.c | 28 struct device_node *panel_node; 176 static struct device_node * 177 of_get_child_by_name_reg(struct device_node *parent, const char *name, u32 reg) in of_get_child_by_name_reg() 179 struct device_node *np; in of_get_child_by_name_reg() 197 static struct device_node *of_graph_get_port_by_reg(struct device_node *parent, in of_graph_get_port_by_reg() 200 struct device_node *ports, *port; in of_graph_get_port_by_reg() 213 static struct device_node * 214 of_graph_get_endpoint_by_reg(struct device_node *port, u32 reg) in of_graph_get_endpoint_by_reg() 219 static struct device_node * 220 of_graph_get_remote_port_parent(const struct device_node *node) in of_graph_get_remote_port_parent() [all …]
|
/linux-4.4.14/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; 59 struct device_node *dn; 171 extern int pci_device_from_OF_node(struct device_node *node, 204 struct device_node *node; /* back-pointer to the device_node */ 236 extern void *update_dn_pci_info(struct device_node *dn, void *data); 238 static inline int pci_device_from_OF_node(struct device_node *np, in pci_device_from_OF_node() 258 extern struct pci_bus *pcibios_find_pci_bus(struct device_node *dn); 289 struct device_node* node); 293 struct device_node *dev, int primary); 296 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 | 123 extern struct pci_controller *init_phb_dynamic(struct device_node *dn); 126 extern struct pci_dev *of_create_pci_dev(struct device_node *node, 131 extern void of_scan_bus(struct device_node *node, struct pci_bus *bus); 132 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 | vio.h | 145 struct device_node; 148 struct device_node *node_vdev); 152 extern struct vio_dev *vio_find_node(struct device_node *vnode);
|
D | setup.h | 14 struct device_node; 15 extern void note_scsi_host(struct device_node *, void *);
|
/linux-4.4.14/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.4.14/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.4.14/drivers/clk/socfpga/ |
D | clk.h | 38 void __init socfpga_pll_init(struct device_node *node); 39 void __init socfpga_periph_init(struct device_node *node); 40 void __init socfpga_gate_init(struct device_node *node); 41 void socfpga_a10_pll_init(struct device_node *node); 42 void socfpga_a10_periph_init(struct device_node *node); 43 void socfpga_a10_gate_init(struct device_node *node);
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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() 439 acpi_ut_execute_CLS(struct acpi_namespace_node *device_node, in acpi_ut_execute_CLS() argument 452 status = acpi_ut_evaluate_object(device_node, METHOD_NAME__CLS, in acpi_ut_execute_CLS()
|
/linux-4.4.14/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-mx.h | 14 struct device_node; 15 int xtensa_mx_init_legacy(struct device_node *interrupt_parent);
|
D | xtensa-pic.h | 15 struct device_node; 16 int xtensa_pic_init_legacy(struct device_node *interrupt_parent);
|
/linux-4.4.14/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() 252 int of_display_timings_exist(struct device_node *np) in of_display_timings_exist() 254 struct device_node *timings_np; in of_display_timings_exist()
|
/linux-4.4.14/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 …]
|
/linux-4.4.14/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 | 144 struct device_node *node) in _register_dpll() 289 static void _register_dpll_x2(struct device_node *node, in _register_dpll_x2() 337 static void __init of_ti_dpll_setup(struct device_node *node, in of_ti_dpll_setup() 431 static void __init of_ti_omap4_dpll_x2_setup(struct device_node *node) in of_ti_omap4_dpll_x2_setup() 440 static void __init of_ti_am3_dpll_x2_setup(struct device_node *node) in of_ti_am3_dpll_x2_setup() 449 static void __init of_ti_omap3_dpll_setup(struct device_node *node) in of_ti_omap3_dpll_setup() 469 static void __init of_ti_omap3_core_dpll_setup(struct device_node *node) in of_ti_omap3_core_dpll_setup() 488 static void __init of_ti_omap3_per_dpll_setup(struct device_node *node) in of_ti_omap3_per_dpll_setup() 508 static void __init of_ti_omap3_per_jtype_dpll_setup(struct device_node *node) in of_ti_omap3_per_jtype_dpll_setup() 531 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 | 34 static struct device_node *clocks_node_ptr[CLK_MAX_MEMMAPS]; 105 struct device_node *node; in ti_dt_clocks_register() 125 struct device_node *node; 142 int __init ti_clk_retry_init(struct device_node *node, struct clk_hw *hw, in ti_clk_retry_init() 169 void __iomem *ti_clk_get_reg_addr(struct device_node *node, int index) in ti_clk_get_reg_addr() 214 int __init omap2_clk_provider_init(struct device_node *parent, int index, in omap2_clk_provider_init() 217 struct device_node *clocks; in omap2_clk_provider_init()
|
/linux-4.4.14/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 | 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() 207 struct device_node *node = dev->dev.of_node; in of_scan_pci_bridge() 304 struct device_node *dn) in of_scan_pci_dev() 350 static void __of_scan_bus(struct device_node *node, struct pci_bus *bus, in __of_scan_bus() 353 struct device_node *child; in __of_scan_bus() 387 void of_scan_bus(struct device_node *node, struct pci_bus *bus) in of_scan_bus() 401 void of_rescan_bus(struct device_node *node, struct pci_bus *bus) in of_rescan_bus()
|
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 | 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.4.14/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.4.14/drivers/irqchip/ |
D | irq-or1k-pic.c | 146 static int __init or1k_pic_init(struct device_node *node, in or1k_pic_init() 160 static int __init or1k_pic_or1200_init(struct device_node *node, in or1k_pic_or1200_init() 161 struct device_node *parent) in or1k_pic_or1200_init() 168 static int __init or1k_pic_level_init(struct device_node *node, in or1k_pic_level_init() 169 struct device_node *parent) in or1k_pic_level_init() 176 static int __init or1k_pic_edge_init(struct device_node *node, in or1k_pic_edge_init() 177 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 = irq_domain_get_of_node(domain); 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-bcm2835.c | 117 static int armctrl_xlate(struct irq_domain *d, struct device_node *ctrlr, in armctrl_xlate() 142 static int __init armctrl_of_init(struct device_node *node, in armctrl_of_init() 143 struct device_node *parent, in armctrl_of_init() 188 static int __init bcm2835_armctrl_of_init(struct device_node *node, in bcm2835_armctrl_of_init() 189 struct device_node *parent) in bcm2835_armctrl_of_init() 194 static int __init bcm2836_armctrl_of_init(struct device_node *node, in bcm2836_armctrl_of_init() 195 struct device_node *parent) in bcm2836_armctrl_of_init()
|
D | irq-bcm7120-l2.c | 112 static int bcm7120_l2_intc_init_one(struct device_node *dn, in bcm7120_l2_intc_init_one() 153 static int __init bcm7120_l2_intc_iomap_7120(struct device_node *dn, in bcm7120_l2_intc_iomap_7120() 187 static int __init bcm7120_l2_intc_iomap_3380(struct device_node *dn, in bcm7120_l2_intc_iomap_3380() 218 int __init bcm7120_l2_intc_probe(struct device_node *dn, in bcm7120_l2_intc_probe() 219 struct device_node *parent, in bcm7120_l2_intc_probe() 220 int (*iomap_regs_fn)(struct device_node *, in bcm7120_l2_intc_probe() argument 342 int __init bcm7120_l2_intc_probe_7120(struct device_node *dn, in bcm7120_l2_intc_probe_7120() 343 struct device_node *parent) in bcm7120_l2_intc_probe_7120() 349 int __init bcm7120_l2_intc_probe_3380(struct device_node *dn, in bcm7120_l2_intc_probe_3380() 350 struct device_node *parent) in bcm7120_l2_intc_probe_3380()
|
D | irq-atmel-aic5.c | 255 struct device_node *ctrlr, in aic5_irq_domain_xlate() 288 static void __init sama5d3_aic_irq_fixup(struct device_node *root) in sama5d3_aic_irq_fixup() 299 static int __init aic5_of_init(struct device_node *node, in aic5_of_init() 300 struct device_node *parent, in aic5_of_init() 344 static int __init sama5d2_aic5_of_init(struct device_node *node, in sama5d2_aic5_of_init() 345 struct device_node *parent) in sama5d2_aic5_of_init() 353 static int __init sama5d3_aic5_of_init(struct device_node *node, in sama5d3_aic5_of_init() 354 struct device_node *parent) in sama5d3_aic5_of_init() 362 static int __init sama5d4_aic5_of_init(struct device_node *node, in sama5d4_aic5_of_init() 363 struct device_node *parent) in sama5d4_aic5_of_init()
|
D | irq-xtensa-pic.c | 30 struct device_node *ctrlr, in xtensa_pic_irq_domain_xlate() 89 int __init xtensa_pic_init_legacy(struct device_node *interrupt_parent) in xtensa_pic_init_legacy() 98 static int __init xtensa_pic_init(struct device_node *np, in xtensa_pic_init() 99 struct device_node *interrupt_parent) in xtensa_pic_init()
|
D | irq-mxs.c | 171 static void __init icoll_add_domain(struct device_node *np, in icoll_add_domain() 181 static void __iomem * __init icoll_init_iobase(struct device_node *np) in icoll_init_iobase() 191 static int __init icoll_of_init(struct device_node *np, in icoll_of_init() 192 struct device_node *interrupt_parent) in icoll_of_init() 218 static int __init asm9260_of_init(struct device_node *np, in asm9260_of_init() 219 struct device_node *interrupt_parent) in asm9260_of_init()
|
D | spear-shirq.c | 219 struct device_node *np) in shirq_init() 266 static int __init spear300_shirq_of_init(struct device_node *np, in spear300_shirq_of_init() 267 struct device_node *parent) in spear300_shirq_of_init() 274 static int __init spear310_shirq_of_init(struct device_node *np, in spear310_shirq_of_init() 275 struct device_node *parent) in spear310_shirq_of_init() 282 static int __init spear320_shirq_of_init(struct device_node *np, in spear320_shirq_of_init() 283 struct device_node *parent) in spear320_shirq_of_init()
|
D | irq-ingenic.c | 87 static int __init ingenic_intc_of_init(struct device_node *node, in ingenic_intc_of_init() 162 static int __init intc_1chip_of_init(struct device_node *node, in intc_1chip_of_init() 163 struct device_node *parent) in intc_1chip_of_init() 169 static int __init intc_2chip_of_init(struct device_node *node, in intc_2chip_of_init() 170 struct device_node *parent) in intc_2chip_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 | 45 struct device_node *ctrlr, in xtensa_mx_irq_domain_xlate() 142 int __init xtensa_mx_init_legacy(struct device_node *interrupt_parent) in xtensa_mx_init_legacy() 153 static int __init xtensa_mx_init(struct device_node *np, in xtensa_mx_init() 154 struct device_node *interrupt_parent) in xtensa_mx_init()
|
D | irq-sunxi-nmi.c | 124 static int __init sunxi_sc_nmi_irq_init(struct device_node *node, in sunxi_sc_nmi_irq_init() 197 static int __init sun6i_sc_nmi_irq_init(struct device_node *node, in sun6i_sc_nmi_irq_init() 198 struct device_node *parent) in sun6i_sc_nmi_irq_init() 204 static int __init sun7i_sc_nmi_irq_init(struct device_node *node, in sun7i_sc_nmi_irq_init() 205 struct device_node *parent) in sun7i_sc_nmi_irq_init()
|
/linux-4.4.14/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()
|
/linux-4.4.14/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() 178 struct device_node *np; in of_iommu_init()
|
/linux-4.4.14/include/linux/phy/ |
D | phy.h | 134 struct phy *devm_of_phy_get(struct device *dev, struct device_node *np, 136 struct phy *devm_of_phy_get_by_index(struct device *dev, struct device_node *np, 140 struct phy *of_phy_get(struct device_node *np, const char *con_id); 143 struct phy *phy_create(struct device *dev, struct device_node *node, 145 struct phy *devm_phy_create(struct device *dev, struct device_node *node, 260 struct device_node *np, in devm_of_phy_get() 267 struct device_node *np, in devm_of_phy_get_by_index() 281 static inline struct phy *of_phy_get(struct device_node *np, const char *con_id) in of_phy_get() 293 struct device_node *node, in phy_create() 300 struct device_node *node, in devm_phy_create()
|
/linux-4.4.14/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.4.14/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.4.14/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 | 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.4.14/include/linux/clk/ |
D | clk-conf.h | 12 struct device_node; 15 int of_clk_set_defaults(struct device_node *node, bool clk_supplier); 17 static inline int of_clk_set_defaults(struct device_node *node, in of_clk_set_defaults()
|
D | shmobile.h | 20 struct device_node; 28 void cpg_mstp_add_clk_domain(struct device_node *np); 32 static inline void cpg_mstp_add_clk_domain(struct device_node *np) {} in cpg_mstp_add_clk_domain()
|
/linux-4.4.14/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; 145 struct device_node *node); 148 struct device_node *node) {} in pci_load_of_ranges()
|
/linux-4.4.14/arch/arm/mach-shmobile/ |
D | pm-rmobile.c | 171 struct device_node *pd; 185 static void __init add_special_pd(struct device_node *np, enum pd_types type) in add_special_pd() 188 struct device_node *pd; in add_special_pd() 216 struct device_node *np; in get_special_pds() 240 static enum pd_types __init pd_type(const struct device_node *pd) in pd_type() 251 static void __init rmobile_setup_pm_domain(struct device_node *np, in rmobile_setup_pm_domain() 302 struct device_node *parent, in rmobile_add_pm_domains() 305 struct device_node *np; in rmobile_add_pm_domains() 337 struct device_node *np, *pmd; in rmobile_init_pm_domains()
|
/linux-4.4.14/sound/soc/sh/rcar/ |
D | rsrc-card.c | 150 static int rsrc_card_parse_daifmt(struct device_node *node, in rsrc_card_parse_daifmt() 151 struct device_node *np, in rsrc_card_parse_daifmt() 156 struct device_node *bitclkmaster = NULL; in rsrc_card_parse_daifmt() 157 struct device_node *framemaster = NULL; in rsrc_card_parse_daifmt() 158 struct device_node *codec = is_fe ? NULL : np; in rsrc_card_parse_daifmt() 183 static int rsrc_card_parse_links(struct device_node *np, in rsrc_card_parse_links() 273 static int rsrc_card_parse_clk(struct device_node *np, in rsrc_card_parse_clk() 280 struct device_node *of_np = is_fe ? dai_link->cpu_of_node : in rsrc_card_parse_clk() 308 static int rsrc_card_dai_link_of(struct device_node *node, in rsrc_card_dai_link_of() 309 struct device_node *np, in rsrc_card_dai_link_of() [all …]
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/tilcdc/ |
D | tilcdc_slave_compat.c | 94 static void __init tilcdc_copy_props(struct device_node *from, in tilcdc_copy_props() 95 struct device_node *to, in tilcdc_copy_props() 127 static void __init tilcdc_node_disable(struct device_node *node) in tilcdc_node_disable() 142 struct device_node * __init tilcdc_get_overlay(struct kfree_table *kft) in tilcdc_get_overlay() 147 struct device_node *overlay; in tilcdc_get_overlay() 200 struct device_node *slave = NULL, *lcdc = NULL; in tilcdc_convert_slave_node() 201 struct device_node *i2c = NULL, *fragment = NULL; in tilcdc_convert_slave_node() 202 struct device_node *overlay, *encoder; in tilcdc_convert_slave_node()
|
/linux-4.4.14/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() 301 struct device_node *master = NULL; in pmac_pic_probe_oldstyle() 302 struct device_node *slave = NULL; in pmac_pic_probe_oldstyle() 332 struct device_node *tmp; in pmac_pic_probe_oldstyle() 400 int of_irq_parse_oldworld(struct device_node *device, int index, in of_irq_parse_oldworld() 440 struct device_node* pswitch; in pmac_pic_setup_mpic_nmi() 455 static struct mpic * __init pmac_setup_one_mpic(struct device_node *np, in pmac_setup_one_mpic() 485 struct device_node *np, *master = NULL, *slave = NULL; in pmac_pic_probe_mpic() 550 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.4.14/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.4.14/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.4.14/drivers/gpu/drm/imx/ |
D | imx-drm.h | 4 struct device_node; 30 struct device_node *port); 49 int imx_drm_encoder_get_mux_id(struct device_node *node, 52 struct drm_encoder *encoder, struct device_node *np);
|
/linux-4.4.14/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.4.14/arch/arm/mach-mvebu/ |
D | coherency.c | 128 static void __init armada_370_coherency_init(struct device_node *np) in armada_370_coherency_init() 131 struct device_node *cpu_config_np; in armada_370_coherency_init() 184 static void __init armada_375_380_coherency_init(struct device_node *np) in armada_375_380_coherency_init() 186 struct device_node *cache_dn; in armada_375_380_coherency_init() 216 struct device_node *np; in coherency_type() 282 struct device_node *np; in coherency_init()
|
/linux-4.4.14/arch/mips/ath79/ |
D | irq.c | 272 struct device_node *node, struct device_node *parent) in ath79_misc_intc_of_init() 298 struct device_node *node, struct device_node *parent) in ar7100_misc_intc_of_init() 308 struct device_node *node, struct device_node *parent) in ar7240_misc_intc_of_init() 318 struct device_node *node, struct device_node *parent) in ar79_cpu_intc_of_init()
|
/linux-4.4.14/include/drm/ |
D | drm_of.h | 7 struct device_node; 11 struct device_node *port); 17 struct device_node *port) in drm_of_find_possible_crtcs()
|
/linux-4.4.14/drivers/clk/sunxi/ |
D | clk-usb.c | 96 static void __init sunxi_usb_clk_setup(struct device_node *node, in sunxi_usb_clk_setup() 180 static void __init sun4i_a10_usb_setup(struct device_node *node) in sun4i_a10_usb_setup() 191 static void __init sun5i_a13_usb_setup(struct device_node *node) in sun5i_a13_usb_setup() 202 static void __init sun6i_a31_usb_setup(struct device_node *node) in sun6i_a31_usb_setup() 213 static void __init sun8i_a23_usb_setup(struct device_node *node) in sun8i_a23_usb_setup() 227 static void __init sun9i_a80_usb_mod_setup(struct device_node *node) in sun9i_a80_usb_mod_setup() 241 static void __init sun9i_a80_usb_phy_setup(struct device_node *node) in sun9i_a80_usb_phy_setup()
|
D | clk-mod0.c | 82 static void __init sun4i_a10_mod0_setup(struct device_node *node) in sun4i_a10_mod0_setup() 103 struct device_node *np = pdev->dev.of_node; in sun4i_a10_mod0_clk_probe() 142 static void __init sun9i_a80_mod0_setup(struct device_node *node) in sun9i_a80_mod0_setup() 160 static void __init sun5i_a13_mbus_setup(struct device_node *node) in sun5i_a13_mbus_setup() 307 static void __init sunxi_mmc_setup(struct device_node *node, in sunxi_mmc_setup() 381 static void __init sun4i_a10_mmc_setup(struct device_node *node) in sun4i_a10_mmc_setup() 389 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.4.14/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()
|
/linux-4.4.14/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.4.14/drivers/clk/versatile/ |
D | clk-versatile.c | 58 static void __init cm_osc_setup(struct device_node *np, in cm_osc_setup() 67 struct device_node *parent; in cm_osc_setup() 87 static void __init of_integrator_cm_osc_setup(struct device_node *np) in of_integrator_cm_osc_setup() 94 static void __init of_versatile_cm_osc_setup(struct device_node *np) in of_versatile_cm_osc_setup()
|
/linux-4.4.14/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.4.14/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.4.14/drivers/gpu/drm/ |
D | drm_of.c | 18 struct device_node *port) in drm_crtc_port_mask() 45 struct device_node *port) in drm_of_find_possible_crtcs() 47 struct device_node *remote_port, *ep; in drm_of_find_possible_crtcs() 83 struct device_node *ep, *port, *remote; in drm_of_component_probe()
|
/linux-4.4.14/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.4.14/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.4.14/drivers/dma/ |
D | of-dma.c | 104 int of_dma_controller_register(struct device_node *np, in of_dma_controller_register() 139 void of_dma_controller_free(struct device_node *np) in of_dma_controller_free() 171 int of_dma_router_register(struct device_node *np, in of_dma_router_register() 212 static int of_dma_match_channel(struct device_node *np, const char *name, in of_dma_match_channel() 237 struct dma_chan *of_dma_request_slave_channel(struct device_node *np, in of_dma_request_slave_channel() 338 list_for_each_entry(chan, &dev->channels, device_node) in of_dma_xlate_by_chan_id()
|
/linux-4.4.14/drivers/base/power/opp/ |
D | opp.h | 86 struct device_node *np; 134 struct device_node *np; 144 struct device_node *_of_get_opp_desc_node(struct device *dev);
|
/linux-4.4.14/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.4.14/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() 226 static void __init dtb_add_ioapic(struct device_node *dn) in dtb_add_ioapic() 247 struct device_node *dn; in dtb_ioapic_setup()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-of.c | 23 static int v4l2_of_parse_csi_bus(const struct device_node *node, in v4l2_of_parse_csi_bus() 81 static void v4l2_of_parse_parallel_bus(const struct device_node *node, in v4l2_of_parse_parallel_bus() 151 int v4l2_of_parse_endpoint(const struct device_node *node, in v4l2_of_parse_endpoint() 218 const struct device_node *node) in v4l2_of_alloc_parse_endpoint() 273 int v4l2_of_parse_link(const struct device_node *node, in v4l2_of_parse_link() 276 struct device_node *np; in v4l2_of_parse_link()
|
/linux-4.4.14/sound/soc/generic/ |
D | simple-card.c | 217 asoc_simple_card_sub_parse_of(struct device_node *np, in asoc_simple_card_sub_parse_of() 219 struct device_node **p_node, in asoc_simple_card_sub_parse_of() 280 static int asoc_simple_card_parse_daifmt(struct device_node *node, in asoc_simple_card_parse_daifmt() 282 struct device_node *codec, in asoc_simple_card_parse_daifmt() 287 struct device_node *bitclkmaster = NULL; in asoc_simple_card_parse_daifmt() 288 struct device_node *framemaster = NULL; in asoc_simple_card_parse_daifmt() 322 static int asoc_simple_card_dai_link_of(struct device_node *node, in asoc_simple_card_dai_link_of() 330 struct device_node *cpu = NULL; in asoc_simple_card_dai_link_of() 331 struct device_node *plat = NULL; in asoc_simple_card_dai_link_of() 332 struct device_node *codec = NULL; in asoc_simple_card_dai_link_of() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/arch/xtensa/platforms/xtfpga/ |
D | setup.c | 87 static void __init update_clock_frequency(struct device_node *node) in update_clock_frequency() 111 static void __init update_local_mac(struct device_node *node) in update_local_mac() 140 struct device_node *clock; in machine_setup() 141 struct device_node *eth = NULL; in machine_setup() 172 struct device_node *cpu = in platform_calibrate_ccount()
|
/linux-4.4.14/drivers/mtd/ |
D | ofpart.c | 23 static bool node_has_compatible(struct device_node *pp) in node_has_compatible() 32 struct device_node *mtd_node; in parse_ofpart_partitions() 33 struct device_node *ofpart_node; in parse_ofpart_partitions() 35 struct device_node *pp; in parse_ofpart_partitions() 153 struct device_node *dp; in parse_ofoldpart_partitions()
|
/linux-4.4.14/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() 178 struct device_node *node, in of_get_regulator_init_data() 227 int of_regulator_match(struct device *dev, struct device_node *node, in of_regulator_match() 234 struct device_node *child; in of_regulator_match() 292 struct device_node **node) in regulator_of_get_init_data() 294 struct device_node *search, *child; in regulator_of_get_init_data()
|
/linux-4.4.14/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.4.14/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.4.14/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_parse_own_gpio(struct device_node *np, in of_parse_own_gpio() 137 struct device_node *chip_np; in of_parse_own_gpio() 208 struct device_node *np; in of_gpiochip_scan_gpios() 283 int of_mm_gpiochip_add(struct device_node *np, in of_mm_gpiochip_add() 340 struct device_node *np = chip->of_node; in of_gpiochip_add_pin_range()
|
/linux-4.4.14/drivers/pinctrl/ |
D | devicetree.c | 98 struct pinctrl_dev *of_pinctrl_get(struct device_node *np) in of_pinctrl_get() 104 struct device_node *np_config) in dt_to_map_one_config() 106 struct device_node *np_pctldev; in dt_to_map_one_config() 171 struct device_node *np = p->dev->of_node; in pinctrl_dt_to_map() 179 struct device_node *np_config; in pinctrl_dt_to_map()
|
/linux-4.4.14/arch/arm/mach-bcm/ |
D | bcm63xx_smp.h | 4 struct device_node; 6 extern int bcm63xx_pmb_power_on_cpu(struct device_node *dn);
|
/linux-4.4.14/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.4.14/arch/powerpc/platforms/512x/ |
D | mpc5121_ads_cpld.c | 23 static struct device_node *cpld_pic_node; 127 cpld_pic_host_match(struct irq_domain *h, struct device_node *node, in cpld_pic_host_match() 150 struct device_node *np = NULL; in mpc5121_ads_cpld_map() 166 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.4.14/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() 135 struct irq_domain * __init flipper_pic_init(struct device_node *np) in flipper_pic_init() 137 struct device_node *pi; in flipper_pic_init() 197 struct device_node *np; in flipper_pic_probe()
|
/linux-4.4.14/drivers/thermal/ |
D | of-thermal.c | 49 struct device_node *cooling_device; 400 thermal_zone_of_add_sensor(struct device_node *zone, in thermal_zone_of_add_sensor() 401 struct device_node *sensor, void *data, in thermal_zone_of_add_sensor() 464 struct device_node *np, *child, *sensor_np; in thermal_zone_of_sensor_register() 578 static int thermal_of_populate_bind_params(struct device_node *np, in thermal_of_populate_bind_params() 584 struct device_node *trip; in thermal_of_populate_bind_params() 653 static int thermal_of_get_trip_type(struct device_node *np, in thermal_of_get_trip_type() 682 static int thermal_of_populate_trip(struct device_node *np, in thermal_of_populate_trip() 730 thermal_of_build_thermal_zone(struct device_node *np) in thermal_of_build_thermal_zone() 732 struct device_node *child = NULL, *gchild; in thermal_of_build_thermal_zone() [all …]
|
/linux-4.4.14/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.4.14/drivers/clk/bcm/ |
D | clk-iproc.h | 186 void __init iproc_armpll_setup(struct device_node *node); 187 void __init iproc_pll_clk_setup(struct device_node *node, 193 void __init iproc_asiu_setup(struct device_node *node,
|
/linux-4.4.14/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.4.14/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.4.14/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() 265 static int of_node_to_nid_single(struct device_node *device) in of_node_to_nid_single() 277 int of_node_to_nid(struct device_node *device) in of_node_to_nid() 298 struct device_node *root; in find_min_common_depth() 368 struct device_node *memory = NULL; in get_n_mem_cells() 416 static int of_get_drconf_memory(struct device_node *memory, const __be32 **dm) in of_get_drconf_memory() 441 static u64 of_get_lmb_size(struct device_node *memory) in of_get_lmb_size() 469 static int of_get_assoc_arrays(struct device_node *memory, in of_get_assoc_arrays() 529 struct device_node *cpu; in numa_setup_cpu() [all …]
|
/linux-4.4.14/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.4.14/drivers/clk/mediatek/ |
D | clk-mtk.h | 148 int mtk_clk_register_gates(struct device_node *node, const struct mtk_gate *clks, 179 void mtk_clk_register_plls(struct device_node *node, 187 void mtk_register_reset_controller(struct device_node *np, 190 static inline void mtk_register_reset_controller(struct device_node *np, in mtk_register_reset_controller()
|
/linux-4.4.14/drivers/clk/shmobile/ |
D | clk-emev2.c | 54 struct device_node *np; in emev2_smu_init() 77 static void __init emev2_smu_clkdiv_init(struct device_node *np) in emev2_smu_clkdiv_init() 95 static void __init emev2_smu_gclk_init(struct device_node *np) in emev2_smu_gclk_init()
|