FreeBSD kernel PCCARD device code
pccardreg.h File Reference

Go to the source code of this file.

Macros

#define PCCARD_CCR_OPTION   0x00
 
#define PCCARD_CCR_OPTION_SRESET   0x80
 
#define PCCARD_CCR_OPTION_LEVIREQ   0x40
 
#define PCCARD_CCR_OPTION_CFINDEX   0x3F
 
#define PCCARD_CCR_OPTION_IREQ_ENABLE   0x04
 
#define PCCARD_CCR_OPTION_ADDR_DECODE   0x02
 
#define PCCARD_CCR_OPTION_FUNC_ENABLE   0x01
 
#define PCCARD_CCR_STATUS   0x02
 
#define PCCARD_CCR_STATUS_PINCHANGED   0x80
 
#define PCCARD_CCR_STATUS_SIGCHG   0x40
 
#define PCCARD_CCR_STATUS_IOIS8   0x20
 
#define PCCARD_CCR_STATUS_RESERVED1   0x10
 
#define PCCARD_CCR_STATUS_AUDIO   0x08
 
#define PCCARD_CCR_STATUS_PWRDWN   0x04
 
#define PCCARD_CCR_STATUS_INTR   0x02
 
#define PCCARD_CCR_STATUS_INTRACK   0x01
 
#define PCCARD_CCR_PIN   0x04
 
#define PCCARD_CCR_PIN_CBVD1   0x80
 
#define PCCARD_CCR_PIN_CBVD2   0x40
 
#define PCCARD_CCR_PIN_CRDYBSY   0x20
 
#define PCCARD_CCR_PIN_CWPROT   0x10
 
#define PCCARD_CCR_PIN_RBVD1   0x08
 
#define PCCARD_CCR_PIN_RBVD2   0x04
 
#define PCCARD_CCR_PIN_RRDYBSY   0x02
 
#define PCCARD_CCR_PIN_RWPROT   0x01
 
#define PCCARD_CCR_SOCKETCOPY   0x06
 
#define PCCARD_CCR_SOCKETCOPY_RESERVED   0x80
 
#define PCCARD_CCR_SOCKETCOPY_COPY_MASK   0x70
 
#define PCCARD_CCR_SOCKETCOPY_COPY_SHIFT   4
 
#define PCCARD_CCR_SOCKETCOPY_SOCKET_MASK   0x0F
 
#define PCCARD_CCR_EXTSTATUS   0x08
 
#define PCCARD_CCR_IOBASE0   0x0A
 
#define PCCARD_CCR_IOBASE1   0x0C
 
#define PCCARD_CCR_IOBASE2   0x0E
 
#define PCCARD_CCR_IOBASE3   0x10
 
#define PCCARD_CCR_IOSIZE   0x12
 
#define PCCARD_CCR_SIZE   0x14
 

Macro Definition Documentation

◆ PCCARD_CCR_EXTSTATUS

#define PCCARD_CCR_EXTSTATUS   0x08

Definition at line 69 of file pccardreg.h.

◆ PCCARD_CCR_IOBASE0

#define PCCARD_CCR_IOBASE0   0x0A

Definition at line 70 of file pccardreg.h.

◆ PCCARD_CCR_IOBASE1

#define PCCARD_CCR_IOBASE1   0x0C

Definition at line 71 of file pccardreg.h.

◆ PCCARD_CCR_IOBASE2

#define PCCARD_CCR_IOBASE2   0x0E

Definition at line 72 of file pccardreg.h.

◆ PCCARD_CCR_IOBASE3

#define PCCARD_CCR_IOBASE3   0x10

Definition at line 73 of file pccardreg.h.

◆ PCCARD_CCR_IOSIZE

#define PCCARD_CCR_IOSIZE   0x12

Definition at line 74 of file pccardreg.h.

◆ PCCARD_CCR_OPTION

#define PCCARD_CCR_OPTION   0x00

Definition at line 39 of file pccardreg.h.

◆ PCCARD_CCR_OPTION_ADDR_DECODE

#define PCCARD_CCR_OPTION_ADDR_DECODE   0x02

Definition at line 44 of file pccardreg.h.

◆ PCCARD_CCR_OPTION_CFINDEX

#define PCCARD_CCR_OPTION_CFINDEX   0x3F

Definition at line 42 of file pccardreg.h.

◆ PCCARD_CCR_OPTION_FUNC_ENABLE

#define PCCARD_CCR_OPTION_FUNC_ENABLE   0x01

Definition at line 45 of file pccardreg.h.

◆ PCCARD_CCR_OPTION_IREQ_ENABLE

#define PCCARD_CCR_OPTION_IREQ_ENABLE   0x04

Definition at line 43 of file pccardreg.h.

◆ PCCARD_CCR_OPTION_LEVIREQ

#define PCCARD_CCR_OPTION_LEVIREQ   0x40

Definition at line 41 of file pccardreg.h.

◆ PCCARD_CCR_OPTION_SRESET

#define PCCARD_CCR_OPTION_SRESET   0x80

Definition at line 40 of file pccardreg.h.

◆ PCCARD_CCR_PIN

#define PCCARD_CCR_PIN   0x04

Definition at line 55 of file pccardreg.h.

◆ PCCARD_CCR_PIN_CBVD1

#define PCCARD_CCR_PIN_CBVD1   0x80

Definition at line 56 of file pccardreg.h.

◆ PCCARD_CCR_PIN_CBVD2

#define PCCARD_CCR_PIN_CBVD2   0x40

Definition at line 57 of file pccardreg.h.

◆ PCCARD_CCR_PIN_CRDYBSY

#define PCCARD_CCR_PIN_CRDYBSY   0x20

Definition at line 58 of file pccardreg.h.

◆ PCCARD_CCR_PIN_CWPROT

#define PCCARD_CCR_PIN_CWPROT   0x10

Definition at line 59 of file pccardreg.h.

◆ PCCARD_CCR_PIN_RBVD1

#define PCCARD_CCR_PIN_RBVD1   0x08

Definition at line 60 of file pccardreg.h.

◆ PCCARD_CCR_PIN_RBVD2

#define PCCARD_CCR_PIN_RBVD2   0x04

Definition at line 61 of file pccardreg.h.

◆ PCCARD_CCR_PIN_RRDYBSY

#define PCCARD_CCR_PIN_RRDYBSY   0x02

Definition at line 62 of file pccardreg.h.

◆ PCCARD_CCR_PIN_RWPROT

#define PCCARD_CCR_PIN_RWPROT   0x01

Definition at line 63 of file pccardreg.h.

◆ PCCARD_CCR_SIZE

#define PCCARD_CCR_SIZE   0x14

Definition at line 76 of file pccardreg.h.

◆ PCCARD_CCR_SOCKETCOPY

#define PCCARD_CCR_SOCKETCOPY   0x06

Definition at line 64 of file pccardreg.h.

◆ PCCARD_CCR_SOCKETCOPY_COPY_MASK

#define PCCARD_CCR_SOCKETCOPY_COPY_MASK   0x70

Definition at line 66 of file pccardreg.h.

◆ PCCARD_CCR_SOCKETCOPY_COPY_SHIFT

#define PCCARD_CCR_SOCKETCOPY_COPY_SHIFT   4

Definition at line 67 of file pccardreg.h.

◆ PCCARD_CCR_SOCKETCOPY_RESERVED

#define PCCARD_CCR_SOCKETCOPY_RESERVED   0x80

Definition at line 65 of file pccardreg.h.

◆ PCCARD_CCR_SOCKETCOPY_SOCKET_MASK

#define PCCARD_CCR_SOCKETCOPY_SOCKET_MASK   0x0F

Definition at line 68 of file pccardreg.h.

◆ PCCARD_CCR_STATUS

#define PCCARD_CCR_STATUS   0x02

Definition at line 46 of file pccardreg.h.

◆ PCCARD_CCR_STATUS_AUDIO

#define PCCARD_CCR_STATUS_AUDIO   0x08

Definition at line 51 of file pccardreg.h.

◆ PCCARD_CCR_STATUS_INTR

#define PCCARD_CCR_STATUS_INTR   0x02

Definition at line 53 of file pccardreg.h.

◆ PCCARD_CCR_STATUS_INTRACK

#define PCCARD_CCR_STATUS_INTRACK   0x01

Definition at line 54 of file pccardreg.h.

◆ PCCARD_CCR_STATUS_IOIS8

#define PCCARD_CCR_STATUS_IOIS8   0x20

Definition at line 49 of file pccardreg.h.

◆ PCCARD_CCR_STATUS_PINCHANGED

#define PCCARD_CCR_STATUS_PINCHANGED   0x80

Definition at line 47 of file pccardreg.h.

◆ PCCARD_CCR_STATUS_PWRDWN

#define PCCARD_CCR_STATUS_PWRDWN   0x04

Definition at line 52 of file pccardreg.h.

◆ PCCARD_CCR_STATUS_RESERVED1

#define PCCARD_CCR_STATUS_RESERVED1   0x10

Definition at line 50 of file pccardreg.h.

◆ PCCARD_CCR_STATUS_SIGCHG

#define PCCARD_CCR_STATUS_SIGCHG   0x40

Definition at line 48 of file pccardreg.h.