Linux Kernel
3.7.1
|
#include <linux/gpio.h>
#include <linux/types.h>
#include <linux/compiler.h>
#include <linux/spinlock_types.h>
Go to the source code of this file.
Data Structures | |
struct | bgpio_pdata |
struct | bgpio_chip |
Macros | |
#define | BGPIOF_BIG_ENDIAN BIT(0) |
#define | BGPIOF_UNREADABLE_REG_SET BIT(1) /* reg_set is unreadable */ |
#define | BGPIOF_UNREADABLE_REG_DIR BIT(2) /* reg_dir is unreadable */ |
Functions | |
int | bgpio_remove (struct bgpio_chip *bgc) |
int | bgpio_init (struct bgpio_chip *bgc, struct device *dev, unsigned long sz, void __iomem *dat, void __iomem *set, void __iomem *clr, void __iomem *dirout, void __iomem *dirin, unsigned long flags) |
#define BGPIOF_BIG_ENDIAN BIT(0) |
Definition at line 72 of file basic_mmio_gpio.h.
Definition at line 74 of file basic_mmio_gpio.h.
Definition at line 73 of file basic_mmio_gpio.h.
int bgpio_init | ( | struct bgpio_chip * | bgc, |
struct device * | dev, | ||
unsigned long | sz, | ||
void __iomem * | dat, | ||
void __iomem * | set, | ||
void __iomem * | clr, | ||
void __iomem * | dirout, | ||
void __iomem * | dirin, | ||
unsigned long | flags | ||
) |
Definition at line 364 of file gpio-generic.c.
int bgpio_remove | ( | struct bgpio_chip * | bgc | ) |
Definition at line 354 of file gpio-generic.c.