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,
47 int (*match)(struct device_node *parent);
48 void (*count_cells)(struct device_node *child,
61 static void of_bus_default_count_cells(struct device_node *dev, in of_bus_default_count_cells()
132 static bool of_node_is_pcie(struct device_node *np) in of_node_is_pcie()
142 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match()
157 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells()
198 const __be32 *of_get_pci_address(struct device_node *dev, int bar_no, u64 *size, in of_get_pci_address()
203 struct device_node *parent; in of_get_pci_address()
242 int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource()
272 struct device_node *np, struct resource *res) in of_pci_range_to_resource()
315 static int of_bus_isa_match(struct device_node *np) in of_bus_isa_match()
320 static void of_bus_isa_count_cells(struct device_node *child, in of_bus_isa_count_cells()
410 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
421 static int of_empty_ranges_quirk(struct device_node *np) in of_empty_ranges_quirk()
441 static int of_translate_one(struct device_node *parent, struct of_bus *bus, in of_translate_one()
520 static u64 __of_translate_address(struct device_node *dev, in __of_translate_address()
521 struct device_node *(*get_parent)(const struct device_node *), in __of_translate_address() argument
523 struct device_node **host) in __of_translate_address()
525 struct device_node *parent = NULL; in __of_translate_address()
613 u64 of_translate_address(struct device_node *dev, const __be32 *in_addr) in of_translate_address()
615 struct device_node *host; in of_translate_address()
629 static struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent()
647 static struct device_node *of_get_next_dma_parent(struct device_node *np) in of_get_next_dma_parent()
649 struct device_node *parent; in of_get_next_dma_parent()
657 u64 of_translate_dma_address(struct device_node *dev, const __be32 *in_addr) in of_translate_dma_address()
659 struct device_node *host; in of_translate_dma_address()
674 const __be32 *of_get_address(struct device_node *dev, int index, u64 *size, in of_get_address()
679 struct device_node *parent; in of_get_address()
713 struct device_node *node, const char *name) in parser_init()
734 struct device_node *node) in of_pci_range_parser_init()
741 struct device_node *node) in of_pci_dma_range_parser_init()
809 static u64 of_translate_ioport(struct device_node *dev, const __be32 *in_addr, in of_translate_ioport()
814 struct device_node *host; in of_translate_ioport()
833 static int __of_address_to_resource(struct device_node *dev, in __of_address_to_resource()
866 int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource()
892 void __iomem *of_iomap(struct device_node *np, int index) in of_iomap()
917 void __iomem *of_io_request_and_map(struct device_node *np, int index, in of_io_request_and_map()
958 int of_dma_get_range(struct device_node *np, const struct bus_dma_region **map) in of_dma_get_range()
960 struct device_node *node = of_node_get(np); in of_dma_get_range()
1035 bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
1037 struct device_node *node; in of_dma_is_coherent()