Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
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 …]
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 …]
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()
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()
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()
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()
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()
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-6.12.1/drivers/gpu/drm/nouveau/include/nvkm/subdev/
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-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/volt/
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-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
Dnv04.c43 struct nvkm_gpio *gpio = device->gpio; in nv04_bus_intr()
Dnv31.c39 struct nvkm_gpio *gpio = device->gpio; in nv31_bus_intr()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
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()
Dfantog.c44 struct nvkm_gpio *gpio = device->gpio; in nvkm_fantog_update()
Dfanpwm.c42 struct nvkm_gpio *gpio = device->gpio; in nvkm_fanpwm_get()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dconn.c47 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_ctor()
Doutp.c249 struct nvkm_gpio *gpio = outp->disp->engine.subdev.device->gpio; in nvkm_outp_detect()
Ddp.c551 struct nvkm_gpio *gpio = outp->disp->engine.subdev.device->gpio; in nvkm_dp_enable()
/linux-6.12.1/drivers/gpu/drm/nouveau/
Dnouveau_led.c81 struct nvkm_gpio *gpio = nvxx_gpio(drm); in nouveau_led_init()
/linux-6.12.1/drivers/gpu/drm/nouveau/include/nvkm/core/
Dlayout.h9 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_GPIO , struct nvkm_gpio , gpio)
/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv04/
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()
Ddac.c240 struct nvkm_gpio *gpio = nvxx_gpio(drm); in nv17_dac_sample_load()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
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()
Dramnv50.c193 struct nvkm_gpio *gpio = hwsq->base.subdev->device->gpio; in nv50_ram_gpio()
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
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()