Lines Matching +full:0 +full:x8014
20 #define deb_info(args...) dprintk(debug,0x01,args)
28 if (st->ops.fifo_ctrl(adap->fe_adap[0].fe, onoff)) { in dibusb_streaming_ctrl()
33 return 0; in dibusb_streaming_ctrl()
42 st->ops.pid_ctrl(adap->fe_adap[0].fe, in dibusb_pid_filter()
45 return 0; in dibusb_pid_filter()
54 if (st->ops.pid_parse(adap->fe_adap[0].fe, onoff) < 0) in dibusb_pid_filter_ctrl()
57 return 0; in dibusb_pid_filter_ctrl()
70 b[0] = DIBUSB_REQ_SET_IOCTL; in dibusb_power_ctrl()
93 if ((ret = dibusb_streaming_ctrl(adap,onoff)) < 0) in dibusb2_0_streaming_ctrl()
97 b[0] = DIBUSB_REQ_SET_STREAMING_MODE; in dibusb2_0_streaming_ctrl()
98 b[1] = 0x00; in dibusb2_0_streaming_ctrl()
100 if (ret < 0) in dibusb2_0_streaming_ctrl()
104 b[0] = DIBUSB_REQ_SET_IOCTL; in dibusb2_0_streaming_ctrl()
120 return 0; in dibusb2_0_power_ctrl()
126 b[0] = DIBUSB_REQ_SET_IOCTL; in dibusb2_0_power_ctrl()
145 wo = (rbuf == NULL || rlen == 0); in dibusb_i2c_msg()
147 len = 2 + wlen + (wo ? 0 : 2); in dibusb_i2c_msg()
159 sndbuf[0] = wo ? DIBUSB_REQ_I2C_WRITE : DIBUSB_REQ_I2C_READ; in dibusb_i2c_msg()
160 sndbuf[1] = (addr << 1) | (wo ? 0 : 1); in dibusb_i2c_msg()
165 sndbuf[wlen + 2] = (rlen >> 8) & 0xff; in dibusb_i2c_msg()
166 sndbuf[wlen + 3] = rlen & 0xff; in dibusb_i2c_msg()
169 ret = dvb_usb_generic_rw(d, sndbuf, len, rbuf, rlen, 0); in dibusb_i2c_msg()
184 if (mutex_lock_interruptible(&d->i2c_mutex) < 0) in dibusb_i2c_xfer()
187 for (i = 0; i < num; i++) { in dibusb_i2c_xfer()
189 if (i+1 < num && (msg[i].flags & I2C_M_RD) == 0 in dibusb_i2c_xfer()
192 msg[i+1].buf,msg[i+1].len) < 0) in dibusb_i2c_xfer()
195 } else if ((msg[i].flags & I2C_M_RD) == 0) { in dibusb_i2c_xfer()
196 if (dibusb_i2c_msg(d, msg[i].addr, msg[i].buf,msg[i].len,NULL,0) < 0) in dibusb_i2c_xfer()
198 } else if (msg[i].addr != 0x50) { in dibusb_i2c_xfer()
199 /* 0x50 is the address of the eeprom - we need to protect it in dibusb_i2c_xfer()
202 if (dibusb_i2c_msg(d, msg[i].addr, NULL, 0, msg[i].buf, msg[i].len) < 0) in dibusb_i2c_xfer()
231 buf[0] = offs; in dibusb_read_eeprom_byte()
233 rc = dibusb_i2c_msg(d, 0x50, &buf[0], 1, &buf[1], 1); in dibusb_read_eeprom_byte()
246 { 0x0016, KEY_POWER },
247 { 0x0010, KEY_MUTE },
248 { 0x0003, KEY_1 },
249 { 0x0001, KEY_2 },
250 { 0x0006, KEY_3 },
251 { 0x0009, KEY_4 },
252 { 0x001d, KEY_5 },
253 { 0x001f, KEY_6 },
254 { 0x000d, KEY_7 },
255 { 0x0019, KEY_8 },
256 { 0x001b, KEY_9 },
257 { 0x0015, KEY_0 },
258 { 0x0005, KEY_CHANNELUP },
259 { 0x0002, KEY_CHANNELDOWN },
260 { 0x001e, KEY_VOLUMEUP },
261 { 0x000a, KEY_VOLUMEDOWN },
262 { 0x0011, KEY_RECORD },
263 { 0x0017, KEY_FAVORITES }, /* Heart symbol - Channel list. */
264 { 0x0014, KEY_PLAY },
265 { 0x001a, KEY_STOP },
266 { 0x0040, KEY_REWIND },
267 { 0x0012, KEY_FASTFORWARD },
268 { 0x000e, KEY_PREVIOUS }, /* Recall - Previous channel. */
269 { 0x004c, KEY_PAUSE },
270 { 0x004d, KEY_SCREEN }, /* Full screen mode. */
271 { 0x0054, KEY_AUDIO }, /* MTS - Switch to secondary audio. */
273 { 0x000c, KEY_CANCEL }, /* Cancel */
274 { 0x001c, KEY_EPG }, /* EPG */
275 { 0x0000, KEY_TAB }, /* Tab */
276 { 0x0048, KEY_INFO }, /* Preview */
277 { 0x0004, KEY_LIST }, /* RecordList */
278 { 0x000f, KEY_TEXT }, /* Teletext */
280 { 0x8612, KEY_POWER },
281 { 0x860f, KEY_SELECT }, /* source */
282 { 0x860c, KEY_UNKNOWN }, /* scan */
283 { 0x860b, KEY_EPG },
284 { 0x8610, KEY_MUTE },
285 { 0x8601, KEY_1 },
286 { 0x8602, KEY_2 },
287 { 0x8603, KEY_3 },
288 { 0x8604, KEY_4 },
289 { 0x8605, KEY_5 },
290 { 0x8606, KEY_6 },
291 { 0x8607, KEY_7 },
292 { 0x8608, KEY_8 },
293 { 0x8609, KEY_9 },
294 { 0x860a, KEY_0 },
295 { 0x8618, KEY_ZOOM },
296 { 0x861c, KEY_UNKNOWN }, /* preview */
297 { 0x8613, KEY_UNKNOWN }, /* snap */
298 { 0x8600, KEY_UNDO },
299 { 0x861d, KEY_RECORD },
300 { 0x860d, KEY_STOP },
301 { 0x860e, KEY_PAUSE },
302 { 0x8616, KEY_PLAY },
303 { 0x8611, KEY_BACK },
304 { 0x8619, KEY_FORWARD },
305 { 0x8614, KEY_UNKNOWN }, /* pip */
306 { 0x8615, KEY_ESC },
307 { 0x861a, KEY_UP },
308 { 0x861e, KEY_DOWN },
309 { 0x861f, KEY_LEFT },
310 { 0x861b, KEY_RIGHT },
313 { 0x8000, KEY_MUTE },
314 { 0x8001, KEY_TEXT },
315 { 0x8002, KEY_HOME },
316 { 0x8003, KEY_POWER },
318 { 0x8004, KEY_RED },
319 { 0x8005, KEY_GREEN },
320 { 0x8006, KEY_YELLOW },
321 { 0x8007, KEY_BLUE },
323 { 0x8008, KEY_DVD },
324 { 0x8009, KEY_AUDIO },
325 { 0x800a, KEY_IMAGES }, /* Pictures */
326 { 0x800b, KEY_VIDEO },
328 { 0x800c, KEY_BACK },
329 { 0x800d, KEY_UP },
330 { 0x800e, KEY_RADIO },
331 { 0x800f, KEY_EPG },
333 { 0x8010, KEY_LEFT },
334 { 0x8011, KEY_OK },
335 { 0x8012, KEY_RIGHT },
336 { 0x8013, KEY_UNKNOWN }, /* SAP */
338 { 0x8014, KEY_TV },
339 { 0x8015, KEY_DOWN },
340 { 0x8016, KEY_MENU }, /* DVD Menu */
341 { 0x8017, KEY_LAST },
343 { 0x8018, KEY_RECORD },
344 { 0x8019, KEY_STOP },
345 { 0x801a, KEY_PAUSE },
346 { 0x801b, KEY_PLAY },
348 { 0x801c, KEY_PREVIOUS },
349 { 0x801d, KEY_REWIND },
350 { 0x801e, KEY_FASTFORWARD },
351 { 0x801f, KEY_NEXT},
353 { 0x8040, KEY_1 },
354 { 0x8041, KEY_2 },
355 { 0x8042, KEY_3 },
356 { 0x8043, KEY_CHANNELUP },
358 { 0x8044, KEY_4 },
359 { 0x8045, KEY_5 },
360 { 0x8046, KEY_6 },
361 { 0x8047, KEY_CHANNELDOWN },
363 { 0x8048, KEY_7 },
364 { 0x8049, KEY_8 },
365 { 0x804a, KEY_9 },
366 { 0x804b, KEY_VOLUMEUP },
368 { 0x804c, KEY_CLEAR },
369 { 0x804d, KEY_0 },
370 { 0x804e, KEY_ENTER },
371 { 0x804f, KEY_VOLUMEDOWN },
384 buf[0] = DIBUSB_REQ_POLL_REMOTE; in dibusb_rc_query()
386 ret = dvb_usb_generic_rw(d, buf, 1, buf, 5, 0); in dibusb_rc_query()
387 if (ret < 0) in dibusb_rc_query()
392 if (buf[0] != 0) in dibusb_rc_query()