Lines Matching refs:device_node
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()
233 struct device_node *node) in of_pci_range_parser_init()
314 struct device_node *np, struct resource *res) in of_pci_range_to_resource()
355 static int of_bus_isa_match(struct device_node *np) in of_bus_isa_match()
360 static void of_bus_isa_count_cells(struct device_node *child, in of_bus_isa_count_cells()
448 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
459 static int of_empty_ranges_quirk(struct device_node *np) in of_empty_ranges_quirk()
479 static int of_translate_one(struct device_node *parent, struct of_bus *bus, in of_translate_one()
550 static u64 __of_translate_address(struct device_node *dev, in __of_translate_address()
553 struct device_node *parent = NULL; in __of_translate_address()
626 u64 of_translate_address(struct device_node *dev, const __be32 *in_addr) in of_translate_address()
632 u64 of_translate_dma_address(struct device_node *dev, const __be32 *in_addr) in of_translate_dma_address()
638 const __be32 *of_get_address(struct device_node *dev, int index, u64 *size, in of_get_address()
643 struct device_node *parent; in of_get_address()
791 static int __of_address_to_resource(struct device_node *dev, in __of_address_to_resource()
828 int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource()
847 struct device_node *of_find_matching_node_by_address(struct device_node *from, in of_find_matching_node_by_address()
851 struct device_node *dn = of_find_matching_node(from, matches); in of_find_matching_node_by_address()
873 void __iomem *of_iomap(struct device_node *np, int index) in of_iomap()
898 void __iomem *of_io_request_and_map(struct device_node *np, int index, in of_io_request_and_map()
937 int of_dma_get_range(struct device_node *np, u64 *dma_addr, u64 *paddr, u64 *size) in of_dma_get_range()
939 struct device_node *node = of_node_get(np); in of_dma_get_range()
1014 bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
1016 struct device_node *node = of_node_get(np); in of_dma_is_coherent()