23 #ifndef __ANALOGY_DEVICE__
24 #define __ANALOGY_DEVICE__
34 #define A4L_NB_DEVICES 10
36 #define A4L_DEV_ATTACHED_NR 0
51 struct list_head subdvsq;
59 typedef struct a4l_device a4l_dev_t;
64 struct a4l_link_desc {
65 unsigned char bname_size;
67 unsigned int opts_size;
70 typedef struct a4l_link_desc a4l_lnkdesc_t;
74 char board_name[A4L_NAMELEN];
79 typedef struct a4l_dev_info a4l_dvinfo_t;
84 void a4l_init_devs(
void);
85 int a4l_check_cleanup_devs(
void);
86 int a4l_rdproc_devs(
struct seq_file *p,
void *data);
89 void a4l_set_dev(a4l_cxt_t *cxt);
90 #define a4l_get_dev(x) ((x)->dev)
93 int a4l_ioctl_devcfg(a4l_cxt_t * cxt,
void *arg);
94 int a4l_ioctl_devinfo(a4l_cxt_t * cxt,
void *arg);