Linux Kernel
3.7.1
|
#include <gpio.h>
Data Fields | |
struct nouveau_subdev | base |
void(* | reset )(struct nouveau_gpio *) |
int(* | drive )(struct nouveau_gpio *, int line, int dir, int out) |
int(* | sense )(struct nouveau_gpio *, int line) |
void(* | irq_enable )(struct nouveau_gpio *, int line, bool) |
int(* | find )(struct nouveau_gpio *, int idx, u8 tag, u8 line, struct dcb_gpio_func *) |
int(* | set )(struct nouveau_gpio *, int idx, u8 tag, u8 line, int state) |
int(* | get )(struct nouveau_gpio *, int idx, u8 tag, u8 line) |
int(* | irq )(struct nouveau_gpio *, int idx, u8 tag, u8 line, bool on) |
struct list_head | isr |
spinlock_t | lock |
void(* | isr_run )(struct nouveau_gpio *, int idx, u32 mask) |
int(* | isr_add )(struct nouveau_gpio *, int idx, u8 tag, u8 line, void(*)(void *, int state), void *data) |
void(* | isr_del )(struct nouveau_gpio *, int idx, u8 tag, u8 line, void(*)(void *, int state), void *data) |
struct nouveau_subdev base |
spinlock_t lock |
void(* reset)(struct nouveau_gpio *) |