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

TOMOYO Linux Cross Reference
Linux/include/linux/platform_data/ams-delta-fiq.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  * include/linux/platform_data/ams-delta-fiq.h
  5  *
  6  * Taken from the original Amstrad modifications to fiq.h
  7  *
  8  * Copyright (c) 2004 Amstrad Plc
  9  * Copyright (c) 2006 Matt Callow
 10  * Copyright (c) 2010 Janusz Krzysztofik
 11  *
 12  * This program is free software; you can redistribute it and/or modify
 13  * it under the terms of the GNU General Public License version 2 as
 14  * published by the Free Software Foundation.
 15  */
 16 #ifndef __LINUX_PLATFORM_DATA_AMS_DELTA_FIQ_H
 17 #define __LINUX_PLATFORM_DATA_AMS_DELTA_FIQ_H
 18 
 19 /*
 20  * These are the offsets from the beginning of the fiq_buffer. They are put here
 21  * since the buffer and header need to be accessed by drivers servicing devices
 22  * which generate GPIO interrupts - e.g. keyboard, modem, hook switch.
 23  */
 24 #define FIQ_MASK                 0
 25 #define FIQ_STATE                1
 26 #define FIQ_KEYS_CNT             2
 27 #define FIQ_TAIL_OFFSET          3
 28 #define FIQ_HEAD_OFFSET          4
 29 #define FIQ_BUF_LEN              5
 30 #define FIQ_KEY                  6
 31 #define FIQ_MISSED_KEYS          7
 32 #define FIQ_BUFFER_START         8
 33 #define FIQ_GPIO_INT_MASK        9
 34 #define FIQ_KEYS_HICNT          10
 35 #define FIQ_IRQ_PEND            11
 36 #define FIQ_SIR_CODE_L1         12
 37 #define IRQ_SIR_CODE_L2         13
 38 
 39 #define FIQ_CNT_INT_00          14
 40 #define FIQ_CNT_INT_KEY         15
 41 #define FIQ_CNT_INT_MDM         16
 42 #define FIQ_CNT_INT_03          17
 43 #define FIQ_CNT_INT_HSW         18
 44 #define FIQ_CNT_INT_05          19
 45 #define FIQ_CNT_INT_06          20
 46 #define FIQ_CNT_INT_07          21
 47 #define FIQ_CNT_INT_08          22
 48 #define FIQ_CNT_INT_09          23
 49 #define FIQ_CNT_INT_10          24
 50 #define FIQ_CNT_INT_11          25
 51 #define FIQ_CNT_INT_12          26
 52 #define FIQ_CNT_INT_13          27
 53 #define FIQ_CNT_INT_14          28
 54 #define FIQ_CNT_INT_15          29
 55 
 56 #define FIQ_CIRC_BUFF           30      /*Start of circular buffer */
 57 
 58 #endif
 59 

~ [ 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