Searched refs:nvkm_timer (Results 1 - 14 of 14) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H A Dpriv.h3 #define nvkm_timer(p) container_of((p), struct nvkm_timer, subdev) macro
7 int index, struct nvkm_timer **);
10 void (*init)(struct nvkm_timer *);
11 void (*intr)(struct nvkm_timer *);
12 u64 (*read)(struct nvkm_timer *);
13 void (*time)(struct nvkm_timer *, u64 time);
14 void (*alarm_init)(struct nvkm_timer *, u32 time);
15 void (*alarm_fini)(struct nvkm_timer *);
18 void nvkm_timer_alarm_trigger(struct nvkm_timer *);
20 void nv04_timer_fini(struct nvkm_timer *);
21 void nv04_timer_intr(struct nvkm_timer *);
22 void nv04_timer_time(struct nvkm_timer *, u64);
23 u64 nv04_timer_read(struct nvkm_timer *);
24 void nv04_timer_alarm_init(struct nvkm_timer *, u32);
25 void nv04_timer_alarm_fini(struct nvkm_timer *);
H A Dbase.c27 nvkm_timer_read(struct nvkm_timer *tmr) nvkm_timer_read()
33 nvkm_timer_alarm_trigger(struct nvkm_timer *tmr) nvkm_timer_alarm_trigger()
63 nvkm_timer_alarm(struct nvkm_timer *tmr, u32 nsec, struct nvkm_alarm *alarm) nvkm_timer_alarm()
89 nvkm_timer_alarm_cancel(struct nvkm_timer *tmr, struct nvkm_alarm *alarm) nvkm_timer_alarm_cancel()
100 struct nvkm_timer *tmr = nvkm_timer(subdev); nvkm_timer_intr()
107 struct nvkm_timer *tmr = nvkm_timer(subdev); nvkm_timer_fini()
115 struct nvkm_timer *tmr = nvkm_timer(subdev); nvkm_timer_init()
126 return nvkm_timer(subdev); nvkm_timer_dtor()
130 nvkm_timer = { variable in typeref:struct:nvkm_subdev_func
139 int index, struct nvkm_timer **ptmr) nvkm_timer_new_()
141 struct nvkm_timer *tmr; nvkm_timer_new_()
146 nvkm_subdev_ctor(&nvkm_timer, device, index, 0, &tmr->subdev); nvkm_timer_new_()
H A Dnv04.c28 nv04_timer_time(struct nvkm_timer *tmr, u64 time) nv04_timer_time()
43 nv04_timer_read(struct nvkm_timer *tmr) nv04_timer_read()
57 nv04_timer_alarm_fini(struct nvkm_timer *tmr) nv04_timer_alarm_fini()
64 nv04_timer_alarm_init(struct nvkm_timer *tmr, u32 time) nv04_timer_alarm_init()
72 nv04_timer_intr(struct nvkm_timer *tmr) nv04_timer_intr()
91 nv04_timer_init(struct nvkm_timer *tmr) nv04_timer_init()
148 nv04_timer_new(struct nvkm_device *device, int index, struct nvkm_timer **ptmr) nv04_timer_new()
H A Dnv40.c28 nv40_timer_init(struct nvkm_timer *tmr) nv40_timer_init()
85 nv40_timer_new(struct nvkm_device *device, int index, struct nvkm_timer **ptmr) nv40_timer_new()
H A Dnv41.c28 nv41_timer_init(struct nvkm_timer *tmr) nv41_timer_init()
82 nv41_timer_new(struct nvkm_device *device, int index, struct nvkm_timer **ptmr) nv41_timer_new()
H A Dgk20a.c36 gk20a_timer_new(struct nvkm_device *device, int index, struct nvkm_timer **ptmr) gk20a_timer_new()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/
H A Dtimer.h18 struct nvkm_timer { struct
26 u64 nvkm_timer_read(struct nvkm_timer *);
27 void nvkm_timer_alarm(struct nvkm_timer *, u32 nsec, struct nvkm_alarm *);
28 void nvkm_timer_alarm_cancel(struct nvkm_timer *, struct nvkm_alarm *);
41 struct nvkm_timer *_tmr = _device->timer; \
72 int nv04_timer_new(struct nvkm_device *, int, struct nvkm_timer **);
73 int nv40_timer_new(struct nvkm_device *, int, struct nvkm_timer **);
74 int nv41_timer_new(struct nvkm_device *, int, struct nvkm_timer **);
75 int gk20a_timer_new(struct nvkm_device *, int, struct nvkm_timer **);
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dfan.c36 struct nvkm_timer *tmr = subdev->device->timer; nvkm_fan_update()
127 struct nvkm_timer *tmr = device->timer; nvkm_therm_fan_sense()
216 struct nvkm_timer *tmr = therm->subdev.device->timer; nvkm_therm_fan_fini()
H A Dfantog.c43 struct nvkm_timer *tmr = device->timer; nvkm_fantog_update()
H A Dtemp.c167 struct nvkm_timer *tmr = therm->subdev.device->timer; alarm_timer_callback()
221 struct nvkm_timer *tmr = therm->subdev.device->timer; nvkm_therm_sensor_fini()
H A Dbase.c92 struct nvkm_timer *tmr = subdev->device->timer; nvkm_therm_update()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Ddevice.h120 struct nvkm_timer *timer;
185 int (*timer )(struct nvkm_device *, int idx, struct nvkm_timer **);
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/gr/
H A Dg84.c118 struct nvkm_timer *tmr = device->timer; g84_gr_tlb_flush()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
H A Dgk20a.c127 struct nvkm_timer *tmr = device->timer; gk20a_pmu_dvfs_work()

Completed in 146 milliseconds