Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
em28xx-reg.h File Reference

Go to the source code of this file.

Macros

#define EM_GPIO_0   (1 << 0)
 
#define EM_GPIO_1   (1 << 1)
 
#define EM_GPIO_2   (1 << 2)
 
#define EM_GPIO_3   (1 << 3)
 
#define EM_GPIO_4   (1 << 4)
 
#define EM_GPIO_5   (1 << 5)
 
#define EM_GPIO_6   (1 << 6)
 
#define EM_GPIO_7   (1 << 7)
 
#define EM_GPO_0   (1 << 0)
 
#define EM_GPO_1   (1 << 1)
 
#define EM_GPO_2   (1 << 2)
 
#define EM_GPO_3   (1 << 3)
 
#define EM28XX_EP_ANALOG   0x82
 
#define EM28XX_EP_AUDIO   0x83
 
#define EM28XX_EP_DIGITAL   0x84
 
#define EM2800_R08_AUDIOSRC   0x08
 
#define EM28XX_R00_CHIPCFG   0x00
 
#define EM28XX_CHIPCFG_VENDOR_AUDIO   0x80
 
#define EM28XX_CHIPCFG_I2S_VOLUME_CAPABLE   0x40
 
#define EM28XX_CHIPCFG_I2S_5_SAMPRATES   0x30
 
#define EM28XX_CHIPCFG_I2S_3_SAMPRATES   0x20
 
#define EM28XX_CHIPCFG_AC97   0x10
 
#define EM28XX_CHIPCFG_AUDIOMASK   0x30
 
#define EM28XX_R01_CHIPCFG2   0x01
 
#define EM28XX_CHIPCFG2_TS_PRESENT   0x10
 
#define EM28XX_CHIPCFG2_TS_REQ_INTERVAL_MASK   0x0c /* bits 3-2 */
 
#define EM28XX_CHIPCFG2_TS_REQ_INTERVAL_1MF   0x00
 
#define EM28XX_CHIPCFG2_TS_REQ_INTERVAL_2MF   0x04
 
#define EM28XX_CHIPCFG2_TS_REQ_INTERVAL_4MF   0x08
 
#define EM28XX_CHIPCFG2_TS_REQ_INTERVAL_8MF   0x0c
 
#define EM28XX_CHIPCFG2_TS_PACKETSIZE_MASK   0x03 /* bits 0-1 */
 
#define EM28XX_CHIPCFG2_TS_PACKETSIZE_188   0x00
 
#define EM28XX_CHIPCFG2_TS_PACKETSIZE_376   0x01
 
#define EM28XX_CHIPCFG2_TS_PACKETSIZE_564   0x02
 
#define EM28XX_CHIPCFG2_TS_PACKETSIZE_752   0x03
 
#define EM2880_R04_GPO   0x04 /* em2880-em2883 only */
 
#define EM28XX_R08_GPIO   0x08 /* em2820 or upper */
 
#define EM28XX_R06_I2C_CLK   0x06
 
#define EM28XX_I2C_CLK_ACK_LAST_READ   0x80
 
#define EM28XX_I2C_CLK_WAIT_ENABLE   0x40
 
#define EM28XX_I2C_EEPROM_ON_BOARD   0x08
 
#define EM28XX_I2C_EEPROM_KEY_VALID   0x04
 
#define EM2874_I2C_SECONDARY_BUS_SELECT   0x04 /* em2874 has two i2c busses */
 
#define EM28XX_I2C_FREQ_1_5_MHZ   0x03 /* bus frequency (bits [1-0]) */
 
#define EM28XX_I2C_FREQ_25_KHZ   0x02
 
#define EM28XX_I2C_FREQ_400_KHZ   0x01
 
#define EM28XX_I2C_FREQ_100_KHZ   0x00
 
#define EM28XX_R0A_CHIPID   0x0a
 
#define EM28XX_R0C_USBSUSP   0x0c /* */
 
#define EM28XX_R0E_AUDIOSRC   0x0e
 
#define EM28XX_R0F_XCLK   0x0f
 
#define EM28XX_XCLK_AUDIO_UNMUTE   0x80 /* otherwise audio muted */
 
#define EM28XX_XCLK_I2S_MSB_TIMING   0x40 /* otherwise standard timing */
 
#define EM28XX_XCLK_IR_RC5_MODE   0x20 /* otherwise NEC mode */
 
#define EM28XX_XCLK_IR_NEC_CHK_PARITY   0x10
 
#define EM28XX_XCLK_FREQUENCY_30MHZ   0x00 /* Freq. select (bits [3-0]) */
 
#define EM28XX_XCLK_FREQUENCY_15MHZ   0x01
 
#define EM28XX_XCLK_FREQUENCY_10MHZ   0x02
 
#define EM28XX_XCLK_FREQUENCY_7_5MHZ   0x03
 
#define EM28XX_XCLK_FREQUENCY_6MHZ   0x04
 
#define EM28XX_XCLK_FREQUENCY_5MHZ   0x05
 
#define EM28XX_XCLK_FREQUENCY_4_3MHZ   0x06
 
#define EM28XX_XCLK_FREQUENCY_12MHZ   0x07
 
#define EM28XX_XCLK_FREQUENCY_20MHZ   0x08
 
#define EM28XX_XCLK_FREQUENCY_20MHZ_2   0x09
 
#define EM28XX_XCLK_FREQUENCY_48MHZ   0x0a
 
#define EM28XX_XCLK_FREQUENCY_24MHZ   0x0b
 
#define EM28XX_R10_VINMODE   0x10
 
#define EM28XX_R11_VINCTRL   0x11
 
#define EM28XX_VINCTRL_VBI_SLICED   0x80
 
#define EM28XX_VINCTRL_VBI_RAW   0x40
 
#define EM28XX_VINCTRL_VOUT_MODE_IN   0x20 /* HREF,VREF,VACT in output */
 
#define EM28XX_VINCTRL_CCIR656_ENABLE   0x10
 
#define EM28XX_VINCTRL_VBI_16BIT_RAW   0x08 /* otherwise 8-bit raw */
 
#define EM28XX_VINCTRL_FID_ON_HREF   0x04
 
#define EM28XX_VINCTRL_DUAL_EDGE_STROBE   0x02
 
#define EM28XX_VINCTRL_INTERLACED   0x01
 
#define EM28XX_R12_VINENABLE   0x12 /* */
 
#define EM28XX_R14_GAMMA   0x14
 
#define EM28XX_R15_RGAIN   0x15
 
#define EM28XX_R16_GGAIN   0x16
 
#define EM28XX_R17_BGAIN   0x17
 
#define EM28XX_R18_ROFFSET   0x18
 
#define EM28XX_R19_GOFFSET   0x19
 
#define EM28XX_R1A_BOFFSET   0x1a
 
#define EM28XX_R1B_OFLOW   0x1b
 
#define EM28XX_R1C_HSTART   0x1c
 
#define EM28XX_R1D_VSTART   0x1d
 
#define EM28XX_R1E_CWIDTH   0x1e
 
#define EM28XX_R1F_CHEIGHT   0x1f
 
#define EM28XX_R20_YGAIN   0x20
 
#define EM28XX_R21_YOFFSET   0x21
 
#define EM28XX_R22_UVGAIN   0x22
 
#define EM28XX_R23_UOFFSET   0x23
 
#define EM28XX_R24_VOFFSET   0x24
 
#define EM28XX_R25_SHARPNESS   0x25
 
#define EM28XX_R26_COMPR   0x26
 
#define EM28XX_R27_OUTFMT   0x27
 
#define EM28XX_OUTFMT_RGB_8_RGRG   0x00
 
#define EM28XX_OUTFMT_RGB_8_GRGR   0x01
 
#define EM28XX_OUTFMT_RGB_8_GBGB   0x02
 
#define EM28XX_OUTFMT_RGB_8_BGBG   0x03
 
#define EM28XX_OUTFMT_RGB_16_656   0x04
 
#define EM28XX_OUTFMT_RGB_8_BAYER   0x08 /* Pattern in Reg 0x10[1-0] */
 
#define EM28XX_OUTFMT_YUV211   0x10
 
#define EM28XX_OUTFMT_YUV422_Y0UY1V   0x14
 
#define EM28XX_OUTFMT_YUV422_Y1UY0V   0x15
 
#define EM28XX_OUTFMT_YUV411   0x18
 
#define EM28XX_R28_XMIN   0x28
 
#define EM28XX_R29_XMAX   0x29
 
#define EM28XX_R2A_YMIN   0x2a
 
#define EM28XX_R2B_YMAX   0x2b
 
#define EM28XX_R30_HSCALELOW   0x30
 
#define EM28XX_R31_HSCALEHIGH   0x31
 
#define EM28XX_R32_VSCALELOW   0x32
 
#define EM28XX_R33_VSCALEHIGH   0x33
 
#define EM28XX_R34_VBI_START_H   0x34
 
#define EM28XX_R35_VBI_START_V   0x35
 
#define EM28XX_R36_VBI_WIDTH   0x36
 
#define EM28XX_R37_VBI_HEIGHT   0x37
 
#define EM28XX_R40_AC97LSB   0x40
 
#define EM28XX_R41_AC97MSB   0x41
 
#define EM28XX_R42_AC97ADDR   0x42
 
#define EM28XX_R43_AC97BUSY   0x43
 
#define EM28XX_R45_IR   0x45
 
#define EM2874_R50_IR_CONFIG   0x50
 
#define EM2874_R51_IR   0x51
 
#define EM2874_R5F_TS_ENABLE   0x5f
 
#define EM2874_R80_GPIO   0x80
 
#define EM2874_IR_NEC   0x00
 
#define EM2874_IR_RC5   0x04
 
#define EM2874_IR_RC6_MODE_0   0x08
 
#define EM2874_IR_RC6_MODE_6A   0x0b
 
#define EM2874_TS1_CAPTURE_ENABLE   (1 << 0)
 
#define EM2874_TS1_FILTER_ENABLE   (1 << 1)
 
#define EM2874_TS1_NULL_DISCARD   (1 << 2)
 
#define EM2874_TS2_CAPTURE_ENABLE   (1 << 4)
 
#define EM2874_TS2_FILTER_ENABLE   (1 << 5)
 
#define EM2874_TS2_NULL_DISCARD   (1 << 6)
 
#define EM2800_AUDIO_SRC_TUNER   0x0d
 
#define EM2800_AUDIO_SRC_LINE   0x0c
 
#define EM28XX_AUDIO_SRC_TUNER   0xc0
 
#define EM28XX_AUDIO_SRC_LINE   0x80
 
#define EM202_EXT_MODEM_CTRL   0x3e
 
#define EM202_GPIO_CONF   0x4c
 
#define EM202_GPIO_POLARITY   0x4e
 
#define EM202_GPIO_STICKY   0x50
 
#define EM202_GPIO_MASK   0x52
 
#define EM202_GPIO_STATUS   0x54
 
#define EM202_SPDIF_OUT_SEL   0x6a
 
#define EM202_ANTIPOP   0x72
 
#define EM202_EAPD_GPIO_ACCESS   0x74
 

Enumerations

enum  em28xx_chip_id {
  CHIP_ID_EM2800 = 7, CHIP_ID_EM2710 = 17, CHIP_ID_EM2820 = 18, CHIP_ID_EM2840 = 20,
  CHIP_ID_EM2750 = 33, CHIP_ID_EM2860 = 34, CHIP_ID_EM2870 = 35, CHIP_ID_EM2883 = 36,
  CHIP_ID_EM2874 = 65, CHIP_ID_EM2884 = 68, CHIP_ID_EM28174 = 113
}
 

Macro Definition Documentation

#define EM202_ANTIPOP   0x72

Definition at line 225 of file em28xx-reg.h.

#define EM202_EAPD_GPIO_ACCESS   0x74

Definition at line 226 of file em28xx-reg.h.

#define EM202_EXT_MODEM_CTRL   0x3e

Definition at line 218 of file em28xx-reg.h.

#define EM202_GPIO_CONF   0x4c

Definition at line 219 of file em28xx-reg.h.

#define EM202_GPIO_MASK   0x52

Definition at line 222 of file em28xx-reg.h.

#define EM202_GPIO_POLARITY   0x4e

Definition at line 220 of file em28xx-reg.h.

#define EM202_GPIO_STATUS   0x54

Definition at line 223 of file em28xx-reg.h.

#define EM202_GPIO_STICKY   0x50

Definition at line 221 of file em28xx-reg.h.

#define EM202_SPDIF_OUT_SEL   0x6a

Definition at line 224 of file em28xx-reg.h.

#define EM2800_AUDIO_SRC_LINE   0x0c

Definition at line 194 of file em28xx-reg.h.

#define EM2800_AUDIO_SRC_TUNER   0x0d

Definition at line 193 of file em28xx-reg.h.

#define EM2800_R08_AUDIOSRC   0x08

Definition at line 21 of file em28xx-reg.h.

#define EM2874_I2C_SECONDARY_BUS_SELECT   0x04 /* em2874 has two i2c busses */

Definition at line 62 of file em28xx-reg.h.

#define EM2874_IR_NEC   0x00

Definition at line 179 of file em28xx-reg.h.

#define EM2874_IR_RC5   0x04

Definition at line 180 of file em28xx-reg.h.

#define EM2874_IR_RC6_MODE_0   0x08

Definition at line 181 of file em28xx-reg.h.

#define EM2874_IR_RC6_MODE_6A   0x0b

Definition at line 182 of file em28xx-reg.h.

#define EM2874_R50_IR_CONFIG   0x50

Definition at line 173 of file em28xx-reg.h.

#define EM2874_R51_IR   0x51

Definition at line 174 of file em28xx-reg.h.

#define EM2874_R5F_TS_ENABLE   0x5f

Definition at line 175 of file em28xx-reg.h.

#define EM2874_R80_GPIO   0x80

Definition at line 176 of file em28xx-reg.h.

#define EM2874_TS1_CAPTURE_ENABLE   (1 << 0)

Definition at line 185 of file em28xx-reg.h.

#define EM2874_TS1_FILTER_ENABLE   (1 << 1)

Definition at line 186 of file em28xx-reg.h.

#define EM2874_TS1_NULL_DISCARD   (1 << 2)

Definition at line 187 of file em28xx-reg.h.

#define EM2874_TS2_CAPTURE_ENABLE   (1 << 4)

Definition at line 188 of file em28xx-reg.h.

#define EM2874_TS2_FILTER_ENABLE   (1 << 5)

Definition at line 189 of file em28xx-reg.h.

#define EM2874_TS2_NULL_DISCARD   (1 << 6)

Definition at line 190 of file em28xx-reg.h.

#define EM2880_R04_GPO   0x04 /* em2880-em2883 only */

Definition at line 52 of file em28xx-reg.h.

#define EM28XX_AUDIO_SRC_LINE   0x80

Definition at line 196 of file em28xx-reg.h.

#define EM28XX_AUDIO_SRC_TUNER   0xc0

Definition at line 195 of file em28xx-reg.h.

#define EM28XX_CHIPCFG2_TS_PACKETSIZE_188   0x00

Definition at line 45 of file em28xx-reg.h.

#define EM28XX_CHIPCFG2_TS_PACKETSIZE_376   0x01

Definition at line 46 of file em28xx-reg.h.

#define EM28XX_CHIPCFG2_TS_PACKETSIZE_564   0x02

Definition at line 47 of file em28xx-reg.h.

#define EM28XX_CHIPCFG2_TS_PACKETSIZE_752   0x03

Definition at line 48 of file em28xx-reg.h.

#define EM28XX_CHIPCFG2_TS_PACKETSIZE_MASK   0x03 /* bits 0-1 */

Definition at line 44 of file em28xx-reg.h.

#define EM28XX_CHIPCFG2_TS_PRESENT   0x10

Definition at line 38 of file em28xx-reg.h.

#define EM28XX_CHIPCFG2_TS_REQ_INTERVAL_1MF   0x00

Definition at line 40 of file em28xx-reg.h.

#define EM28XX_CHIPCFG2_TS_REQ_INTERVAL_2MF   0x04

Definition at line 41 of file em28xx-reg.h.

#define EM28XX_CHIPCFG2_TS_REQ_INTERVAL_4MF   0x08

Definition at line 42 of file em28xx-reg.h.

#define EM28XX_CHIPCFG2_TS_REQ_INTERVAL_8MF   0x0c

Definition at line 43 of file em28xx-reg.h.

#define EM28XX_CHIPCFG2_TS_REQ_INTERVAL_MASK   0x0c /* bits 3-2 */

Definition at line 39 of file em28xx-reg.h.

#define EM28XX_CHIPCFG_AC97   0x10

Definition at line 32 of file em28xx-reg.h.

#define EM28XX_CHIPCFG_AUDIOMASK   0x30

Definition at line 33 of file em28xx-reg.h.

#define EM28XX_CHIPCFG_I2S_3_SAMPRATES   0x20

Definition at line 31 of file em28xx-reg.h.

#define EM28XX_CHIPCFG_I2S_5_SAMPRATES   0x30

Definition at line 30 of file em28xx-reg.h.

#define EM28XX_CHIPCFG_I2S_VOLUME_CAPABLE   0x40

Definition at line 29 of file em28xx-reg.h.

#define EM28XX_CHIPCFG_VENDOR_AUDIO   0x80

Definition at line 28 of file em28xx-reg.h.

#define EM28XX_EP_ANALOG   0x82

Definition at line 16 of file em28xx-reg.h.

#define EM28XX_EP_AUDIO   0x83

Definition at line 17 of file em28xx-reg.h.

#define EM28XX_EP_DIGITAL   0x84

Definition at line 18 of file em28xx-reg.h.

#define EM28XX_I2C_CLK_ACK_LAST_READ   0x80

Definition at line 58 of file em28xx-reg.h.

#define EM28XX_I2C_CLK_WAIT_ENABLE   0x40

Definition at line 59 of file em28xx-reg.h.

#define EM28XX_I2C_EEPROM_KEY_VALID   0x04

Definition at line 61 of file em28xx-reg.h.

#define EM28XX_I2C_EEPROM_ON_BOARD   0x08

Definition at line 60 of file em28xx-reg.h.

#define EM28XX_I2C_FREQ_100_KHZ   0x00

Definition at line 66 of file em28xx-reg.h.

#define EM28XX_I2C_FREQ_1_5_MHZ   0x03 /* bus frequency (bits [1-0]) */

Definition at line 63 of file em28xx-reg.h.

#define EM28XX_I2C_FREQ_25_KHZ   0x02

Definition at line 64 of file em28xx-reg.h.

#define EM28XX_I2C_FREQ_400_KHZ   0x01

Definition at line 65 of file em28xx-reg.h.

#define EM28XX_OUTFMT_RGB_16_656   0x04

Definition at line 138 of file em28xx-reg.h.

#define EM28XX_OUTFMT_RGB_8_BAYER   0x08 /* Pattern in Reg 0x10[1-0] */

Definition at line 139 of file em28xx-reg.h.

#define EM28XX_OUTFMT_RGB_8_BGBG   0x03

Definition at line 137 of file em28xx-reg.h.

#define EM28XX_OUTFMT_RGB_8_GBGB   0x02

Definition at line 136 of file em28xx-reg.h.

#define EM28XX_OUTFMT_RGB_8_GRGR   0x01

Definition at line 135 of file em28xx-reg.h.

#define EM28XX_OUTFMT_RGB_8_RGRG   0x00

Definition at line 134 of file em28xx-reg.h.

#define EM28XX_OUTFMT_YUV211   0x10

Definition at line 140 of file em28xx-reg.h.

#define EM28XX_OUTFMT_YUV411   0x18

Definition at line 143 of file em28xx-reg.h.

#define EM28XX_OUTFMT_YUV422_Y0UY1V   0x14

Definition at line 141 of file em28xx-reg.h.

#define EM28XX_OUTFMT_YUV422_Y1UY0V   0x15

Definition at line 142 of file em28xx-reg.h.

#define EM28XX_R00_CHIPCFG   0x00

Definition at line 25 of file em28xx-reg.h.

#define EM28XX_R01_CHIPCFG2   0x01

Definition at line 35 of file em28xx-reg.h.

#define EM28XX_R06_I2C_CLK   0x06

Definition at line 55 of file em28xx-reg.h.

#define EM28XX_R08_GPIO   0x08 /* em2820 or upper */

Definition at line 53 of file em28xx-reg.h.

#define EM28XX_R0A_CHIPID   0x0a

Definition at line 69 of file em28xx-reg.h.

#define EM28XX_R0C_USBSUSP   0x0c /* */

Definition at line 70 of file em28xx-reg.h.

#define EM28XX_R0E_AUDIOSRC   0x0e

Definition at line 72 of file em28xx-reg.h.

#define EM28XX_R0F_XCLK   0x0f

Definition at line 73 of file em28xx-reg.h.

#define EM28XX_R10_VINMODE   0x10

Definition at line 93 of file em28xx-reg.h.

#define EM28XX_R11_VINCTRL   0x11

Definition at line 95 of file em28xx-reg.h.

#define EM28XX_R12_VINENABLE   0x12 /* */

Definition at line 107 of file em28xx-reg.h.

#define EM28XX_R14_GAMMA   0x14

Definition at line 109 of file em28xx-reg.h.

#define EM28XX_R15_RGAIN   0x15

Definition at line 110 of file em28xx-reg.h.

#define EM28XX_R16_GGAIN   0x16

Definition at line 111 of file em28xx-reg.h.

#define EM28XX_R17_BGAIN   0x17

Definition at line 112 of file em28xx-reg.h.

#define EM28XX_R18_ROFFSET   0x18

Definition at line 113 of file em28xx-reg.h.

#define EM28XX_R19_GOFFSET   0x19

Definition at line 114 of file em28xx-reg.h.

#define EM28XX_R1A_BOFFSET   0x1a

Definition at line 115 of file em28xx-reg.h.

#define EM28XX_R1B_OFLOW   0x1b

Definition at line 117 of file em28xx-reg.h.

#define EM28XX_R1C_HSTART   0x1c

Definition at line 118 of file em28xx-reg.h.

#define EM28XX_R1D_VSTART   0x1d

Definition at line 119 of file em28xx-reg.h.

#define EM28XX_R1E_CWIDTH   0x1e

Definition at line 120 of file em28xx-reg.h.

#define EM28XX_R1F_CHEIGHT   0x1f

Definition at line 121 of file em28xx-reg.h.

#define EM28XX_R20_YGAIN   0x20

Definition at line 123 of file em28xx-reg.h.

#define EM28XX_R21_YOFFSET   0x21

Definition at line 124 of file em28xx-reg.h.

#define EM28XX_R22_UVGAIN   0x22

Definition at line 125 of file em28xx-reg.h.

#define EM28XX_R23_UOFFSET   0x23

Definition at line 126 of file em28xx-reg.h.

#define EM28XX_R24_VOFFSET   0x24

Definition at line 127 of file em28xx-reg.h.

#define EM28XX_R25_SHARPNESS   0x25

Definition at line 128 of file em28xx-reg.h.

#define EM28XX_R26_COMPR   0x26

Definition at line 130 of file em28xx-reg.h.

#define EM28XX_R27_OUTFMT   0x27

Definition at line 131 of file em28xx-reg.h.

#define EM28XX_R28_XMIN   0x28

Definition at line 146 of file em28xx-reg.h.

#define EM28XX_R29_XMAX   0x29

Definition at line 147 of file em28xx-reg.h.

#define EM28XX_R2A_YMIN   0x2a

Definition at line 148 of file em28xx-reg.h.

#define EM28XX_R2B_YMAX   0x2b

Definition at line 149 of file em28xx-reg.h.

#define EM28XX_R30_HSCALELOW   0x30

Definition at line 151 of file em28xx-reg.h.

#define EM28XX_R31_HSCALEHIGH   0x31

Definition at line 152 of file em28xx-reg.h.

#define EM28XX_R32_VSCALELOW   0x32

Definition at line 153 of file em28xx-reg.h.

#define EM28XX_R33_VSCALEHIGH   0x33

Definition at line 154 of file em28xx-reg.h.

#define EM28XX_R34_VBI_START_H   0x34

Definition at line 155 of file em28xx-reg.h.

#define EM28XX_R35_VBI_START_V   0x35

Definition at line 156 of file em28xx-reg.h.

#define EM28XX_R36_VBI_WIDTH   0x36

Definition at line 157 of file em28xx-reg.h.

#define EM28XX_R37_VBI_HEIGHT   0x37

Definition at line 158 of file em28xx-reg.h.

#define EM28XX_R40_AC97LSB   0x40

Definition at line 160 of file em28xx-reg.h.

#define EM28XX_R41_AC97MSB   0x41

Definition at line 161 of file em28xx-reg.h.

#define EM28XX_R42_AC97ADDR   0x42

Definition at line 162 of file em28xx-reg.h.

#define EM28XX_R43_AC97BUSY   0x43

Definition at line 163 of file em28xx-reg.h.

#define EM28XX_R45_IR   0x45

Definition at line 165 of file em28xx-reg.h.

#define EM28XX_VINCTRL_CCIR656_ENABLE   0x10

Definition at line 101 of file em28xx-reg.h.

#define EM28XX_VINCTRL_DUAL_EDGE_STROBE   0x02

Definition at line 104 of file em28xx-reg.h.

#define EM28XX_VINCTRL_FID_ON_HREF   0x04

Definition at line 103 of file em28xx-reg.h.

#define EM28XX_VINCTRL_INTERLACED   0x01

Definition at line 105 of file em28xx-reg.h.

#define EM28XX_VINCTRL_VBI_16BIT_RAW   0x08 /* otherwise 8-bit raw */

Definition at line 102 of file em28xx-reg.h.

#define EM28XX_VINCTRL_VBI_RAW   0x40

Definition at line 99 of file em28xx-reg.h.

#define EM28XX_VINCTRL_VBI_SLICED   0x80

Definition at line 98 of file em28xx-reg.h.

#define EM28XX_VINCTRL_VOUT_MODE_IN   0x20 /* HREF,VREF,VACT in output */

Definition at line 100 of file em28xx-reg.h.

#define EM28XX_XCLK_AUDIO_UNMUTE   0x80 /* otherwise audio muted */

Definition at line 76 of file em28xx-reg.h.

#define EM28XX_XCLK_FREQUENCY_10MHZ   0x02

Definition at line 82 of file em28xx-reg.h.

#define EM28XX_XCLK_FREQUENCY_12MHZ   0x07

Definition at line 87 of file em28xx-reg.h.

#define EM28XX_XCLK_FREQUENCY_15MHZ   0x01

Definition at line 81 of file em28xx-reg.h.

#define EM28XX_XCLK_FREQUENCY_20MHZ   0x08

Definition at line 88 of file em28xx-reg.h.

#define EM28XX_XCLK_FREQUENCY_20MHZ_2   0x09

Definition at line 89 of file em28xx-reg.h.

#define EM28XX_XCLK_FREQUENCY_24MHZ   0x0b

Definition at line 91 of file em28xx-reg.h.

#define EM28XX_XCLK_FREQUENCY_30MHZ   0x00 /* Freq. select (bits [3-0]) */

Definition at line 80 of file em28xx-reg.h.

#define EM28XX_XCLK_FREQUENCY_48MHZ   0x0a

Definition at line 90 of file em28xx-reg.h.

#define EM28XX_XCLK_FREQUENCY_4_3MHZ   0x06

Definition at line 86 of file em28xx-reg.h.

#define EM28XX_XCLK_FREQUENCY_5MHZ   0x05

Definition at line 85 of file em28xx-reg.h.

#define EM28XX_XCLK_FREQUENCY_6MHZ   0x04

Definition at line 84 of file em28xx-reg.h.

#define EM28XX_XCLK_FREQUENCY_7_5MHZ   0x03

Definition at line 83 of file em28xx-reg.h.

#define EM28XX_XCLK_I2S_MSB_TIMING   0x40 /* otherwise standard timing */

Definition at line 77 of file em28xx-reg.h.

#define EM28XX_XCLK_IR_NEC_CHK_PARITY   0x10

Definition at line 79 of file em28xx-reg.h.

#define EM28XX_XCLK_IR_RC5_MODE   0x20 /* otherwise NEC mode */

Definition at line 78 of file em28xx-reg.h.

#define EM_GPIO_0   (1 << 0)

Definition at line 1 of file em28xx-reg.h.

#define EM_GPIO_1   (1 << 1)

Definition at line 2 of file em28xx-reg.h.

#define EM_GPIO_2   (1 << 2)

Definition at line 3 of file em28xx-reg.h.

#define EM_GPIO_3   (1 << 3)

Definition at line 4 of file em28xx-reg.h.

#define EM_GPIO_4   (1 << 4)

Definition at line 5 of file em28xx-reg.h.

#define EM_GPIO_5   (1 << 5)

Definition at line 6 of file em28xx-reg.h.

#define EM_GPIO_6   (1 << 6)

Definition at line 7 of file em28xx-reg.h.

#define EM_GPIO_7   (1 << 7)

Definition at line 8 of file em28xx-reg.h.

#define EM_GPO_0   (1 << 0)

Definition at line 10 of file em28xx-reg.h.

#define EM_GPO_1   (1 << 1)

Definition at line 11 of file em28xx-reg.h.

#define EM_GPO_2   (1 << 2)

Definition at line 12 of file em28xx-reg.h.

#define EM_GPO_3   (1 << 3)

Definition at line 13 of file em28xx-reg.h.

Enumeration Type Documentation

Enumerator:
CHIP_ID_EM2800 
CHIP_ID_EM2710 
CHIP_ID_EM2820 
CHIP_ID_EM2840 
CHIP_ID_EM2750 
CHIP_ID_EM2860 
CHIP_ID_EM2870 
CHIP_ID_EM2883 
CHIP_ID_EM2874 
CHIP_ID_EM2884 
CHIP_ID_EM28174 

Definition at line 199 of file em28xx-reg.h.