Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/err.h>
#include <asm/types.h>
#include <loongson.h>
#include <linux/gpio.h>
Go to the source code of this file.
Macros | |
#define | STLS2F_N_GPIO 4 |
#define | STLS2F_GPIO_IN_OFFSET 16 |
Functions | |
int | gpio_get_value (unsigned gpio) |
EXPORT_SYMBOL (gpio_get_value) | |
void | gpio_set_value (unsigned gpio, int state) |
EXPORT_SYMBOL (gpio_set_value) | |
int | gpio_cansleep (unsigned gpio) |
EXPORT_SYMBOL (gpio_cansleep) | |
arch_initcall (ls2f_gpio_setup) | |
arch_initcall | ( | ls2f_gpio_setup | ) |
EXPORT_SYMBOL | ( | gpio_get_value | ) |
EXPORT_SYMBOL | ( | gpio_set_value | ) |
EXPORT_SYMBOL | ( | gpio_cansleep | ) |