Linux-libre 3.10.72-gnu
[librecmc/linux-libre.git] / drivers / gpu / drm / nouveau / core / subdev / gpio / priv.h
1 #ifndef __NVKM_GPIO_H__
2 #define __NVKM_GPIO_H__
3
4 #include <subdev/gpio.h>
5
6 void nv50_gpio_dtor(struct nouveau_object *);
7 int  nv50_gpio_init(struct nouveau_object *);
8 int  nv50_gpio_fini(struct nouveau_object *, bool);
9 void nv50_gpio_intr(struct nouveau_subdev *);
10 void nv50_gpio_intr_enable(struct nouveau_event *, int line);
11 void nv50_gpio_intr_disable(struct nouveau_event *, int line);
12
13 void nvd0_gpio_reset(struct nouveau_gpio *, u8);
14 int  nvd0_gpio_drive(struct nouveau_gpio *, int, int, int);
15 int  nvd0_gpio_sense(struct nouveau_gpio *, int);
16
17 #endif