#include <linux/comedidev.h>
#include <linux/ioport.h>
Go to the source code of this file.
Classes |
| struct | subdev_8255_struct |
Defines |
| #define | _8255_SIZE 4 |
| #define | _8255_DATA 0 |
| #define | _8255_CR 3 |
| #define | CR_C_LO_IO 0x01 |
| #define | CR_B_IO 0x02 |
| #define | CR_B_MODE 0x04 |
| #define | CR_C_HI_IO 0x08 |
| #define | CR_A_IO 0x10 |
| #define | CR_A_MODE(a) ((a)<<5) |
| #define | CR_CW 0x80 |
| #define | CALLBACK_ARG (((struct subdev_8255_struct *)s->private)->cb_arg) |
| #define | CALLBACK_FUNC (((struct subdev_8255_struct *)s->private)->cb_func) |
| #define | subdevpriv ((struct subdev_8255_struct *)s->private) |
Functions |
| | COMEDI_INITCLEANUP (driver_8255) |
| void | subdev_8255_interrupt (comedi_device *dev, comedi_subdevice *s) |
| int | subdev_8255_init (comedi_device *dev, comedi_subdevice *s, int(*cb)(int, int, int, unsigned long), unsigned long arg) |
| int | subdev_8255_init_irq (comedi_device *dev, comedi_subdevice *s, int(*cb)(int, int, int, unsigned long), unsigned long arg) |
| void | subdev_8255_cleanup (comedi_device *dev, comedi_subdevice *s) |
| | EXPORT_SYMBOL (subdev_8255_init) |
| | EXPORT_SYMBOL (subdev_8255_init_irq) |
| | EXPORT_SYMBOL (subdev_8255_cleanup) |
| | EXPORT_SYMBOL (subdev_8255_interrupt) |
Define Documentation
| #define CR_A_MODE |
( |
|
a | ) |
((a)<<5) |
Function Documentation
| COMEDI_INITCLEANUP |
( |
driver_8255 |
| ) |
|
| EXPORT_SYMBOL |
( |
subdev_8255_cleanup |
| ) |
|
| EXPORT_SYMBOL |
( |
subdev_8255_init_irq |
| ) |
|
| EXPORT_SYMBOL |
( |
subdev_8255_interrupt |
| ) |
|
| EXPORT_SYMBOL |
( |
subdev_8255_init |
| ) |
|