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()
583 struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent()
602 static struct device_node *of_get_next_dma_parent(struct device_node *np) in of_get_next_dma_parent()
604 struct device_node *parent; in of_get_next_dma_parent()
612 u64 of_translate_dma_address(struct device_node *dev, const __be32 *in_addr) in of_translate_dma_address()
614 struct device_node *host; in of_translate_dma_address()
629 const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address()
634 struct device_node *parent; in __of_get_address()
676 struct device_node *node, const char *name) in parser_init()
697 struct device_node *node) in of_pci_range_parser_init()
704 struct device_node *node) in of_pci_dma_range_parser_init()
772 static u64 of_translate_ioport(struct device_node *dev, const __be32 *in_addr, in of_translate_ioport()
777 struct device_node *host; in of_translate_ioport()
796 static int __of_address_to_resource(struct device_node *dev, int index, int bar_no, in __of_address_to_resource()
846 int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource()
860 void __iomem *of_iomap(struct device_node *np, int index) in of_iomap()
888 void __iomem *of_io_request_and_map(struct device_node *np, int index, in of_io_request_and_map()
933 int of_dma_get_range(struct device_node *np, const struct bus_dma_region **map) in of_dma_get_range()
935 struct device_node *node = of_node_get(np); in of_dma_get_range()
1010 phys_addr_t __init of_dma_get_max_cpu_address(struct device_node *np) in of_dma_get_max_cpu_address()
1015 struct device_node *child; in of_dma_get_max_cpu_address()
1053 bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
1055 struct device_node *node; in of_dma_is_coherent()
1086 static bool of_mmio_is_nonposted(struct device_node *np) in of_mmio_is_nonposted()
1088 struct device_node *parent; in of_mmio_is_nonposted()