Classes |
| struct | comedi_subdevice_struct |
| struct | comedi_buf_page |
| struct | comedi_async_struct |
| struct | comedi_driver_struct |
| struct | comedi_device_struct |
| struct | comedi_device_file_info |
| struct | comedi_lrange_struct |
Defines |
| #define | DPRINTK(format, args...) |
| #define | COMEDI_VERSION(a, b, c) (((a) << 16) + ((b) << 8) + (c)) |
| #define | COMEDI_VERSION_CODE COMEDI_VERSION(COMEDI_MAJORVERSION,COMEDI_MINORVERSION,COMEDI_MICROVERSION) |
| #define | COMEDI_RELEASE VERSION |
| #define | COMEDI_INITCLEANUP_NOMODULE(x) |
| #define | COMEDI_MODULE_MACROS |
| #define | COMEDI_INITCLEANUP(x) |
| #define | COMEDI_PCI_INITCLEANUP_NOMODULE(comedi_driver, pci_id_table) |
| #define | COMEDI_PCI_INITCLEANUP(comedi_driver, pci_id_table) |
| #define | PCI_VENDOR_ID_INOVA 0x104c |
| #define | PCI_VENDOR_ID_NATINST 0x1093 |
| #define | PCI_VENDOR_ID_DATX 0x1116 |
| #define | PCI_VENDOR_ID_COMPUTERBOARDS 0x1307 |
| #define | PCI_VENDOR_ID_ADVANTECH 0x13fe |
| #define | PCI_VENDOR_ID_RTD 0x1435 |
| #define | PCI_VENDOR_ID_AMPLICON 0x14dc |
| #define | PCI_VENDOR_ID_ADLINK 0x144a |
| #define | PCI_VENDOR_ID_ICP 0x104c |
| #define | PCI_VENDOR_ID_CONTEC 0x1221 |
| #define | PCI_VENDOR_ID_MEILHAUS 0x1402 |
| #define | COMEDI_NUM_MINORS 0x100 |
| #define | COMEDI_NUM_BOARD_MINORS 0x30 |
| #define | COMEDI_FIRST_SUBDEVICE_MINOR COMEDI_NUM_BOARD_MINORS |
| #define | RANGE(a, b) {(a)*1e6,(b)*1e6,0} |
| #define | RANGE_ext(a, b) {(a)*1e6,(b)*1e6,RF_EXTERNAL} |
| #define | RANGE_mA(a, b) {(a)*1e6,(b)*1e6,UNIT_mA} |
| #define | RANGE_unitless(a, b) {(a)*1e6,(b)*1e6,0} |
| #define | BIP_RANGE(a) {-(a)*1e6,(a)*1e6,0} |
| #define | UNI_RANGE(a) {0,(a)*1e6,0} |
| #define | range_digital range_unipolar5 |
| #define | GCC_ZERO_LENGTH_ARRAY 0 |
Typedefs |
| typedef struct comedi_device_struct | comedi_device |
typedef struct
comedi_subdevice_struct | comedi_subdevice |
| typedef struct comedi_async_struct | comedi_async |
| typedef struct comedi_driver_struct | comedi_driver |
| typedef struct comedi_lrange_struct | comedi_lrange |
Enumerations |
| enum | comedi_minor_bits { COMEDI_DEVICE_MINOR_MASK = 0xf,
COMEDI_SUBDEVICE_MINOR_MASK = 0xf0
} |
| enum | subdevice_runflags { SRF_USER = 0x00000001,
SRF_RT = 0x00000002,
SRF_ERROR = 0x00000004,
SRF_RUNNING = 0x08000000
} |
Functions |
| void | comedi_event (comedi_device *dev, comedi_subdevice *s) |
| void | comedi_error (const comedi_device *dev, const char *s) |
| struct comedi_device_file_info * | comedi_get_device_file_info (unsigned minor) |
| void | comedi_device_detach (comedi_device *dev) |
| int | comedi_device_attach (comedi_device *dev, comedi_devconfig *it) |
| int | comedi_driver_register (comedi_driver *) |
| int | comedi_driver_unregister (comedi_driver *) |
| void | init_polling (void) |
| void | cleanup_polling (void) |
| void | start_polling (comedi_device *) |
| void | stop_polling (comedi_device *) |
| int | comedi_buf_alloc (comedi_device *dev, comedi_subdevice *s, unsigned long new_size) |
| int | do_rangeinfo_ioctl (comedi_device *dev, comedi_rangeinfo *arg) |
| int | check_chanlist (comedi_subdevice *s, int n, unsigned int *chanlist) |
| void | comedi_set_subdevice_runflags (comedi_subdevice *s, unsigned mask, unsigned bits) |
| unsigned | comedi_get_subdevice_runflags (comedi_subdevice *s) |
| int | insn_inval (comedi_device *dev, comedi_subdevice *s, comedi_insn *insn, lsampl_t *data) |
| int | comedi_buf_put (comedi_async *async, sampl_t x) |
| int | comedi_buf_get (comedi_async *async, sampl_t *x) |
| unsigned int | comedi_buf_write_n_available (comedi_async *async) |
| unsigned int | comedi_buf_write_alloc (comedi_async *async, unsigned int nbytes) |
| unsigned int | comedi_buf_write_alloc_strict (comedi_async *async, unsigned int nbytes) |
| unsigned | comedi_buf_write_free (comedi_async *async, unsigned int nbytes) |
| unsigned | comedi_buf_read_alloc (comedi_async *async, unsigned nbytes) |
| unsigned | comedi_buf_read_free (comedi_async *async, unsigned int nbytes) |
| unsigned int | comedi_buf_read_n_available (comedi_async *async) |
| void | comedi_buf_memcpy_to (comedi_async *async, unsigned int offset, const void *source, unsigned int num_bytes) |
| void | comedi_buf_memcpy_from (comedi_async *async, unsigned int offset, void *destination, unsigned int num_bytes) |
| void | comedi_reset_async_buf (comedi_async *async) |
| int | comedi_alloc_board_minor (struct device *hardware_device) |
| void | comedi_free_board_minor (unsigned minor) |
| int | comedi_alloc_subdevice_minor (comedi_device *dev, comedi_subdevice *s) |
| void | comedi_free_subdevice_minor (comedi_subdevice *s) |
| int | comedi_pci_auto_config (struct pci_dev *pcidev, const char *board_name) |
| void | comedi_pci_auto_unconfig (struct pci_dev *pcidev) |
| int | comedi_usb_auto_config (struct usb_device *usbdev, const char *board_name) |
| void | comedi_usb_auto_unconfig (struct usb_device *usbdev) |
Variables |
| const comedi_lrange | range_bipolar10 |
| const comedi_lrange | range_bipolar5 |
| const comedi_lrange | range_bipolar2_5 |
| const comedi_lrange | range_unipolar10 |
| const comedi_lrange | range_unipolar5 |
| const comedi_lrange | range_unknown |