Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | sgioc_uart_regs |
struct | sgioc_keyb_regs |
struct | sgint_regs |
struct | sgioc_regs |
Macros | |
#define | SGINT_ISTAT0_FFULL 0x01 |
#define | SGINT_ISTAT0_SCSI0 0x02 |
#define | SGINT_ISTAT0_SCSI1 0x04 |
#define | SGINT_ISTAT0_ENET 0x08 |
#define | SGINT_ISTAT0_GFXDMA 0x10 |
#define | SGINT_ISTAT0_PPORT 0x20 |
#define | SGINT_ISTAT0_HPC2 0x40 |
#define | SGINT_ISTAT0_LIO2 0x80 |
#define | SGINT_ISTAT1_ISDNI 0x01 |
#define | SGINT_ISTAT1_PWR 0x02 |
#define | SGINT_ISTAT1_ISDNH 0x04 |
#define | SGINT_ISTAT1_LIO3 0x08 |
#define | SGINT_ISTAT1_HPC3 0x10 |
#define | SGINT_ISTAT1_AFAIL 0x20 |
#define | SGINT_ISTAT1_VIDEO 0x40 |
#define | SGINT_ISTAT1_GIO2 0x80 |
#define | SGINT_TCWORD_BCD 0x01 /* Use BCD mode for counters */ |
#define | SGINT_TCWORD_MMASK 0x0e /* Mode bitmask. */ |
#define | SGINT_TCWORD_MITC 0x00 /* IRQ on terminal count (doesn't work) */ |
#define | SGINT_TCWORD_MOS 0x02 /* One-shot IRQ mode. */ |
#define | SGINT_TCWORD_MRGEN 0x04 /* Normal rate generation */ |
#define | SGINT_TCWORD_MSWGEN 0x06 /* Square wave generator mode */ |
#define | SGINT_TCWORD_MSWST 0x08 /* Software strobe */ |
#define | SGINT_TCWORD_MHWST 0x0a /* Hardware strobe */ |
#define | SGINT_TCWORD_CMASK 0x30 /* Command mask */ |
#define | SGINT_TCWORD_CLAT 0x00 /* Latch command */ |
#define | SGINT_TCWORD_CLSB 0x10 /* LSB read/write */ |
#define | SGINT_TCWORD_CMSB 0x20 /* MSB read/write */ |
#define | SGINT_TCWORD_CALL 0x30 /* Full counter read/write */ |
#define | SGINT_TCWORD_CNT0 0x00 /* Select counter zero */ |
#define | SGINT_TCWORD_CNT1 0x40 /* Select counter one */ |
#define | SGINT_TCWORD_CNT2 0x80 /* Select counter two */ |
#define | SGINT_TCWORD_CRBCK 0xc0 /* Readback command */ |
#define | SGINT_TIMER_CLOCK 1000000 |
#define | SGINT_TCSAMP_COUNTER ((SGINT_TIMER_CLOCK / HZ) + 255) |
#define | SGIOC_PANEL_POWERON 0x01 |
#define | SGIOC_PANEL_POWERINTR 0x02 |
#define | SGIOC_PANEL_VOLDNINTR 0x10 |
#define | SGIOC_PANEL_VOLDNHOLD 0x20 |
#define | SGIOC_PANEL_VOLUPINTR 0x40 |
#define | SGIOC_PANEL_VOLUPHOLD 0x80 |
#define | SGIOC_SYSID_FULLHOUSE 0x01 |
#define | SGIOC_SYSID_BOARDREV(x) (((x) & 0x1e) >> 1) |
#define | SGIOC_SYSID_CHIPREV(x) (((x) & 0xe0) >> 5) |
#define | SGIOC_DMASEL_SCLK10MHZ 0x00 /* use 10MHZ serial clock */ |
#define | SGIOC_DMASEL_ISDNB 0x01 /* enable isdn B */ |
#define | SGIOC_DMASEL_ISDNA 0x02 /* enable isdn A */ |
#define | SGIOC_DMASEL_PPORT 0x04 /* use parallel DMA */ |
#define | SGIOC_DMASEL_SCLK667MHZ 0x10 /* use 6.67MHZ serial clock */ |
#define | SGIOC_DMASEL_SCLKEXT 0x20 /* use external serial clock */ |
#define | SGIOC_RESET_PPORT 0x01 /* 0=parport reset, 1=nornal */ |
#define | SGIOC_RESET_KBDMOUSE 0x02 /* 0=kbdmouse reset, 1=normal */ |
#define | SGIOC_RESET_EISA 0x04 /* 0=eisa reset, 1=normal */ |
#define | SGIOC_RESET_ISDN 0x08 /* 0=isdn reset, 1=normal */ |
#define | SGIOC_RESET_LC0OFF 0x10 /* guiness: turn led off (red, else green) */ |
#define | SGIOC_RESET_LC1OFF 0x20 /* guiness: turn led off (green, else amber) */ |
#define | SGIOC_WRITE_NTHRESH 0x01 /* use 4.5db threshold */ |
#define | SGIOC_WRITE_TPSPEED 0x02 /* use 100ohm TP speed */ |
#define | SGIOC_WRITE_EPSEL 0x04 /* force cable mode: 1=AUI 0=TP */ |
#define | SGIOC_WRITE_EASEL 0x08 /* 1=autoselect 0=manual cable selection */ |
#define | SGIOC_WRITE_U1AMODE 0x10 /* 1=PC 0=MAC UART mode */ |
#define | SGIOC_WRITE_U0AMODE 0x20 /* 1=PC 0=MAC UART mode */ |
#define | SGIOC_WRITE_MLO 0x40 /* 1=4.75V 0=+5V */ |
#define | SGIOC_WRITE_MHI 0x80 /* 1=5.25V 0=+5V */ |
#define | EXTIO_S0_IRQ_3 0x8000 /* S0: vid.vsync */ |
#define | EXTIO_S0_IRQ_2 0x4000 /* S0: gfx.fifofull */ |
#define | EXTIO_S0_IRQ_1 0x2000 /* S0: gfx.int */ |
#define | EXTIO_S0_RETRACE 0x1000 |
#define | EXTIO_SG_IRQ_3 0x0800 /* SG: vid.vsync */ |
#define | EXTIO_SG_IRQ_2 0x0400 /* SG: gfx.fifofull */ |
#define | EXTIO_SG_IRQ_1 0x0200 /* SG: gfx.int */ |
#define | EXTIO_SG_RETRACE 0x0100 |
#define | EXTIO_GIO_33MHZ 0x0080 |
#define | EXTIO_EISA_BUSERR 0x0040 |
#define | EXTIO_MC_BUSERR 0x0020 |
#define | EXTIO_HPC3_BUSERR 0x0010 |
#define | EXTIO_S0_STAT_1 0x0008 |
#define | EXTIO_S0_STAT_0 0x0004 |
#define | EXTIO_SG_STAT_1 0x0002 |
#define | EXTIO_SG_STAT_0 0x0001 |
Variables | |
u8 | sgi_ioc_reset |
u8 | sgi_ioc_write |
struct sgioc_regs * | sgioc |
struct sgint_regs * | sgint |
#define SGINT_TCSAMP_COUNTER ((SGINT_TIMER_CLOCK / HZ) + 255) |
#define SGINT_TCWORD_MITC 0x00 /* IRQ on terminal count (doesn't work) */ |
#define SGINT_TCWORD_MSWGEN 0x06 /* Square wave generator mode */ |
#define SGIOC_DMASEL_SCLK10MHZ 0x00 /* use 10MHZ serial clock */ |
#define SGIOC_DMASEL_SCLK667MHZ 0x10 /* use 6.67MHZ serial clock */ |
#define SGIOC_DMASEL_SCLKEXT 0x20 /* use external serial clock */ |
#define SGIOC_RESET_KBDMOUSE 0x02 /* 0=kbdmouse reset, 1=normal */ |
#define SGIOC_RESET_LC0OFF 0x10 /* guiness: turn led off (red, else green) */ |
#define SGIOC_RESET_LC1OFF 0x20 /* guiness: turn led off (green, else amber) */ |
#define SGIOC_RESET_PPORT 0x01 /* 0=parport reset, 1=nornal */ |
#define SGIOC_WRITE_EASEL 0x08 /* 1=autoselect 0=manual cable selection */ |
#define SGIOC_WRITE_EPSEL 0x04 /* force cable mode: 1=AUI 0=TP */ |
u8 sgi_ioc_reset |
Definition at line 27 of file ip22-hpc.c.
u8 sgi_ioc_write |
Definition at line 27 of file ip22-hpc.c.
struct sgint_regs* sgint |
Definition at line 25 of file ip22-int.c.
struct sgioc_regs* sgioc |
Definition at line 22 of file ip22-hpc.c.