Lines Matching +full:0 +full:xb5
21 module_param(debug, int, 0);
34 { 0, "CVBS 1", V4L2_INPUT_TYPE_CAMERA, 0, 0, HEXIUM_STD, 0, V4L2_IN_CAP_STD },
35 { 1, "CVBS 2", V4L2_INPUT_TYPE_CAMERA, 0, 0, HEXIUM_STD, 0, V4L2_IN_CAP_STD },
36 { 2, "CVBS 3", V4L2_INPUT_TYPE_CAMERA, 0, 0, HEXIUM_STD, 0, V4L2_IN_CAP_STD },
37 { 3, "CVBS 4", V4L2_INPUT_TYPE_CAMERA, 0, 0, HEXIUM_STD, 0, V4L2_IN_CAP_STD },
38 { 4, "CVBS 5", V4L2_INPUT_TYPE_CAMERA, 0, 0, HEXIUM_STD, 0, V4L2_IN_CAP_STD },
39 { 5, "CVBS 6", V4L2_INPUT_TYPE_CAMERA, 0, 0, HEXIUM_STD, 0, V4L2_IN_CAP_STD },
40 { 6, "Y/C 1", V4L2_INPUT_TYPE_CAMERA, 0, 0, HEXIUM_STD, 0, V4L2_IN_CAP_STD },
41 { 7, "Y/C 2", V4L2_INPUT_TYPE_CAMERA, 0, 0, HEXIUM_STD, 0, V4L2_IN_CAP_STD },
42 { 8, "Y/C 3", V4L2_INPUT_TYPE_CAMERA, 0, 0, HEXIUM_STD, 0, V4L2_IN_CAP_STD },
45 #define HEXIUM_AUDIOS 0
64 /*00*/ 0x4C,0x3C,0x0D,0xEF,0xBD,0xF0,0x00,0x00,
65 /*08*/ 0xF8,0xF8,0x60,0x60,0x40,0x86,0x18,0x90,
66 /*10*/ 0x00,0x2C,0x40,0x46,0x42,0x1A,0xFF,0xDA,
67 /*18*/ 0xF0,0x8B,0x00,0x00,0x00,0x00,0x00,0x00,
68 /*20*/ 0xD9,0x17,0x40,0x41,0x80,0x41,0x80,0x4F,
69 /*28*/ 0xFE,0x01,0x0F,0x0F,0x03,0x01,0x81,0x03,
70 /*30*/ 0x44,0x75,0x01,0x8C,0x03
78 { 0x06, 0x00 },
79 { 0x20, 0xD9 },
80 { 0x21, 0x17 }, // 0x16,
81 { 0x22, 0x40 },
82 { 0x2C, 0x03 },
83 { 0x30, 0x44 },
84 { 0x31, 0x75 }, // ??
85 { 0x21, 0x16 }, // 0x03,
89 { 0x06, 0x00 },
90 { 0x20, 0x78 },
91 { 0x21, 0x07 }, // 0x03,
92 { 0x22, 0xD2 },
93 { 0x2C, 0x83 },
94 { 0x30, 0x60 },
95 { 0x31, 0xB5 }, // ?
96 { 0x21, 0x03 },
100 { 0x06, 0x00 },
101 { 0x20, 0xBA },
102 { 0x21, 0x07 }, // 0x05,
103 { 0x22, 0x91 },
104 { 0x2C, 0x03 },
105 { 0x30, 0x60 },
106 { 0x31, 0xB5 }, // ??
107 { 0x21, 0x05 }, // 0x03,
111 { 0x06, 0x00 },
112 { 0x20, 0xD8 },
113 { 0x21, 0x17 }, // 0x16,
114 { 0x22, 0x40 },
115 { 0x2C, 0x03 },
116 { 0x30, 0x44 },
117 { 0x31, 0x75 }, // ??
118 { 0x21, 0x16 }, // 0x03,
122 { 0x06, 0x00 },
123 { 0x20, 0xB8 },
124 { 0x21, 0x07 }, // 0x05,
125 { 0x22, 0x91 },
126 { 0x2C, 0x03 },
127 { 0x30, 0x60 },
128 { 0x31, 0xB5 }, // ??
129 { 0x21, 0x05 }, // 0x03,
133 { 0x06, 0x00 },
134 { 0x20, 0x7C },
135 { 0x21, 0x07 }, // 0x03
136 { 0x22, 0xD2 },
137 { 0x2C, 0x83 },
138 { 0x30, 0x60 },
139 { 0x31, 0xB5 }, // ??
140 { 0x21, 0x03 },
144 { 0x06, 0x80 },
145 { 0x20, 0x59 },
146 { 0x21, 0x17 },
147 { 0x22, 0x42 },
148 { 0x2C, 0xA3 },
149 { 0x30, 0x44 },
150 { 0x31, 0x75 },
151 { 0x21, 0x12 },
155 { 0x06, 0x80 },
156 { 0x20, 0x9A },
157 { 0x21, 0x17 },
158 { 0x22, 0xB1 },
159 { 0x2C, 0x13 },
160 { 0x30, 0x60 },
161 { 0x31, 0xB5 },
162 { 0x21, 0x14 },
166 { 0x06, 0x80 },
167 { 0x20, 0x3C },
168 { 0x21, 0x27 },
169 { 0x22, 0xC1 },
170 { 0x2C, 0x23 },
171 { 0x30, 0x44 },
172 { 0x31, 0x75 },
173 { 0x21, 0x21 },
203 int err = 0; in hexium_probe()
207 /* there are no hexium orion cards with revision 0 saa7146s */ in hexium_probe()
208 if (0 == dev->revision) { in hexium_probe()
219 saa7146_write(dev, DD1_INIT, 0x01000100); in hexium_probe()
220 saa7146_write(dev, DD1_STREAM_B, 0x00000000); in hexium_probe()
226 if (i2c_add_adapter(&hexium->i2c_adapter) < 0) { in hexium_probe()
232 /* set SAA7110 control GPIO 0 */ in hexium_probe()
233 saa7146_setgpio(dev, 0, SAA7146_GPIO_OUTHI); in hexium_probe()
240 if (0x17c8 == dev->pci->subsystem_vendor && 0x0101 == dev->pci->subsystem_device) { in hexium_probe()
245 return 0; in hexium_probe()
248 if (0x17c8 == dev->pci->subsystem_vendor && 0x2101 == dev->pci->subsystem_device) { in hexium_probe()
253 return 0; in hexium_probe()
257 a saa7110 at address 0x4e */ in hexium_probe()
258 err = i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_READ, in hexium_probe()
259 0x00, I2C_SMBUS_BYTE_DATA, &data); in hexium_probe()
260 if (err == 0) { in hexium_probe()
265 return 0; in hexium_probe()
281 int i = 0; in hexium_init_done()
286 for (i = 0; i < sizeof(hexium_saa7110); i++) { in hexium_init_done()
288 …if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_WRITE, i, I2C_SMBUS_BYTE_DATA, &d… in hexium_init_done()
289 pr_err("failed for address 0x%02x\n", i); in hexium_init_done()
293 return 0; in hexium_init_done()
299 int i = 0; in hexium_set_input()
303 for (i = 0; i < 8; i++) { in hexium_set_input()
306 …if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_WRITE, adr, I2C_SMBUS_BYTE_DATA, … in hexium_set_input()
309 pr_debug("%d: 0x%02x => 0x%02x\n", input, adr, data.byte); in hexium_set_input()
312 return 0; in hexium_set_input()
325 return 0; in vidioc_enum_input()
336 return 0; in vidioc_g_input()
350 return 0; in vidioc_s_input()
372 if (0 != saa7146_register_device(&hexium->video_dev, dev, "hexium orion", VFL_TYPE_VIDEO)) { in hexium_attach()
381 hexium->cur_input = 0; in hexium_attach()
383 hexium_set_input(hexium, 0); in hexium_attach()
385 return 0; in hexium_attach()
401 return 0; in hexium_detach()
406 return 0; in std_callback()
430 .subvendor = 0x0000,
431 .subdevice = 0x0000,
437 .subvendor = 0x17c8,
438 .subdevice = 0x0101,
444 .subvendor = 0x17c8,
445 .subdevice = 0x2101,
449 .vendor = 0,
457 .capabilities = 0,
458 .stds = &hexium_standards[0],
465 .flags = 0, // SAA7146_USE_I2C_IRQ,
467 .pci_tbl = &pci_tbl[0],
474 .irq_mask = 0,
480 if (0 != saa7146_register_extension(&extension)) { in hexium_init_module()
485 return 0; in hexium_init_module()