Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/spinlock.h>
#include <linux/gpio.h>
#include <linux/slab.h>
#include "../media/pci/bt8xx/bt848.h"
Go to the source code of this file.
Data Structures | |
struct | bt8xxgpio |
Macros | |
#define | BT8XXGPIO_NR_GPIOS 24 /* We have 24 GPIO pins */ |
#define | bgwrite(dat, adr) writel((dat), bg->mmio+(adr)) |
#define | bgread(adr) readl(bg->mmio+(adr)) |
#define | bt8xxgpio_suspend NULL |
#define | bt8xxgpio_resume NULL |
Functions | |
module_param_named (gpiobase, modparam_gpiobase, int, 0444) | |
MODULE_PARM_DESC (gpiobase,"The GPIO number base. -1 means dynamic, which is the default.") | |
MODULE_DEVICE_TABLE (pci, bt8xxgpio_pci_tbl) | |
module_pci_driver (bt8xxgpio_pci_driver) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Michael Buesch") | |
MODULE_DESCRIPTION ("Abuse a BT8xx framegrabber card as generic GPIO card") | |
Definition at line 73 of file gpio-bt8xx.c.
Definition at line 72 of file gpio-bt8xx.c.
Definition at line 56 of file gpio-bt8xx.c.
#define bt8xxgpio_resume NULL |
Definition at line 310 of file gpio-bt8xx.c.
#define bt8xxgpio_suspend NULL |
Definition at line 309 of file gpio-bt8xx.c.
MODULE_AUTHOR | ( | "Michael Buesch" | ) |
MODULE_DEVICE_TABLE | ( | pci | , |
bt8xxgpio_pci_tbl | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param_named | ( | gpiobase | , |
modparam_gpiobase | , | ||
int | , | ||
0444 | |||
) |
module_pci_driver | ( | bt8xxgpio_pci_driver | ) |