Lines Matching refs:device_node
24 static struct of_bus *of_match_bus(struct device_node *np);
43 int (*match)(struct device_node *parent);
44 void (*count_cells)(const struct device_node *child, int *addrc,
51 static void of_bus_default_count_cells(const struct device_node *np, in of_bus_default_count_cells()
111 static struct of_bus *of_match_bus(struct device_node *np) in of_match_bus()
122 static void dev_count_cells(const struct device_node *np, int *nap, int *nsp) in dev_count_cells()
127 const __be32 *of_get_address(const struct device_node *dev, int index, in of_get_address()
132 struct device_node *parent; in of_get_address()
166 static int of_translate_one(const struct device_node *parent, in of_translate_one()
235 static u64 __of_translate_address(const struct device_node *dev, in __of_translate_address()
238 struct device_node *parent = NULL; in __of_translate_address()
311 u64 of_translate_address(const struct device_node *dev, const __be32 *in_addr) in of_translate_address()
316 u64 of_translate_dma_address(const struct device_node *dev, const __be32 *in_addr) in of_translate_dma_address()
321 int of_get_dma_range(const struct device_node *dev, phys_addr_t *cpu, in of_get_dma_range()
325 struct device_node *parent; in of_get_dma_range()
371 bus_node = of_match_bus((struct device_node*)dev); in of_get_dma_range()
399 static int __of_address_to_resource(const struct device_node *dev, in __of_address_to_resource()
419 int of_address_to_resource(const struct device_node *dev, int index, in of_address_to_resource()