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;
55void a4l_init_devs(
void);
56int a4l_check_cleanup_devs(
void);
57int a4l_rdproc_devs(
struct seq_file *p,
void *data);
60void a4l_set_dev(
struct a4l_device_context *cxt);
61#define a4l_get_dev(x) ((x)->dev)
64int a4l_ioctl_devcfg(
struct a4l_device_context * cxt,
void *arg);
65int a4l_ioctl_devinfo(
struct a4l_device_context * cxt,
void *arg);
Analogy for Linux, driver facilities.
pipeline_spinlock_t rtdm_lock_t
Lock variable.
Definition driver.h:552
Structure containing driver declaration data.
Definition driver.h:39