Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
gpio.h File Reference
#include <core/subdev.h>
#include <core/device.h>
#include <subdev/bios.h>
#include <subdev/bios/gpio.h>

Go to the source code of this file.

Data Structures

struct  nouveau_gpio
 

Macros

#define nouveau_gpio_create(p, e, o, d)   nouveau_gpio_create_((p), (e), (o), sizeof(**d), (void **)d)
 
#define nouveau_gpio_destroy(p)   nouveau_subdev_destroy(&(p)->base)
 
#define nouveau_gpio_fini(p, s)   nouveau_subdev_fini(&(p)->base, (s))
 

Functions

int nouveau_gpio_create_ (struct nouveau_object *, struct nouveau_object *, struct nouveau_oclass *, int, void **)
 
int nouveau_gpio_init (struct nouveau_gpio *)
 
void nv50_gpio_dtor (struct nouveau_object *)
 
int nv50_gpio_init (struct nouveau_object *)
 
int nv50_gpio_fini (struct nouveau_object *, bool)
 
void nv50_gpio_intr (struct nouveau_subdev *)
 
void nv50_gpio_irq_enable (struct nouveau_gpio *, int line, bool)
 

Variables

struct nouveau_oclass nv10_gpio_oclass
 
struct nouveau_oclass nv50_gpio_oclass
 
struct nouveau_oclass nvd0_gpio_oclass
 

Macro Definition Documentation

#define nouveau_gpio_create (   p,
  e,
  o,
  d 
)    nouveau_gpio_create_((p), (e), (o), sizeof(**d), (void **)d)

Definition at line 43 of file gpio.h.

#define nouveau_gpio_destroy (   p)    nouveau_subdev_destroy(&(p)->base)

Definition at line 45 of file gpio.h.

#define nouveau_gpio_fini (   p,
  s 
)    nouveau_subdev_fini(&(p)->base, (s))

Definition at line 47 of file gpio.h.

Function Documentation

int nouveau_gpio_create_ ( struct nouveau_object ,
struct nouveau_object ,
struct nouveau_oclass ,
int  ,
void **   
)

Definition at line 226 of file base.c.

int nouveau_gpio_init ( struct nouveau_gpio )

Definition at line 263 of file base.c.

void nv50_gpio_dtor ( struct nouveau_object )

Definition at line 148 of file nv50.c.

int nv50_gpio_fini ( struct nouveau_object ,
bool   
)

Definition at line 176 of file nv50.c.

int nv50_gpio_init ( struct nouveau_object )

Definition at line 155 of file nv50.c.

void nv50_gpio_intr ( struct nouveau_subdev )

Definition at line 107 of file nv50.c.

void nv50_gpio_irq_enable ( struct nouveau_gpio ,
int  line,
bool   
)

Definition at line 97 of file nv50.c.

Variable Documentation

struct nouveau_oclass nv10_gpio_oclass

Definition at line 161 of file nv10.c.

struct nouveau_oclass nv50_gpio_oclass

Definition at line 186 of file nv50.c.

struct nouveau_oclass nvd0_gpio_oclass

Definition at line 96 of file nvd0.c.