Home
last modified time | relevance | path

Searched refs:nvkm_gpio (Results 1 – 25 of 25) sorted by relevance

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
H A Dpriv.h4 #define nvkm_gpio(p) container_of((p), struct nvkm_gpio, subdev) macro
14 void (*intr_stat)(struct nvkm_gpio *, u32 *, u32 *);
19 void (*intr_mask)(struct nvkm_gpio *, u32, u32, u32);
25 int (*sense)(struct nvkm_gpio *, int line);
28 void (*reset)(struct nvkm_gpio *, u8);
32 struct nvkm_gpio **);
34 void nv50_gpio_reset(struct nvkm_gpio *, u8);
35 int nv50_gpio_drive(struct nvkm_gpio *, int, int, int);
36 int nv50_gpio_sense(struct nvkm_gpio *, int);
41 void gf119_gpio_reset(struct nvkm_gpio *, u8);
[all …]
H A Dbase.c35 nvkm_gpio_sense(struct nvkm_gpio *gpio, int idx, int line) in nvkm_gpio_sense()
41 nvkm_gpio_reset(struct nvkm_gpio *gpio, u8 func) in nvkm_gpio_reset()
48 nvkm_gpio_find(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, in nvkm_gpio_find()
96 nvkm_gpio_get(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line) in nvkm_gpio_get()
134 struct nvkm_gpio *gpio = nvkm_gpio(subdev); in nvkm_gpio_intr()
149 struct nvkm_gpio *gpio = nvkm_gpio(subdev); in nvkm_gpio_fini()
177 struct nvkm_gpio *gpio = nvkm_gpio(subdev); in nvkm_gpio_init()
211 struct nvkm_gpio *gpio = nvkm_gpio(subdev); in nvkm_gpio_dtor()
217 nvkm_gpio = { variable
228 struct nvkm_gpio *gpio; in nvkm_gpio_new_()
[all …]
H A Dga102.c25 ga102_gpio_reset(struct nvkm_gpio *gpio, u8 match) in ga102_gpio_reset()
54 ga102_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in ga102_gpio_drive()
64 ga102_gpio_sense(struct nvkm_gpio *gpio, int line) in ga102_gpio_sense()
71 ga102_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in ga102_gpio_intr_stat()
85 ga102_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in ga102_gpio_intr_mask()
116 struct nvkm_gpio **pgpio) in ga102_gpio_new()
H A Dnv50.c27 nv50_gpio_reset(struct nvkm_gpio *gpio, u8 match) in nv50_gpio_reset()
71 nv50_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in nv50_gpio_drive()
84 nv50_gpio_sense(struct nvkm_gpio *gpio, int line) in nv50_gpio_sense()
96 nv50_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in nv50_gpio_intr_stat()
107 nv50_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in nv50_gpio_intr_mask()
130 struct nvkm_gpio **pgpio) in nv50_gpio_new()
H A Dnv10.c29 nv10_gpio_sense(struct nvkm_gpio *gpio, int line) in nv10_gpio_sense()
52 nv10_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in nv10_gpio_drive()
83 nv10_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in nv10_gpio_intr_stat()
94 nv10_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in nv10_gpio_intr_mask()
116 struct nvkm_gpio **pgpio) in nv10_gpio_new()
H A Dgf119.c27 gf119_gpio_reset(struct nvkm_gpio *gpio, u8 match) in gf119_gpio_reset()
56 gf119_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in gf119_gpio_drive()
66 gf119_gpio_sense(struct nvkm_gpio *gpio, int line) in gf119_gpio_sense()
84 struct nvkm_gpio **pgpio) in gf119_gpio_new()
H A Dg94.c27 g94_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in g94_gpio_intr_stat()
41 g94_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in g94_gpio_intr_mask()
72 struct nvkm_gpio **pgpio) in g94_gpio_new()
H A Dgk104.c27 gk104_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in gk104_gpio_intr_stat()
41 gk104_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in gk104_gpio_intr_mask()
72 struct nvkm_gpio **pgpio) in gk104_gpio_new()
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dgpio.h19 struct nvkm_gpio { struct
29 void nvkm_gpio_reset(struct nvkm_gpio *, u8 func); argument
30 int nvkm_gpio_find(struct nvkm_gpio *, int idx, u8 tag, u8 line,
32 int nvkm_gpio_set(struct nvkm_gpio *, int idx, u8 tag, u8 line, int state);
33 int nvkm_gpio_get(struct nvkm_gpio *, int idx, u8 tag, u8 line);
35 int nv10_gpio_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_gpio **);
36 int nv50_gpio_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_gpio **);
37 int g94_gpio_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_gpio **);
38 int gf119_gpio_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_gpio **);
39 int gk104_gpio_new(struct nvkm_device *, enum nvkm_subdev_type, int inst, struct nvkm_gpio **);
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
H A Dgpio.c38 struct nvkm_gpio *gpio = volt->subdev.device->gpio; in nvkm_voltgpio_get()
57 struct nvkm_gpio *gpio = volt->subdev.device->gpio; in nvkm_voltgpio_set()
75 struct nvkm_gpio *gpio = subdev->device->gpio; in nvkm_voltgpio_init()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dnv04.c43 struct nvkm_gpio *gpio = device->gpio; in nv04_bus_intr()
H A Dnv31.c39 struct nvkm_gpio *gpio = device->gpio; in nv31_bus_intr()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dconn.c57 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_ctor()
H A Duconn.c127 struct nvkm_gpio *gpio = conn->disp->engine.subdev.device->gpio; in nvkm_uconn_mthd_hpd_status()
H A Ddp.c686 struct nvkm_gpio *gpio = outp->disp->engine.subdev.device->gpio; in nvkm_dp_enable()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dfan.c128 struct nvkm_gpio *gpio = device->gpio; in nvkm_therm_fan_sense()
227 struct nvkm_gpio *gpio = device->gpio; in nvkm_therm_fan_ctor()
H A Dfantog.c44 struct nvkm_gpio *gpio = device->gpio; in nvkm_fantog_update()
H A Dfanpwm.c42 struct nvkm_gpio *gpio = device->gpio; in nvkm_fanpwm_get()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_led.c81 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); in nouveau_led_init()
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dlayout.h9 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_GPIO , struct nvkm_gpio , gpio)
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv17.c50 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); in nv42_tv_sample_load()
372 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); in nv17_tv_dpms()
H A Ddac.c240 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); in nv17_dac_sample_load()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgt215.c468 struct nvkm_gpio *gpio = fuc->base.fb->subdev.device->gpio; in gt215_ram_gpio()
501 struct nvkm_gpio *gpio = device->gpio; in gt215_ram_calc()
H A Dramnv50.c193 struct nvkm_gpio *gpio = hwsq->base.subdev->device->gpio; in nv50_ram_gpio()
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dinit.c1966 struct nvkm_gpio *gpio = init->subdev->device->gpio; in init_gpio()
2194 struct nvkm_gpio *gpio = bios->subdev.device->gpio; in init_gpio_ne()