of_address.h 366 B

123456789101112
  1. #ifndef __OF_ADDRESS_H
  2. #define __OF_ADDRESS_H
  3. #include <linux/ioport.h>
  4. #include <linux/of.h>
  5. extern u64 of_translate_address(struct device_node *np, const u32 *addr);
  6. extern int of_address_to_resource(struct device_node *dev, int index,
  7. struct resource *r);
  8. extern void __iomem *of_iomap(struct device_node *device, int index);
  9. #endif /* __OF_ADDRESS_H */