cm_44xx_54xx.h 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * OMAP44xx and OMAP54xx CM1/CM2 function prototypes
  3. *
  4. * Copyright (C) 2009-2013 Texas Instruments, Inc.
  5. * Copyright (C) 2009-2010 Nokia Corporation
  6. *
  7. * Paul Walmsley (paul@pwsan.com)
  8. * Rajendra Nayak (rnayak@ti.com)
  9. * Benoit Cousson (b-cousson@ti.com)
  10. *
  11. * This file is automatically generated from the OMAP hardware databases.
  12. * We respectfully ask that any modifications to this file be coordinated
  13. * with the public linux-omap@vger.kernel.org mailing list and the
  14. * authors above to ensure that the autogeneration scripts are kept
  15. * up-to-date with the file contents.
  16. *
  17. * This program is free software; you can redistribute it and/or modify
  18. * it under the terms of the GNU General Public License version 2 as
  19. * published by the Free Software Foundation.
  20. *
  21. */
  22. #ifndef __ARCH_ARM_MACH_OMAP2_CM_44XX_54XX_H
  23. #define __ARCH_ARM_MACH_OMAP2_CM_44XX_55XX_H
  24. /* CM1 Function prototypes */
  25. extern u32 omap4_cm1_read_inst_reg(s16 inst, u16 idx);
  26. extern void omap4_cm1_write_inst_reg(u32 val, s16 inst, u16 idx);
  27. extern u32 omap4_cm1_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx);
  28. /* CM2 Function prototypes */
  29. extern u32 omap4_cm2_read_inst_reg(s16 inst, u16 idx);
  30. extern void omap4_cm2_write_inst_reg(u32 val, s16 inst, u16 idx);
  31. extern u32 omap4_cm2_rmw_inst_reg_bits(u32 mask, u32 bits, s16 inst, s16 idx);
  32. #endif