of_address.h 438 B

1234567891011121314
  1. #ifndef __OF_ADDRESS_H
  2. #define __OF_ADDRESS_H
  3. #include <linux/ioport.h>
  4. #include <linux/of.h>
  5. extern int __of_address_to_resource(struct device_node *dev, const u32 *addrp,
  6. u64 size, unsigned int flags,
  7. struct resource *r);
  8. extern int of_address_to_resource(struct device_node *dev, int index,
  9. struct resource *r);
  10. extern void __iomem *of_iomap(struct device_node *device, int index);
  11. #endif /* __OF_ADDRESS_H */