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()
572 struct device_node *(*get_parent)(const struct device_node *), in __of_translate_address() argument
574 struct device_node **host) in __of_translate_address()
576 struct device_node *parent = NULL; in __of_translate_address()
664 u64 of_translate_address(struct device_node *dev, const __be32 *in_addr) in of_translate_address()
666 struct device_node *host; in of_translate_address()
680 static struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent()
698 u64 of_translate_dma_address(struct device_node *dev, const __be32 *in_addr) in of_translate_dma_address()
700 struct device_node *host; in of_translate_dma_address()
715 const __be32 *of_get_address(struct device_node *dev, int index, u64 *size, in of_get_address()
720 struct device_node *parent; in of_get_address()
753 static u64 of_translate_ioport(struct device_node *dev, const __be32 *in_addr, in of_translate_ioport()
758 struct device_node *host; in of_translate_ioport()
777 static int __of_address_to_resource(struct device_node *dev, in __of_address_to_resource()
810 int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource()
829 struct device_node *of_find_matching_node_by_address(struct device_node *from, in of_find_matching_node_by_address()
833 struct device_node *dn = of_find_matching_node(from, matches); in of_find_matching_node_by_address()
855 void __iomem *of_iomap(struct device_node *np, int index) in of_iomap()
880 void __iomem *of_io_request_and_map(struct device_node *np, int index, in of_io_request_and_map()
921 int of_dma_get_range(struct device_node *np, u64 *dma_addr, u64 *paddr, u64 *size) in of_dma_get_range()
923 struct device_node *node = of_node_get(np); in of_dma_get_range()
933 struct device_node *parent; in of_dma_get_range()
1003 bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
1005 struct device_node *node = of_node_get(np); in of_dma_is_coherent()