~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/m68k/include/asm/mcfpit.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /****************************************************************************/
  3 
  4 /*
  5  *      mcfpit.h -- ColdFire internal PIT timer support defines.
  6  *
  7  *      (C) Copyright 2003, Greg Ungerer (gerg@snapgear.com)
  8  */
  9 
 10 /****************************************************************************/
 11 #ifndef mcfpit_h
 12 #define mcfpit_h
 13 /****************************************************************************/
 14 
 15 /*
 16  *      Define the PIT timer register address offsets.
 17  */
 18 #define MCFPIT_PCSR             0x0             /* PIT control register */
 19 #define MCFPIT_PMR              0x2             /* PIT modulus register */
 20 #define MCFPIT_PCNTR            0x4             /* PIT count register */
 21 
 22 /*
 23  *      Bit definitions for the PIT Control and Status register.
 24  */
 25 #define MCFPIT_PCSR_CLK1        0x0000          /* System clock divisor */
 26 #define MCFPIT_PCSR_CLK2        0x0100          /* System clock divisor */
 27 #define MCFPIT_PCSR_CLK4        0x0200          /* System clock divisor */
 28 #define MCFPIT_PCSR_CLK8        0x0300          /* System clock divisor */
 29 #define MCFPIT_PCSR_CLK16       0x0400          /* System clock divisor */
 30 #define MCFPIT_PCSR_CLK32       0x0500          /* System clock divisor */
 31 #define MCFPIT_PCSR_CLK64       0x0600          /* System clock divisor */
 32 #define MCFPIT_PCSR_CLK128      0x0700          /* System clock divisor */
 33 #define MCFPIT_PCSR_CLK256      0x0800          /* System clock divisor */
 34 #define MCFPIT_PCSR_CLK512      0x0900          /* System clock divisor */
 35 #define MCFPIT_PCSR_CLK1024     0x0a00          /* System clock divisor */
 36 #define MCFPIT_PCSR_CLK2048     0x0b00          /* System clock divisor */
 37 #define MCFPIT_PCSR_CLK4096     0x0c00          /* System clock divisor */
 38 #define MCFPIT_PCSR_CLK8192     0x0d00          /* System clock divisor */
 39 #define MCFPIT_PCSR_CLK16384    0x0e00          /* System clock divisor */
 40 #define MCFPIT_PCSR_CLK32768    0x0f00          /* System clock divisor */
 41 #define MCFPIT_PCSR_DOZE        0x0040          /* Clock run in doze mode */
 42 #define MCFPIT_PCSR_HALTED      0x0020          /* Clock run in halt mode */
 43 #define MCFPIT_PCSR_OVW         0x0010          /* Overwrite PIT counter now */
 44 #define MCFPIT_PCSR_PIE         0x0008          /* Enable PIT interrupt */
 45 #define MCFPIT_PCSR_PIF         0x0004          /* PIT interrupt flag */
 46 #define MCFPIT_PCSR_RLD         0x0002          /* Reload counter */
 47 #define MCFPIT_PCSR_EN          0x0001          /* Enable PIT */
 48 #define MCFPIT_PCSR_DISABLE     0x0000          /* Disable PIT */
 49 
 50 /****************************************************************************/
 51 #endif  /* mcfpit_h */
 52 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php