Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/firmware.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/input.h>
#include <linux/usb.h>
#include <linux/fcntl.h>
#include <linux/compiler.h>
#include "comedi_fc.h"
#include "../comedidev.h"
Go to the source code of this file.
Data Structures | |
struct | usbduxfastsub_s |
Macros | |
#define | EZTIMEOUT 30 |
#define | FIRMWARE "usbduxfast_firmware.bin" |
#define | USBDUXFASTSUB_FIRMWARE 0xA0 |
#define | VENDOR_DIR_IN 0xC0 |
#define | VENDOR_DIR_OUT 0x40 |
#define | USBDUXFASTSUB_CPUCS 0xE600 |
#define | TB_LEN 0x2000 |
#define | BULKINEP 6 |
#define | CHANNELLISTEP 4 |
#define | NUMCHANNELS 32 |
#define | WAVESIZE 0x20 |
#define | SIZEADIN (sizeof(int16_t)) |
#define | SIZEINBUF 512 |
#define | SIZEINSNBUF 512 |
#define | SIZEOFDUXBUFFER 256 |
#define | NUMOFINBUFFERSHIGH 10 |
#define | NUMUSBDUXFAST 16 |
#define | SUBDEV_AD 0 |
#define | MIN_SAMPLING_PERIOD 9 |
#define | MAX_SAMPLING_PERIOD 500 |
#define | PACKETS_TO_IGNORE 4 |
#define | SENDADCOMMANDS 0 |
#define | SENDINITEP6 1 |
#define | LENBASE (1+0x00) |
#define | OPBASE (1+0x08) |
#define | OUTBASE (1+0x10) |
#define | LOGBASE (1+0x18) |
#define | FIRMWARE_MAX_LEN 0x2000 |
Functions | |
MODULE_DEVICE_TABLE (usb, usbduxfast_usb_table) | |
module_comedi_usb_driver (usbduxfast_driver, usbduxfast_usb_driver) | |
MODULE_AUTHOR ("Bernd Porr, [email protected]") | |
MODULE_DESCRIPTION ("USB-DUXfast, [email protected]") | |
MODULE_LICENSE ("GPL") | |
MODULE_FIRMWARE (FIRMWARE) | |
#define BULKINEP 6 |
Definition at line 78 of file usbduxfast.c.
#define CHANNELLISTEP 4 |
Definition at line 83 of file usbduxfast.c.
#define EZTIMEOUT 30 |
Definition at line 55 of file usbduxfast.c.
#define FIRMWARE "usbduxfast_firmware.bin" |
Definition at line 60 of file usbduxfast.c.
#define FIRMWARE_MAX_LEN 0x2000 |
Definition at line 1321 of file usbduxfast.c.
#define LENBASE (1+0x00) |
Definition at line 713 of file usbduxfast.c.
#define LOGBASE (1+0x18) |
Definition at line 716 of file usbduxfast.c.
#define MAX_SAMPLING_PERIOD 500 |
Definition at line 141 of file usbduxfast.c.
#define MIN_SAMPLING_PERIOD 9 |
Definition at line 136 of file usbduxfast.c.
#define NUMCHANNELS 32 |
Definition at line 88 of file usbduxfast.c.
#define NUMOFINBUFFERSHIGH 10 |
Definition at line 118 of file usbduxfast.c.
#define NUMUSBDUXFAST 16 |
Definition at line 123 of file usbduxfast.c.
#define OPBASE (1+0x08) |
Definition at line 714 of file usbduxfast.c.
#define OUTBASE (1+0x10) |
Definition at line 715 of file usbduxfast.c.
#define PACKETS_TO_IGNORE 4 |
Definition at line 147 of file usbduxfast.c.
#define SENDADCOMMANDS 0 |
Definition at line 198 of file usbduxfast.c.
#define SENDINITEP6 1 |
Definition at line 199 of file usbduxfast.c.
Definition at line 98 of file usbduxfast.c.
#define SIZEINBUF 512 |
Definition at line 103 of file usbduxfast.c.
#define SIZEINSNBUF 512 |
Definition at line 108 of file usbduxfast.c.
#define SIZEOFDUXBUFFER 256 |
Definition at line 113 of file usbduxfast.c.
#define SUBDEV_AD 0 |
Definition at line 128 of file usbduxfast.c.
#define TB_LEN 0x2000 |
Definition at line 73 of file usbduxfast.c.
#define USBDUXFASTSUB_CPUCS 0xE600 |
Definition at line 68 of file usbduxfast.c.
#define USBDUXFASTSUB_FIRMWARE 0xA0 |
Definition at line 61 of file usbduxfast.c.
#define VENDOR_DIR_IN 0xC0 |
Definition at line 62 of file usbduxfast.c.
#define VENDOR_DIR_OUT 0x40 |
Definition at line 63 of file usbduxfast.c.
#define WAVESIZE 0x20 |
Definition at line 93 of file usbduxfast.c.
MODULE_AUTHOR | ( | "Bernd | Porr, |
BerndPorr @f2s.com" | |||
) |
module_comedi_usb_driver | ( | usbduxfast_driver | , |
usbduxfast_usb_driver | |||
) |
MODULE_DESCRIPTION | ( | "USB- | DUXfast, |
BerndPorr @f2s.com" | |||
) |
MODULE_DEVICE_TABLE | ( | usb | , |
usbduxfast_usb_table | |||
) |
MODULE_FIRMWARE | ( | FIRMWARE | ) |
MODULE_LICENSE | ( | "GPL" | ) |