#include "priv.h"
#include <core/option.h>
static int
nvkm_gpio_drive(struct nvkm_gpio *gpio, int idx, int line, int dir, int out)
{ … }
static int
nvkm_gpio_sense(struct nvkm_gpio *gpio, int idx, int line)
{ … }
void
nvkm_gpio_reset(struct nvkm_gpio *gpio, u8 func)
{ … }
int
nvkm_gpio_find(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line,
struct dcb_gpio_func *func)
{ … }
int
nvkm_gpio_set(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, int state)
{ … }
int
nvkm_gpio_get(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line)
{ … }
static void
nvkm_gpio_intr_fini(struct nvkm_event *event, int type, int index)
{ … }
static void
nvkm_gpio_intr_init(struct nvkm_event *event, int type, int index)
{ … }
static const struct nvkm_event_func
nvkm_gpio_intr_func = …;
static void
nvkm_gpio_intr(struct nvkm_subdev *subdev)
{ … }
static int
nvkm_gpio_fini(struct nvkm_subdev *subdev, bool suspend)
{ … }
static const struct dmi_system_id gpio_reset_ids[] = …;
static enum dcb_gpio_func_name power_checks[] = …;
static int
nvkm_gpio_init(struct nvkm_subdev *subdev)
{ … }
static void *
nvkm_gpio_dtor(struct nvkm_subdev *subdev)
{ … }
static const struct nvkm_subdev_func
nvkm_gpio = …;
int
nvkm_gpio_new_(const struct nvkm_gpio_func *func, struct nvkm_device *device,
enum nvkm_subdev_type type, int inst, struct nvkm_gpio **pgpio)
{ … }