#include <linux/kernel.h>
#include <linux/spinlock.h>
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/gpio.h>
#include <linux/io.h>
#include <linux/cs5535.h>
#include <asm/msr.h>
Go to the source code of this file.
|
| module_param_named (mask, mask, ulong, 0444) |
|
| MODULE_PARM_DESC (mask,"GPIO channel mask.") |
|
void | cs5535_gpio_set (unsigned offset, unsigned int reg) |
|
| EXPORT_SYMBOL_GPL (cs5535_gpio_set) |
|
void | cs5535_gpio_clear (unsigned offset, unsigned int reg) |
|
| EXPORT_SYMBOL_GPL (cs5535_gpio_clear) |
|
int | cs5535_gpio_isset (unsigned offset, unsigned int reg) |
|
| EXPORT_SYMBOL_GPL (cs5535_gpio_isset) |
|
int | cs5535_gpio_set_irq (unsigned group, unsigned irq) |
|
| EXPORT_SYMBOL_GPL (cs5535_gpio_set_irq) |
|
void | cs5535_gpio_setup_event (unsigned offset, int pair, int pme) |
|
| EXPORT_SYMBOL_GPL (cs5535_gpio_setup_event) |
|
| module_platform_driver (cs5535_gpio_driver) |
|
| MODULE_AUTHOR ("Andres Salomon <[email protected]>") |
|
| MODULE_DESCRIPTION ("AMD CS5535/CS5536 GPIO driver") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_ALIAS ("platform:"DRV_NAME) |
|
#define DRV_NAME "cs5535-gpio" |
#define GPIO_DEFAULT_MASK 0x0F7FFFFF |
void cs5535_gpio_clear |
( |
unsigned |
offset, |
|
|
unsigned int |
reg |
|
) |
| |
int cs5535_gpio_isset |
( |
unsigned |
offset, |
|
|
unsigned int |
reg |
|
) |
| |
void cs5535_gpio_set |
( |
unsigned |
offset, |
|
|
unsigned int |
reg |
|
) |
| |
int cs5535_gpio_set_irq |
( |
unsigned |
group, |
|
|
unsigned |
irq |
|
) |
| |
void cs5535_gpio_setup_event |
( |
unsigned |
offset, |
|
|
int |
pair, |
|
|
int |
pme |
|
) |
| |
MODULE_ALIAS |
( |
"platform:" |
DRV_NAME | ) |
|
MODULE_DESCRIPTION |
( |
"AMD CS5535/CS5536 GPIO driver" |
| ) |
|
module_platform_driver |
( |
cs5535_gpio_driver |
| ) |
|