Lines Matching refs:device_node

30 	int		(*match)(struct device_node *parent);
31 void (*count_cells)(struct device_node *child,
44 static void of_bus_default_count_cells(struct device_node *dev, in of_bus_default_count_cells()
137 static bool of_node_is_pcie(const struct device_node *np) in of_node_is_pcie()
147 static int of_bus_pci_match(struct device_node *np) in of_bus_pci_match()
162 static void of_bus_pci_count_cells(struct device_node *np, in of_bus_pci_count_cells()
220 const struct device_node *np, struct resource *res) in of_pci_range_to_resource()
262 int of_range_to_resource(struct device_node *np, int index, struct resource *res) in of_range_to_resource()
284 static int of_bus_isa_match(struct device_node *np) in of_bus_isa_match()
289 static void of_bus_isa_count_cells(struct device_node *child, in of_bus_isa_count_cells()
320 static int of_bus_default_flags_match(struct device_node *np) in of_bus_default_flags_match()
329 static int of_bus_default_match(struct device_node *np) in of_bus_default_match()
390 static const struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
400 static int of_empty_ranges_quirk(const struct device_node *np) in of_empty_ranges_quirk()
420 static int of_translate_one(const struct device_node *parent, const struct of_bus *bus, in of_translate_one()
500 static u64 __of_translate_address(struct device_node *node, in __of_translate_address()
501 struct device_node *(*get_parent)(const struct device_node *), in __of_translate_address() argument
503 struct device_node **host) in __of_translate_address()
505 struct device_node *dev __free(device_node) = of_node_get(node); in __of_translate_address()
506 struct device_node *parent __free(device_node) = get_parent(dev); in __of_translate_address()
589 u64 of_translate_address(struct device_node *dev, const __be32 *in_addr) in of_translate_address()
591 struct device_node *host; in of_translate_address()
606 struct device_node *__of_get_dma_parent(const struct device_node *np) in __of_get_dma_parent()
625 static struct device_node *of_get_next_dma_parent(struct device_node *np) in of_get_next_dma_parent()
627 struct device_node *parent; in of_get_next_dma_parent()
635 u64 of_translate_dma_address(struct device_node *dev, const __be32 *in_addr) in of_translate_dma_address()
637 struct device_node *host; in of_translate_dma_address()
661 const __be32 *of_translate_dma_region(struct device_node *dev, const __be32 *prop, in of_translate_dma_region()
664 struct device_node *parent __free(device_node) = __of_get_dma_parent(dev); in of_translate_dma_region()
690 const __be32 *__of_get_address(struct device_node *dev, int index, int bar_no, in __of_get_address()
695 struct device_node *parent __free(device_node) = of_get_parent(dev); in __of_get_address()
744 int of_property_read_reg(struct device_node *np, int idx, u64 *addr, u64 *size) in of_property_read_reg()
758 struct device_node *node, const char *name) in parser_init()
779 struct device_node *node) in of_pci_range_parser_init()
786 struct device_node *node) in of_pci_dma_range_parser_init()
852 static u64 of_translate_ioport(struct device_node *dev, const __be32 *in_addr, in of_translate_ioport()
857 struct device_node *host; in of_translate_ioport()
893 int of_dma_get_range(struct device_node *np, const struct bus_dma_region **map) in of_dma_get_range()
895 struct device_node *node __free(device_node) = of_node_get(np); in of_dma_get_range()
968 phys_addr_t __init of_dma_get_max_cpu_address(struct device_node *np) in of_dma_get_max_cpu_address()
973 struct device_node *child; in of_dma_get_max_cpu_address()
1011 bool of_dma_is_coherent(struct device_node *np) in of_dma_is_coherent()
1013 struct device_node *node __free(device_node) = of_node_get(np); in of_dma_is_coherent()
1035 static bool of_mmio_is_nonposted(const struct device_node *np) in of_mmio_is_nonposted()
1037 struct device_node *parent __free(device_node) = of_get_parent(np); in of_mmio_is_nonposted()
1045 static int __of_address_to_resource(struct device_node *dev, int index, int bar_no, in __of_address_to_resource()
1095 int of_address_to_resource(struct device_node *dev, int index, in of_address_to_resource()
1102 int of_pci_address_to_resource(struct device_node *dev, int bar, in of_pci_address_to_resource()
1120 void __iomem *of_iomap(struct device_node *np, int index) in of_iomap()
1148 void __iomem *of_io_request_and_map(struct device_node *np, int index, in of_io_request_and_map()