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

TOMOYO Linux Cross Reference
Linux/arch/sh/include/mach-common/mach/hp6xx.h

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ 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.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0
  2  *
  3  * Copyright (C) 2003, 2004, 2005  Andriy Skulysh
  4  */
  5 #ifndef __ASM_SH_HP6XX_H
  6 #define __ASM_SH_HP6XX_H
  7 
  8 #include <linux/sh_intc.h>
  9 
 10 #define HP680_BTN_IRQ           evt2irq(0x600)  /* IRQ0_IRQ */
 11 #define HP680_TS_IRQ            evt2irq(0x660)  /* IRQ3_IRQ */
 12 #define HP680_HD64461_IRQ       evt2irq(0x680)  /* IRQ4_IRQ */
 13 
 14 #define DAC_LCD_BRIGHTNESS      0
 15 #define DAC_SPEAKER_VOLUME      1
 16 
 17 #define PGDR_OPENED             0x01
 18 #define PGDR_MAIN_BATTERY_OUT   0x04
 19 #define PGDR_PLAY_BUTTON        0x08
 20 #define PGDR_REWIND_BUTTON      0x10
 21 #define PGDR_RECORD_BUTTON      0x20
 22 
 23 #define PHDR_TS_PEN_DOWN        0x08
 24 
 25 #define PJDR_LED_BLINK          0x02
 26 
 27 #define PKDR_LED_GREEN          0x10
 28 
 29 /* HP Palmtop 620lx/660lx speaker on/off */
 30 #define PKDR_SPEAKER            0x20
 31 
 32 #define SCPDR_TS_SCAN_ENABLE    0x20
 33 #define SCPDR_TS_SCAN_Y         0x02
 34 #define SCPDR_TS_SCAN_X         0x01
 35 
 36 #define SCPCR_TS_ENABLE         0x405
 37 #define SCPCR_TS_MASK           0xc0f
 38 
 39 #define ADC_CHANNEL_TS_Y        1
 40 #define ADC_CHANNEL_TS_X        2
 41 #define ADC_CHANNEL_BATTERY     3
 42 #define ADC_CHANNEL_BACKUP      4
 43 #define ADC_CHANNEL_CHARGE      5
 44 
 45 /* HP Jornada 680/690 speaker on/off */
 46 #define HD64461_GPADR_SPEAKER   0x01
 47 #define HD64461_GPADR_PCMCIA0   (0x02|0x08)
 48 
 49 #define HD64461_GPBDR_LCDOFF    0x01
 50 #define HD64461_GPBDR_LCD_CONTRAST_MASK 0x78
 51 #define HD64461_GPBDR_LED_RED   0x80
 52 
 53 #include <asm/hd64461.h>
 54 #include <asm/io.h>
 55 
 56 #define PJDR    0xa4000130
 57 #define PKDR    0xa4000132
 58 
 59 #endif /* __ASM_SH_HP6XX_H */
 60 

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