Lines Matching refs:device_node
42 int (*match)(struct device_node *parent);
43 void (*count_cells)(struct device_node *child,
56 static void of_bus_default_count_cells(struct device_node *dev, in of_bus_default_count_cells()
134 static bool of_node_is_pcie(struct device_node *np) in of_node_is_pcie()
144 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match()
159 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells()
215 struct device_node *np, struct resource *res) in of_pci_range_to_resource()
263 int of_range_to_resource(struct device_node *np, int index, struct resource *res) in of_range_to_resource()
285 static int of_bus_isa_match(struct device_node *np) in of_bus_isa_match()
290 static void of_bus_isa_count_cells(struct device_node *child, in of_bus_isa_count_cells()
337 static int of_bus_default_flags_match(struct device_node *np) in of_bus_default_flags_match()
394 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
405 static int of_empty_ranges_quirk(struct device_node *np) in of_empty_ranges_quirk()
425 static int of_translate_one(struct device_node *parent, struct of_bus *bus, in of_translate_one()
504 static u64 __of_translate_address(struct device_node *dev, in __of_translate_address()
505 struct device_node *(*get_parent)(const struct device_node *), in __of_translate_address() argument
507 struct device_node **host) in __of_translate_address()
509 struct device_node *parent = NULL; in __of_translate_address()
597 u64 of_translate_address(struct device_node *dev, const __be32 *in_addr) in of_translate_address()
599 struct device_node *host; in of_translate_address()
614 struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent()
633 static struct device_node *of_get_next_dma_parent(struct device_node *np) in of_get_next_dma_parent()
635 struct device_node *parent; in of_get_next_dma_parent()
643 u64 of_translate_dma_address(struct device_node *dev, const __be32 *in_addr) in of_translate_dma_address()
645 struct device_node *host; in of_translate_dma_address()
669 const __be32 *of_translate_dma_region(struct device_node *dev, const __be32 *prop, in of_translate_dma_region()
672 struct device_node *parent; in of_translate_dma_region()
701 const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address()
706 struct device_node *parent; in __of_get_address()
757 int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size) in of_property_read_reg()
771 struct device_node *node, const char *name) in parser_init()
792 struct device_node *node) in of_pci_range_parser_init()
799 struct device_node *node) in of_pci_dma_range_parser_init()
867 static u64 of_translate_ioport(struct device_node *dev, const __be32 *in_addr, in of_translate_ioport()
872 struct device_node *host; in of_translate_ioport()
908 int of_dma_get_range(struct device_node *np, const struct bus_dma_region **map) in of_dma_get_range()
910 struct device_node *node = of_node_get(np); in of_dma_get_range()
994 phys_addr_t __init of_dma_get_max_cpu_address(struct device_node *np) in of_dma_get_max_cpu_address()
999 struct device_node *child; in of_dma_get_max_cpu_address()
1037 bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
1039 struct device_node *node; in of_dma_is_coherent()
1070 static bool of_mmio_is_nonposted(struct device_node *np) in of_mmio_is_nonposted()
1072 struct device_node *parent; in of_mmio_is_nonposted()
1088 static int __of_address_to_resource(struct device_node *dev, int index, int bar_no, in __of_address_to_resource()
1140 int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource()
1147 int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource()
1165 void __iomem *of_iomap(struct device_node *np, int index) in of_iomap()
1193 void __iomem *of_io_request_and_map(struct device_node *np, int index, in of_io_request_and_map()