/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/ |
H A D | priv.h | 4 #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 D | base.c | 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() 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 D | ga102.c | 25 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 D | nv50.c | 27 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 D | nv10.c | 29 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 D | gf119.c | 27 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 D | g94.c | 27 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 D | gk104.c | 27 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 D | gpio.h | 19 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 D | gpio.c | 38 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 D | nv04.c | 43 struct nvkm_gpio *gpio = device->gpio; in nv04_bus_intr()
|
H A D | nv31.c | 39 struct nvkm_gpio *gpio = device->gpio; in nv31_bus_intr()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | conn.c | 57 struct nvkm_gpio *gpio = disp->engine.subdev.device->gpio; in nvkm_conn_ctor()
|
H A D | uconn.c | 127 struct nvkm_gpio *gpio = conn->disp->engine.subdev.device->gpio; in nvkm_uconn_mthd_hpd_status()
|
H A D | dp.c | 686 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 D | fan.c | 128 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 D | fantog.c | 44 struct nvkm_gpio *gpio = device->gpio; in nvkm_fantog_update()
|
H A D | fanpwm.c | 42 struct nvkm_gpio *gpio = device->gpio; in nvkm_fanpwm_get()
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_led.c | 81 struct nvkm_gpio *gpio = nvxx_gpio(&drm->client.device); in nouveau_led_init()
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | layout.h | 9 NVKM_LAYOUT_ONCE(NVKM_SUBDEV_GPIO , struct nvkm_gpio , gpio)
|
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | tvnv17.c | 50 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 D | dac.c | 240 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 D | ramgt215.c | 468 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 D | ramnv50.c | 193 struct nvkm_gpio *gpio = hwsq->base.subdev->device->gpio; in nv50_ram_gpio()
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | init.c | 1966 struct nvkm_gpio *gpio = init->subdev->device->gpio; in init_gpio() 2194 struct nvkm_gpio *gpio = bios->subdev.device->gpio; in init_gpio_ne()
|