au0828.h (b9f12a5d97f652c77ef6803dccd0d40d1290f5be) | au0828.h (2fcfd317f66c6e6cf0e05351e7641898d767dfa4) |
---|---|
1/* 2 * Driver for the Auvitek AU0828 USB bridge 3 * 4 * Copyright (c) 2008 Steven Toth <stoth@linuxtv.org> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 74 unchanged lines hidden (view full) --- 83 void (*audio_setup) (void *priv, int enable); 84}; 85 86struct au0828_board { 87 char *name; 88 unsigned int tuner_type; 89 unsigned char tuner_addr; 90 unsigned char i2c_clk_divider; | 1/* 2 * Driver for the Auvitek AU0828 USB bridge 3 * 4 * Copyright (c) 2008 Steven Toth <stoth@linuxtv.org> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 74 unchanged lines hidden (view full) --- 83 void (*audio_setup) (void *priv, int enable); 84}; 85 86struct au0828_board { 87 char *name; 88 unsigned int tuner_type; 89 unsigned char tuner_addr; 90 unsigned char i2c_clk_divider; |
91 unsigned char has_ir_i2c:1; |
|
91 struct au0828_input input[AU0828_MAX_INPUT]; 92 93}; 94 95struct au0828_dvb { 96 struct mutex lock; 97 struct dvb_adapter adapter; 98 struct dvb_frontend *frontend; --- 109 unchanged lines hidden (view full) --- 208 struct au0828_dvb dvb; 209 struct work_struct restart_streaming; 210 211#ifdef CONFIG_VIDEO_AU0828_V4L2 212 /* Analog */ 213 struct v4l2_device v4l2_dev; 214 struct v4l2_ctrl_handler v4l2_ctrl_hdl; 215#endif | 92 struct au0828_input input[AU0828_MAX_INPUT]; 93 94}; 95 96struct au0828_dvb { 97 struct mutex lock; 98 struct dvb_adapter adapter; 99 struct dvb_frontend *frontend; --- 109 unchanged lines hidden (view full) --- 209 struct au0828_dvb dvb; 210 struct work_struct restart_streaming; 211 212#ifdef CONFIG_VIDEO_AU0828_V4L2 213 /* Analog */ 214 struct v4l2_device v4l2_dev; 215 struct v4l2_ctrl_handler v4l2_ctrl_hdl; 216#endif |
217#ifdef CONFIG_VIDEO_AU0828_RC 218 struct au0828_rc *ir; 219#endif 220 |
|
216 int users; 217 unsigned int resources; /* resources in use */ 218 struct video_device *vdev; 219 struct video_device *vbi_dev; 220 struct timer_list vid_timeout; 221 int vid_timeout_running; 222 struct timer_list vbi_timeout; 223 int vbi_timeout_running; --- 90 unchanged lines hidden (view full) --- 314 315/* au0828-vbi.c */ 316extern struct videobuf_queue_ops au0828_vbi_qops; 317 318#define dprintk(level, fmt, arg...)\ 319 do { if (au0828_debug & level)\ 320 printk(KERN_DEBUG DRIVER_NAME "/0: " fmt, ## arg);\ 321 } while (0) | 221 int users; 222 unsigned int resources; /* resources in use */ 223 struct video_device *vdev; 224 struct video_device *vbi_dev; 225 struct timer_list vid_timeout; 226 int vid_timeout_running; 227 struct timer_list vbi_timeout; 228 int vbi_timeout_running; --- 90 unchanged lines hidden (view full) --- 319 320/* au0828-vbi.c */ 321extern struct videobuf_queue_ops au0828_vbi_qops; 322 323#define dprintk(level, fmt, arg...)\ 324 do { if (au0828_debug & level)\ 325 printk(KERN_DEBUG DRIVER_NAME "/0: " fmt, ## arg);\ 326 } while (0) |
327 328/* au0828-input.c */ 329int au0828_rc_register(struct au0828_dev *dev); 330void au0828_rc_unregister(struct au0828_dev *dev); 331int au0828_rc_suspend(struct au0828_dev *dev); 332int au0828_rc_resume(struct au0828_dev *dev); |
|