Lines Matching +full:0 +full:x31

21 module_param(debug, int, 0);
33 { 0, "CVBS 1", V4L2_INPUT_TYPE_CAMERA, 0, 0, V4L2_STD_ALL, 0, V4L2_IN_CAP_STD },
34 { 1, "CVBS 2", V4L2_INPUT_TYPE_CAMERA, 0, 0, V4L2_STD_ALL, 0, V4L2_IN_CAP_STD },
35 { 2, "CVBS 3", V4L2_INPUT_TYPE_CAMERA, 0, 0, V4L2_STD_ALL, 0, V4L2_IN_CAP_STD },
36 { 3, "CVBS 4", V4L2_INPUT_TYPE_CAMERA, 0, 0, V4L2_STD_ALL, 0, V4L2_IN_CAP_STD },
37 { 4, "CVBS 5", V4L2_INPUT_TYPE_CAMERA, 0, 0, V4L2_STD_ALL, 0, V4L2_IN_CAP_STD },
38 { 5, "CVBS 6", V4L2_INPUT_TYPE_CAMERA, 0, 0, V4L2_STD_ALL, 0, V4L2_IN_CAP_STD },
39 { 6, "Y/C 1", V4L2_INPUT_TYPE_CAMERA, 0, 0, V4L2_STD_ALL, 0, V4L2_IN_CAP_STD },
40 { 7, "Y/C 2", V4L2_INPUT_TYPE_CAMERA, 0, 0, V4L2_STD_ALL, 0, V4L2_IN_CAP_STD },
41 { 8, "Y/C 3", V4L2_INPUT_TYPE_CAMERA, 0, 0, V4L2_STD_ALL, 0, V4L2_IN_CAP_STD },
44 #define HEXIUM_AUDIOS 0
63 /*00*/ 0x4C,0x3C,0x0D,0xEF,0xBD,0xF0,0x00,0x00,
64 /*08*/ 0xF8,0xF8,0x60,0x60,0x40,0x86,0x18,0x90,
65 /*10*/ 0x00,0x2C,0x40,0x46,0x42,0x1A,0xFF,0xDA,
66 /*18*/ 0xF0,0x8B,0x00,0x00,0x00,0x00,0x00,0x00,
67 /*20*/ 0xD9,0x17,0x40,0x41,0x80,0x41,0x80,0x4F,
68 /*28*/ 0xFE,0x01,0x0F,0x0F,0x03,0x01,0x81,0x03,
69 /*30*/ 0x44,0x75,0x01,0x8C,0x03
77 { 0x06, 0x00 },
78 { 0x20, 0xD9 },
79 { 0x21, 0x17 }, // 0x16,
80 { 0x22, 0x40 },
81 { 0x2C, 0x03 },
82 { 0x30, 0x44 },
83 { 0x31, 0x75 }, // ??
84 { 0x21, 0x16 }, // 0x03,
88 { 0x06, 0x00 },
89 { 0x20, 0x78 },
90 { 0x21, 0x07 }, // 0x03,
91 { 0x22, 0xD2 },
92 { 0x2C, 0x83 },
93 { 0x30, 0x60 },
94 { 0x31, 0xB5 }, // ?
95 { 0x21, 0x03 },
99 { 0x06, 0x00 },
100 { 0x20, 0xBA },
101 { 0x21, 0x07 }, // 0x05,
102 { 0x22, 0x91 },
103 { 0x2C, 0x03 },
104 { 0x30, 0x60 },
105 { 0x31, 0xB5 }, // ??
106 { 0x21, 0x05 }, // 0x03,
110 { 0x06, 0x00 },
111 { 0x20, 0xD8 },
112 { 0x21, 0x17 }, // 0x16,
113 { 0x22, 0x40 },
114 { 0x2C, 0x03 },
115 { 0x30, 0x44 },
116 { 0x31, 0x75 }, // ??
117 { 0x21, 0x16 }, // 0x03,
121 { 0x06, 0x00 },
122 { 0x20, 0xB8 },
123 { 0x21, 0x07 }, // 0x05,
124 { 0x22, 0x91 },
125 { 0x2C, 0x03 },
126 { 0x30, 0x60 },
127 { 0x31, 0xB5 }, // ??
128 { 0x21, 0x05 }, // 0x03,
132 { 0x06, 0x00 },
133 { 0x20, 0x7C },
134 { 0x21, 0x07 }, // 0x03
135 { 0x22, 0xD2 },
136 { 0x2C, 0x83 },
137 { 0x30, 0x60 },
138 { 0x31, 0xB5 }, // ??
139 { 0x21, 0x03 },
143 { 0x06, 0x80 },
144 { 0x20, 0x59 },
145 { 0x21, 0x17 },
146 { 0x22, 0x42 },
147 { 0x2C, 0xA3 },
148 { 0x30, 0x44 },
149 { 0x31, 0x75 },
150 { 0x21, 0x12 },
154 { 0x06, 0x80 },
155 { 0x20, 0x9A },
156 { 0x21, 0x17 },
157 { 0x22, 0xB1 },
158 { 0x2C, 0x13 },
159 { 0x30, 0x60 },
160 { 0x31, 0xB5 },
161 { 0x21, 0x14 },
165 { 0x06, 0x80 },
166 { 0x20, 0x3C },
167 { 0x21, 0x27 },
168 { 0x22, 0xC1 },
169 { 0x2C, 0x23 },
170 { 0x30, 0x44 },
171 { 0x31, 0x75 },
172 { 0x21, 0x21 },
202 int err = 0; in hexium_probe()
206 /* there are no hexium orion cards with revision 0 saa7146s */ in hexium_probe()
207 if (0 == dev->revision) { in hexium_probe()
218 saa7146_write(dev, DD1_INIT, 0x01000100); in hexium_probe()
219 saa7146_write(dev, DD1_STREAM_B, 0x00000000); in hexium_probe()
225 if (i2c_add_adapter(&hexium->i2c_adapter) < 0) { in hexium_probe()
231 /* set SAA7110 control GPIO 0 */ in hexium_probe()
232 saa7146_setgpio(dev, 0, SAA7146_GPIO_OUTHI); in hexium_probe()
239 if (0x17c8 == dev->pci->subsystem_vendor && 0x0101 == dev->pci->subsystem_device) { in hexium_probe()
244 return 0; in hexium_probe()
247 if (0x17c8 == dev->pci->subsystem_vendor && 0x2101 == dev->pci->subsystem_device) { in hexium_probe()
252 return 0; in hexium_probe()
256 a saa7110 at address 0x4e */ in hexium_probe()
257 err = i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_READ, in hexium_probe()
258 0x00, I2C_SMBUS_BYTE_DATA, &data); in hexium_probe()
259 if (err == 0) { in hexium_probe()
264 return 0; in hexium_probe()
280 int i = 0; in hexium_init_done()
285 for (i = 0; i < sizeof(hexium_saa7110); i++) { in hexium_init_done()
287 …if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_WRITE, i, I2C_SMBUS_BYTE_DATA, &d… in hexium_init_done()
288 pr_err("failed for address 0x%02x\n", i); in hexium_init_done()
292 return 0; in hexium_init_done()
298 int i = 0; in hexium_set_input()
302 for (i = 0; i < 8; i++) { in hexium_set_input()
305 …if (0 != i2c_smbus_xfer(&hexium->i2c_adapter, 0x4e, 0, I2C_SMBUS_WRITE, adr, I2C_SMBUS_BYTE_DATA, … in hexium_set_input()
308 pr_debug("%d: 0x%02x => 0x%02x\n", input, adr, data.byte); in hexium_set_input()
311 return 0; in hexium_set_input()
324 return 0; in vidioc_enum_input()
335 return 0; in vidioc_g_input()
349 return 0; in vidioc_s_input()
365 if (0 != saa7146_register_device(&hexium->video_dev, dev, "hexium orion", VFL_TYPE_VIDEO)) { in hexium_attach()
374 hexium->cur_input = 0; in hexium_attach()
377 return 0; in hexium_attach()
393 return 0; in hexium_detach()
398 return 0; in std_callback()
422 .subvendor = 0x0000,
423 .subdevice = 0x0000,
429 .subvendor = 0x17c8,
430 .subdevice = 0x0101,
436 .subvendor = 0x17c8,
437 .subdevice = 0x2101,
441 .vendor = 0,
449 .capabilities = 0,
450 .stds = &hexium_standards[0],
457 .flags = 0, // SAA7146_USE_I2C_IRQ,
459 .pci_tbl = &pci_tbl[0],
466 .irq_mask = 0,
472 if (0 != saa7146_register_extension(&extension)) { in hexium_init_module()
477 return 0; in hexium_init_module()