Go to the documentation of this file.
29 #define GO7007_BOARDID_MATRIX_II 0
30 #define GO7007_BOARDID_MATRIX_RELOAD 1
31 #define GO7007_BOARDID_STAR_TREK 2
32 #define GO7007_BOARDID_PCI_VOYAGER 3
33 #define GO7007_BOARDID_XMEN 4
34 #define GO7007_BOARDID_XMEN_II 5
35 #define GO7007_BOARDID_XMEN_III 6
36 #define GO7007_BOARDID_MATRIX_REV 7
37 #define GO7007_BOARDID_PX_M402U 16
38 #define GO7007_BOARDID_PX_TV402U_ANY 17
39 #define GO7007_BOARDID_PX_TV402U_NA 18
40 #define GO7007_BOARDID_PX_TV402U_EU 19
41 #define GO7007_BOARDID_PX_TV402U_JP 20
42 #define GO7007_BOARDID_LIFEVIEW_LR192 21
43 #define GO7007_BOARDID_ENDURA 22
44 #define GO7007_BOARDID_ADLINK_MPG24 23
45 #define GO7007_BOARDID_SENSORAY_2250 24
48 #define GO7007_BOARD_HAS_AUDIO (1<<0)
49 #define GO7007_BOARD_USE_ONBOARD_I2C (1<<1)
50 #define GO7007_BOARD_HAS_TUNER (1<<2)
53 #define GO7007_SENSOR_VALID_POLAR (1<<0)
54 #define GO7007_SENSOR_HREF_POLAR (1<<1)
55 #define GO7007_SENSOR_VREF_POLAR (1<<2)
56 #define GO7007_SENSOR_FIELD_ID_POLAR (1<<3)
57 #define GO7007_SENSOR_BIT_WIDTH (1<<4)
58 #define GO7007_SENSOR_VALID_ENABLE (1<<5)
59 #define GO7007_SENSOR_656 (1<<6)
60 #define GO7007_SENSOR_CONFIG_MASK 0x7f
61 #define GO7007_SENSOR_TV (1<<7)
62 #define GO7007_SENSOR_VBI (1<<8)
63 #define GO7007_SENSOR_SCALING (1<<9)
66 #define GO7007_AUDIO_I2S_MODE_1 (1)
67 #define GO7007_AUDIO_I2S_MODE_2 (2)
68 #define GO7007_AUDIO_I2S_MODE_3 (3)
69 #define GO7007_AUDIO_BCLK_POLAR (1<<2)
70 #define GO7007_AUDIO_WORD_14 (14<<4)
71 #define GO7007_AUDIO_WORD_16 (16<<4)
72 #define GO7007_AUDIO_ONE_CHANNEL (1<<11)
73 #define GO7007_AUDIO_I2S_MASTER (1<<16)
74 #define GO7007_AUDIO_OKI_MODE (1<<17)
115 #define GO7007_BUF_PAGES (128 * 1024 / PAGE_SIZE)
116 #define GO7007_BUF_SIZE (GO7007_BUF_PAGES << PAGE_SHIFT)
142 #define GO7007_FORMAT_MJPEG 0
143 #define GO7007_FORMAT_MPEG4 1
144 #define GO7007_FORMAT_MPEG1 2
145 #define GO7007_FORMAT_MPEG2 3
146 #define GO7007_FORMAT_H263 4
148 #define GO7007_RATIO_1_1 0
149 #define GO7007_RATIO_4_3 1
150 #define GO7007_RATIO_16_9 2
252 #define go7007_interface_reset(go) \
253 ((go)->hpi_ops->interface_reset(go))
254 #define go7007_write_interrupt(go, x, y) \
255 ((go)->hpi_ops->write_interrupt)((go), (x), (y))
256 #define go7007_stream_start(go) \
257 ((go)->hpi_ops->stream_start(go))
258 #define go7007_stream_stop(go) \
259 ((go)->hpi_ops->stream_stop(go))
260 #define go7007_send_firmware(go, x, y) \
261 ((go)->hpi_ops->send_firmware)((go), (x), (y))
262 #define go7007_write_addr(go, x, y) \
263 ((go)->hpi_ops->write_interrupt)((go), (x)|0x8000, (y))