Home
last modified time | relevance | path

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

/Linux-v5.4/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 int index, 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.c30 nvkm_gpio_drive(struct nvkm_gpio *gpio, int idx, int line, int dir, int out) in nvkm_gpio_drive()
36 nvkm_gpio_sense(struct nvkm_gpio *gpio, int idx, int line) in nvkm_gpio_sense()
42 nvkm_gpio_reset(struct nvkm_gpio *gpio, u8 func) in nvkm_gpio_reset()
49 nvkm_gpio_find(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, in nvkm_gpio_find()
81 nvkm_gpio_set(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line, int state) in nvkm_gpio_set()
97 nvkm_gpio_get(struct nvkm_gpio *gpio, int idx, u8 tag, u8 line) in nvkm_gpio_get()
115 struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); in nvkm_gpio_intr_fini()
122 struct nvkm_gpio *gpio = container_of(event, typeof(*gpio), event); in nvkm_gpio_intr_init()
150 struct nvkm_gpio *gpio = nvkm_gpio(subdev); in nvkm_gpio_intr()
167 struct nvkm_gpio *gpio = nvkm_gpio(subdev); in nvkm_gpio_fini()
[all …]
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()
129 nv50_gpio_new(struct nvkm_device *device, int index, 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()
115 nv10_gpio_new(struct nvkm_device *device, int index, 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()
83 gf119_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) in gf119_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()
71 g94_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) in g94_gpio_new()
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()
71 gk104_gpio_new(struct nvkm_device *device, int index, struct nvkm_gpio **pgpio) in gk104_gpio_new()
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dgpio.h22 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 *, int, struct nvkm_gpio **);
36 int nv50_gpio_new(struct nvkm_device *, int, struct nvkm_gpio **);
37 int g94_gpio_new(struct nvkm_device *, int, struct nvkm_gpio **);
38 int gf119_gpio_new(struct nvkm_device *, int, struct nvkm_gpio **);
39 int gk104_gpio_new(struct nvkm_device *, int, struct nvkm_gpio **);
/Linux-v5.4/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-v5.4/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dconn.c37 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_hpd()
82 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_ctor()
Ddp.c573 struct nvkm_gpio *gpio = outp->disp->engine.subdev.device->gpio; in nvkm_dp_init()
/Linux-v5.4/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-v5.4/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-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_led.c81 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); in nouveau_led_init()
/Linux-v5.4/drivers/gpu/drm/nouveau/include/nvkm/core/
Ddevice.h140 struct nvkm_gpio *gpio;
213 int (*gpio )(struct nvkm_device *, int idx, struct nvkm_gpio **);
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/
Dtvnv17.c49 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); in nv42_tv_sample_load()
365 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); in nv17_tv_dpms()
Ddac.c239 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); in nv17_dac_sample_load()
/Linux-v5.4/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.c194 struct nvkm_gpio *gpio = hwsq->base.subdev->device->gpio; in nv50_ram_gpio()
/Linux-v5.4/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()