Lines Matching refs:device_node
25 static struct of_bus *of_match_bus(struct device_node *np);
26 static int __of_address_to_resource(struct device_node *dev, int index,
28 static bool of_mmio_is_nonposted(struct device_node *np);
47 int (*match)(struct device_node *parent);
48 void (*count_cells)(struct device_node *child,
61 static void of_bus_default_count_cells(struct device_node *dev, in of_bus_default_count_cells()
133 static bool of_node_is_pcie(struct device_node *np) in of_node_is_pcie()
143 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match()
158 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells()
198 int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource()
225 struct device_node *np, struct resource *res) in of_pci_range_to_resource()
270 static int of_bus_isa_match(struct device_node *np) in of_bus_isa_match()
275 static void of_bus_isa_count_cells(struct device_node *child, in of_bus_isa_count_cells()
363 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
374 static int of_empty_ranges_quirk(struct device_node *np) in of_empty_ranges_quirk()
394 static int of_translate_one(struct device_node *parent, struct of_bus *bus, in of_translate_one()
473 static u64 __of_translate_address(struct device_node *dev, in __of_translate_address()
474 struct device_node *(*get_parent)(const struct device_node *), in __of_translate_address() argument
476 struct device_node **host) in __of_translate_address()
478 struct device_node *parent = NULL; in __of_translate_address()
566 u64 of_translate_address(struct device_node *dev, const __be32 *in_addr) in of_translate_address()
568 struct device_node *host; in of_translate_address()
582 static struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent()
600 static struct device_node *of_get_next_dma_parent(struct device_node *np) in of_get_next_dma_parent()
602 struct device_node *parent; in of_get_next_dma_parent()
610 u64 of_translate_dma_address(struct device_node *dev, const __be32 *in_addr) in of_translate_dma_address()
612 struct device_node *host; in of_translate_dma_address()
627 const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address()
632 struct device_node *parent; in __of_get_address()
674 struct device_node *node, const char *name) in parser_init()
695 struct device_node *node) in of_pci_range_parser_init()
702 struct device_node *node) in of_pci_dma_range_parser_init()
770 static u64 of_translate_ioport(struct device_node *dev, const __be32 *in_addr, in of_translate_ioport()
775 struct device_node *host; in of_translate_ioport()
794 static int __of_address_to_resource(struct device_node *dev, int index, int bar_no, in __of_address_to_resource()
844 int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource()
858 void __iomem *of_iomap(struct device_node *np, int index) in of_iomap()
886 void __iomem *of_io_request_and_map(struct device_node *np, int index, in of_io_request_and_map()
931 int of_dma_get_range(struct device_node *np, const struct bus_dma_region **map) in of_dma_get_range()
933 struct device_node *node = of_node_get(np); in of_dma_get_range()
1008 phys_addr_t __init of_dma_get_max_cpu_address(struct device_node *np) in of_dma_get_max_cpu_address()
1013 struct device_node *child; in of_dma_get_max_cpu_address()
1050 bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
1052 struct device_node *node; in of_dma_is_coherent()
1081 static bool of_mmio_is_nonposted(struct device_node *np) in of_mmio_is_nonposted()
1083 struct device_node *parent; in of_mmio_is_nonposted()