19#ifndef __ANALOGY_8255_H__
20#define __ANALOGY_8255_H__
22#include <rtdm/analogy/device.h>
24typedef int (*a4l_8255_cb_t)(int, int, int,
unsigned long);
26typedef struct subd_8255_struct {
28 a4l_8255_cb_t cb_func;
34#if (defined(CONFIG_XENO_DRIVERS_ANALOGY_8255) || \
35 defined(CONFIG_XENO_DRIVERS_ANALOGY_8255_MODULE))
42#define CR_C_LO_IO 0x01
45#define CR_C_HI_IO 0x08
47#define CR_A_MODE(a) ((a)<<5)
55#define a4l_subdev_8255_init(x) do { } while(0)
56#define a4l_subdev_8255_interrupt(x) do { } while(0)
Structure describing the subdevice.
Definition subdevice.h:40