|
Linux Kernel
3.7.1
|
#include <linux/mutex.h>#include <linux/module.h>#include <linux/kernel.h>#include <linux/signal.h>#include <linux/errno.h>#include <linux/poll.h>#include <linux/init.h>#include <linux/slab.h>#include <linux/spinlock.h>#include <linux/kref.h>#include <linux/usb.h>#include <linux/vmalloc.h>#include "sisusb.h"#include "sisusb_init.h"Go to the source code of this file.
Macros | |
| #define | SISUSB_DONTSYNC |
| #define | GETREG(r, d) sisusb_read_memio_byte(sisusb, SISUSB_TYPE_IO, r, d) |
| #define | SETREG(r, d) sisusb_write_memio_byte(sisusb, SISUSB_TYPE_IO, r, d) |
| #define | SETIREG(r, i, d) sisusb_setidxreg(sisusb, r, i, d) |
| #define | GETIREG(r, i, d) sisusb_getidxreg(sisusb, r, i, d) |
| #define | SETIREGOR(r, i, o) sisusb_setidxregor(sisusb, r, i, o) |
| #define | SETIREGAND(r, i, a) sisusb_setidxregand(sisusb, r, i, a) |
| #define | SETIREGANDOR(r, i, a, o) sisusb_setidxregandor(sisusb, r, i, a, o) |
| #define | READL(a, d) sisusb_read_memio_long(sisusb, SISUSB_TYPE_MEM, a, d) |
| #define | WRITEL(a, d) sisusb_write_memio_long(sisusb, SISUSB_TYPE_MEM, a, d) |
| #define | READB(a, d) sisusb_read_memio_byte(sisusb, SISUSB_TYPE_MEM, a, d) |
| #define | WRITEB(a, d) sisusb_write_memio_byte(sisusb, SISUSB_TYPE_MEM, a, d) |
Functions | |
| int | sisusb_setidxreg (struct sisusb_usb_data *sisusb, int port, u8 index, u8 data) |
| int | sisusb_getidxreg (struct sisusb_usb_data *sisusb, int port, u8 index, u8 *data) |
| int | sisusb_setidxregandor (struct sisusb_usb_data *sisusb, int port, u8 idx, u8 myand, u8 myor) |
| int | sisusb_setidxregor (struct sisusb_usb_data *sisusb, int port, u8 index, u8 myor) |
| int | sisusb_setidxregand (struct sisusb_usb_data *sisusb, int port, u8 idx, u8 myand) |
| void | sisusb_delete (struct kref *kref) |
| MODULE_DEVICE_TABLE (usb, sisusb_table) | |
| module_init (usb_sisusb_init) | |
| module_exit (usb_sisusb_exit) | |
| MODULE_AUTHOR ("Thomas Winischhofer <[email protected]>") | |
| MODULE_DESCRIPTION ("sisusbvga - Driver for Net2280/SiS315-based USB2VGA dongles") | |
| MODULE_LICENSE ("GPL") | |
| #define GETREG | ( | r, | |
| d | |||
| ) | sisusb_read_memio_byte(sisusb, SISUSB_TYPE_IO, r, d) |
| #define READB | ( | a, | |
| d | |||
| ) | sisusb_read_memio_byte(sisusb, SISUSB_TYPE_MEM, a, d) |
| #define READL | ( | a, | |
| d | |||
| ) | sisusb_read_memio_long(sisusb, SISUSB_TYPE_MEM, a, d) |
| #define SETIREGOR | ( | r, | |
| i, | |||
| o | |||
| ) | sisusb_setidxregor(sisusb, r, i, o) |
| #define SETREG | ( | r, | |
| d | |||
| ) | sisusb_write_memio_byte(sisusb, SISUSB_TYPE_IO, r, d) |
| #define WRITEB | ( | a, | |
| d | |||
| ) | sisusb_write_memio_byte(sisusb, SISUSB_TYPE_MEM, a, d) |
| #define WRITEL | ( | a, | |
| d | |||
| ) | sisusb_write_memio_long(sisusb, SISUSB_TYPE_MEM, a, d) |
| MODULE_AUTHOR | ( | "Thomas Winischhofer <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "sisusbvga - Driver for Net2280/SiS315-based USB2VGA dongles" | ) |
| MODULE_DEVICE_TABLE | ( | usb | , |
| sisusb_table | |||
| ) |
| module_exit | ( | usb_sisusb_exit | ) |
| module_init | ( | usb_sisusb_init | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2