Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
nouveau_gpio Struct Reference

#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)
 

Detailed Description

Definition at line 10 of file gpio.h.

Field Documentation

Definition at line 11 of file gpio.h.

Definition at line 15 of file gpio.h.

Definition at line 20 of file gpio.h.

Definition at line 23 of file gpio.h.

int(* irq)(struct nouveau_gpio *, int idx, u8 tag, u8 line, bool on)

Definition at line 24 of file gpio.h.

void(* irq_enable)(struct nouveau_gpio *, int line, bool)

Definition at line 17 of file gpio.h.

Definition at line 27 of file gpio.h.

int(* isr_add)(struct nouveau_gpio *, int idx, u8 tag, u8 line, void(*)(void *, int state), void *data)

Definition at line 31 of file gpio.h.

void(* isr_del)(struct nouveau_gpio *, int idx, u8 tag, u8 line, void(*)(void *, int state), void *data)

Definition at line 33 of file gpio.h.

void(* isr_run)(struct nouveau_gpio *, int idx, u32 mask)

Definition at line 30 of file gpio.h.

spinlock_t lock

Definition at line 28 of file gpio.h.

void(* reset)(struct nouveau_gpio *)

Definition at line 14 of file gpio.h.

int(* sense)(struct nouveau_gpio *, int line)

Definition at line 16 of file gpio.h.

Definition at line 22 of file gpio.h.


The documentation for this struct was generated from the following file: