21 #ifndef _COBALT_RTDM_ANALOGY_DEVICE_H
22 #define _COBALT_RTDM_ANALOGY_DEVICE_H
24 #include <rtdm/analogy/rtdm_helpers.h>
25 #include <rtdm/analogy/transfer.h>
28 #define A4L_NB_DEVICES 10
30 #define A4L_DEV_ATTACHED_NR 0
45 struct list_head subdvsq;
48 struct a4l_transfer transfer;
55 void a4l_init_devs(
void);
56 int a4l_check_cleanup_devs(
void);
57 int a4l_rdproc_devs(
struct seq_file *p,
void *data);
60 void a4l_set_dev(
struct a4l_device_context *cxt);
61 #define a4l_get_dev(x) ((x)->dev)
64 int a4l_ioctl_devcfg(
struct a4l_device_context * cxt,
void *arg);
65 int a4l_ioctl_devinfo(
struct a4l_device_context * cxt,
void *arg);
Analogy for Linux, driver facilities.
ipipe_spinlock_t rtdm_lock_t
Lock variable.
Definition: driver.h:550
Structure containing driver declaration data.
Definition: driver.h:39