Lines Matching refs:device_node

22 static struct of_bus *of_match_bus(struct device_node *np);
23 static int __of_address_to_resource(struct device_node *dev,
44 int (*match)(struct device_node *parent);
45 void (*count_cells)(struct device_node *child,
57 static void of_bus_default_count_cells(struct device_node *dev, in of_bus_default_count_cells()
106 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match()
117 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells()
177 const __be32 *of_get_pci_address(struct device_node *dev, int bar_no, u64 *size, in of_get_pci_address()
182 struct device_node *parent; in of_get_pci_address()
221 int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource()
236 struct device_node *node, const char *name) in parser_init()
255 struct device_node *node) in of_pci_range_parser_init()
262 struct device_node *node) in of_pci_dma_range_parser_init()
329 struct device_node *np, struct resource *res) in of_pci_range_to_resource()
372 static int of_bus_isa_match(struct device_node *np) in of_bus_isa_match()
377 static void of_bus_isa_count_cells(struct device_node *child, in of_bus_isa_count_cells()
465 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
476 static int of_empty_ranges_quirk(struct device_node *np) in of_empty_ranges_quirk()
496 static int of_translate_one(struct device_node *parent, struct of_bus *bus, in of_translate_one()
571 static u64 __of_translate_address(struct device_node *dev, in __of_translate_address()
573 struct device_node **host) in __of_translate_address()
575 struct device_node *parent = NULL; in __of_translate_address()
663 u64 of_translate_address(struct device_node *dev, const __be32 *in_addr) in of_translate_address()
665 struct device_node *host; in of_translate_address()
678 u64 of_translate_dma_address(struct device_node *dev, const __be32 *in_addr) in of_translate_dma_address()
680 struct device_node *host; in of_translate_dma_address()
694 const __be32 *of_get_address(struct device_node *dev, int index, u64 *size, in of_get_address()
699 struct device_node *parent; in of_get_address()
732 static u64 of_translate_ioport(struct device_node *dev, const __be32 *in_addr, in of_translate_ioport()
737 struct device_node *host; in of_translate_ioport()
755 static int __of_address_to_resource(struct device_node *dev, in __of_address_to_resource()
788 int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource()
807 struct device_node *of_find_matching_node_by_address(struct device_node *from, in of_find_matching_node_by_address()
811 struct device_node *dn = of_find_matching_node(from, matches); in of_find_matching_node_by_address()
833 void __iomem *of_iomap(struct device_node *np, int index) in of_iomap()
858 void __iomem *of_io_request_and_map(struct device_node *np, int index, in of_io_request_and_map()
899 int of_dma_get_range(struct device_node *np, u64 *dma_addr, u64 *paddr, u64 *size) in of_dma_get_range()
901 struct device_node *node = of_node_get(np); in of_dma_get_range()
975 bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
977 struct device_node *node = of_node_get(np); in of_dma_is_coherent()