]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Omap35xxPkg/Include/Omap3530/Omap3530Timer.h
ARM Packages: Fixed line endings
[mirror_edk2.git] / Omap35xxPkg / Include / Omap3530 / Omap3530Timer.h
index 5067aaafca36109c22d54cf81a558589d5256f0f..d66da8dc04467fdd1b5d27ef854b0299f163fa6a 100644 (file)
@@ -1,82 +1,82 @@
-/** @file
-
-  Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
-
-  This program and the accompanying materials
-  are licensed and made available under the terms and conditions of the BSD License
-  which accompanies this distribution.  The full text of the license may be found at
-  http://opensource.org/licenses/bsd-license.php
-
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-**/
-
-#ifndef __OMAP3530TIMER_H__
-#define __OMAP3530TIMER_H__
-
-#define GPTIMER1_BASE   (0x48313000)
-#define GPTIMER2_BASE   (0x49032000)
-#define GPTIMER3_BASE   (0x49034000)
-#define GPTIMER4_BASE   (0x49036000)
-#define GPTIMER5_BASE   (0x49038000)
-#define GPTIMER6_BASE   (0x4903A000)
-#define GPTIMER7_BASE   (0x4903C000)
-#define GPTIMER8_BASE   (0x4903E000)
-#define GPTIMER9_BASE   (0x49040000)
-#define GPTIMER10_BASE  (0x48086000)
-#define GPTIMER11_BASE  (0x48088000)
-#define GPTIMER12_BASE  (0x48304000)
-#define WDTIMER2_BASE   (0x48314000)
-
-#define GPTIMER_TIOCP_CFG (0x0010)
-#define GPTIMER_TISTAT    (0x0014)
-#define GPTIMER_TISR      (0x0018)
-#define GPTIMER_TIER      (0x001C)
-#define GPTIMER_TWER      (0x0020)
-#define GPTIMER_TCLR      (0x0024)
-#define GPTIMER_TCRR      (0x0028)
-#define GPTIMER_TLDR      (0x002C)
-#define GPTIMER_TTGR      (0x0030)
-#define GPTIMER_TWPS      (0x0034)
-#define GPTIMER_TMAR      (0x0038)
-#define GPTIMER_TCAR1     (0x003C)
-#define GPTIMER_TSICR     (0x0040)
-#define GPTIMER_TCAR2     (0x0044)
-#define GPTIMER_TPIR      (0x0048)
-#define GPTIMER_TNIR      (0x004C)
-#define GPTIMER_TCVR      (0x0050)
-#define GPTIMER_TOCR      (0x0054)
-#define GPTIMER_TOWR      (0x0058)
-
-#define WSPR              (0x048)
-
-#define TISR_TCAR_IT_FLAG_MASK  BIT2
-#define TISR_OVF_IT_FLAG_MASK   BIT1
-#define TISR_MAT_IT_FLAG_MASK   BIT0
-#define TISR_ALL_INTERRUPT_MASK (TISR_TCAR_IT_FLAG_MASK | TISR_OVF_IT_FLAG_MASK | TISR_MAT_IT_FLAG_MASK)
-
-#define TISR_TCAR_IT_FLAG_NOT_PENDING   (0UL << 2)
-#define TISR_OVF_IT_FLAG_NOT_PENDING    (0UL << 1)
-#define TISR_MAT_IT_FLAG_NOT_PENDING    (0UL << 0)
-#define TISR_NO_INTERRUPTS_PENDING      (TISR_TCAR_IT_FLAG_NOT_PENDING | TISR_OVF_IT_FLAG_NOT_PENDING | TISR_MAT_IT_FLAG_NOT_PENDING)
-
-#define TISR_TCAR_IT_FLAG_CLEAR BIT2
-#define TISR_OVF_IT_FLAG_CLEAR  BIT1
-#define TISR_MAT_IT_FLAG_CLEAR  BIT0
-#define TISR_CLEAR_ALL          (TISR_TCAR_IT_FLAG_CLEAR | TISR_OVF_IT_FLAG_CLEAR | TISR_MAT_IT_FLAG_CLEAR)
-
-#define TCLR_AR_AUTORELOAD      BIT1
-#define TCLR_AR_ONESHOT         (0UL << 1)
-#define TCLR_ST_ON              BIT0
-#define TCLR_ST_OFF             (0UL << 0)
-
-#define TIER_TCAR_IT_ENABLE     (BIT2
-#define TIER_TCAR_IT_DISABLE    (0UL << 2)
-#define TIER_OVF_IT_ENABLE      BIT1
-#define TIER_OVF_IT_DISABLE     (0UL << 1)
-#define TIER_MAT_IT_ENABLE      BIT0
-#define TIER_MAT_IT_DISABLE     (0UL << 0)
-
-#endif // __OMAP3530TIMER_H__
-
+/** @file\r
+\r
+  Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+\r
+  This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
+\r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+\r
+**/\r
+\r
+#ifndef __OMAP3530TIMER_H__\r
+#define __OMAP3530TIMER_H__\r
+\r
+#define GPTIMER1_BASE   (0x48313000)\r
+#define GPTIMER2_BASE   (0x49032000)\r
+#define GPTIMER3_BASE   (0x49034000)\r
+#define GPTIMER4_BASE   (0x49036000)\r
+#define GPTIMER5_BASE   (0x49038000)\r
+#define GPTIMER6_BASE   (0x4903A000)\r
+#define GPTIMER7_BASE   (0x4903C000)\r
+#define GPTIMER8_BASE   (0x4903E000)\r
+#define GPTIMER9_BASE   (0x49040000)\r
+#define GPTIMER10_BASE  (0x48086000)\r
+#define GPTIMER11_BASE  (0x48088000)\r
+#define GPTIMER12_BASE  (0x48304000)\r
+#define WDTIMER2_BASE   (0x48314000)\r
+\r
+#define GPTIMER_TIOCP_CFG (0x0010)\r
+#define GPTIMER_TISTAT    (0x0014)\r
+#define GPTIMER_TISR      (0x0018)\r
+#define GPTIMER_TIER      (0x001C)\r
+#define GPTIMER_TWER      (0x0020)\r
+#define GPTIMER_TCLR      (0x0024)\r
+#define GPTIMER_TCRR      (0x0028)\r
+#define GPTIMER_TLDR      (0x002C)\r
+#define GPTIMER_TTGR      (0x0030)\r
+#define GPTIMER_TWPS      (0x0034)\r
+#define GPTIMER_TMAR      (0x0038)\r
+#define GPTIMER_TCAR1     (0x003C)\r
+#define GPTIMER_TSICR     (0x0040)\r
+#define GPTIMER_TCAR2     (0x0044)\r
+#define GPTIMER_TPIR      (0x0048)\r
+#define GPTIMER_TNIR      (0x004C)\r
+#define GPTIMER_TCVR      (0x0050)\r
+#define GPTIMER_TOCR      (0x0054)\r
+#define GPTIMER_TOWR      (0x0058)\r
+\r
+#define WSPR              (0x048)\r
+\r
+#define TISR_TCAR_IT_FLAG_MASK  BIT2\r
+#define TISR_OVF_IT_FLAG_MASK   BIT1\r
+#define TISR_MAT_IT_FLAG_MASK   BIT0\r
+#define TISR_ALL_INTERRUPT_MASK (TISR_TCAR_IT_FLAG_MASK | TISR_OVF_IT_FLAG_MASK | TISR_MAT_IT_FLAG_MASK)\r
+\r
+#define TISR_TCAR_IT_FLAG_NOT_PENDING   (0UL << 2)\r
+#define TISR_OVF_IT_FLAG_NOT_PENDING    (0UL << 1)\r
+#define TISR_MAT_IT_FLAG_NOT_PENDING    (0UL << 0)\r
+#define TISR_NO_INTERRUPTS_PENDING      (TISR_TCAR_IT_FLAG_NOT_PENDING | TISR_OVF_IT_FLAG_NOT_PENDING | TISR_MAT_IT_FLAG_NOT_PENDING)\r
+\r
+#define TISR_TCAR_IT_FLAG_CLEAR BIT2\r
+#define TISR_OVF_IT_FLAG_CLEAR  BIT1\r
+#define TISR_MAT_IT_FLAG_CLEAR  BIT0\r
+#define TISR_CLEAR_ALL          (TISR_TCAR_IT_FLAG_CLEAR | TISR_OVF_IT_FLAG_CLEAR | TISR_MAT_IT_FLAG_CLEAR)\r
+\r
+#define TCLR_AR_AUTORELOAD      BIT1\r
+#define TCLR_AR_ONESHOT         (0UL << 1)\r
+#define TCLR_ST_ON              BIT0\r
+#define TCLR_ST_OFF             (0UL << 0)\r
+\r
+#define TIER_TCAR_IT_ENABLE     (BIT2\r
+#define TIER_TCAR_IT_DISABLE    (0UL << 2)\r
+#define TIER_OVF_IT_ENABLE      BIT1\r
+#define TIER_OVF_IT_DISABLE     (0UL << 1)\r
+#define TIER_MAT_IT_ENABLE      BIT0\r
+#define TIER_MAT_IT_DISABLE     (0UL << 0)\r
+\r
+#endif // __OMAP3530TIMER_H__\r
+\r