Home
last modified time | relevance | path

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

/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);
22 int (*drive)(struct nvkm_gpio *, int line, int dir, int out);
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);
[all …]
H A Dbase.c29 nvkm_gpio_drive(struct nvkm_gpio *gpio, int idx, int line, int dir, int out) in nvkm_gpio_drive()
35 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()
80 nvkm_gpio_set(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, int state) in nvkm_gpio_set()
96 nvkm_gpio_get(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line) in nvkm_gpio_get()
114 struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); in nvkm_gpio_intr_fini()
121 struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); in nvkm_gpio_intr_init()
134 struct nvkm_gpio *gpio = nvkm_gpio(subdev); in nvkm_gpio_intr()
149 struct nvkm_gpio *gpio = nvkm_gpio(subdev); in nvkm_gpio_fini()
[all …]
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 Dga102.c27 ga102_gpio_reset(struct nvkm_gpio *gpio, u8 match) in ga102_gpio_reset()
56 ga102_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) in ga102_gpio_drive()
66 ga102_gpio_sense(struct nvkm_gpio *gpio, int line) in ga102_gpio_sense()
73 ga102_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in ga102_gpio_intr_stat()
87 ga102_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in ga102_gpio_intr_mask()
118 struct nvkm_gpio **pgpio) in ga102_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 Dgk104.c29 gk104_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) in gk104_gpio_intr_stat()
43 gk104_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) in gk104_gpio_intr_mask()
74 struct nvkm_gpio **pgpio) in gk104_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()
/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 …]
/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()
/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()
/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()
/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dconn.c47 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_ctor()
H A Doutp.c249 struct nvkm_gpio *gpio = outp->disp->engine.subdev.device->gpio; in nvkm_outp_detect()
H A Ddp.c551 struct nvkm_gpio *gpio = outp->disp->engine.subdev.device->gpio; in nvkm_dp_enable()
/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_led.c81 struct nvkm_gpio *gpio = nvxx_gpio(drm); in nouveau_led_init()
/linux/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dlayout.h9 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_GPIO , struct nvkm_gpio , gpio)
/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv17.c50 struct nvkm_gpio *gpio = nvxx_gpio(drm); in nv42_tv_sample_load()
372 struct nvkm_gpio *gpio = nvxx_gpio(drm); in nv17_tv_dpms()
H A Ddac.c240 struct nvkm_gpio *gpio = nvxx_gpio(drm); in nv17_dac_sample_load()
/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()
/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()