Home
last modified time | relevance | path

Searched refs:tmr (Results 1 – 18 of 18) sorted by relevance

/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/timer/
H A Dnouveau_nvkm_subdev_timer_base.c71 return tmr->func->read(tmr); in nvkm_timer_read()
87 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm_trigger()
101 tmr->func->alarm_fini(tmr); in nvkm_timer_alarm_trigger()
138 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm()
154 tmr->func->intr(tmr); in nvkm_timer_intr()
161 tmr->func->alarm_fini(tmr); in nvkm_timer_fini()
169 if (tmr->func->init) in nvkm_timer_init()
170 tmr->func->init(tmr); in nvkm_timer_init()
171 tmr->func->time(tmr, ktime_to_ns(ktime_get())); in nvkm_timer_init()
197 if (!(tmr = *ptmr = kzalloc(sizeof(*tmr), GFP_KERNEL))) in nvkm_timer_new_()
[all …]
H A Dnouveau_nvkm_subdev_timer_nv04.c33 nv04_timer_time(struct nvkm_timer *tmr, u64 time) in nv04_timer_time() argument
35 struct nvkm_subdev *subdev = &tmr->subdev; in nv04_timer_time()
48 nv04_timer_read(struct nvkm_timer *tmr) in nv04_timer_read() argument
50 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_read()
62 nv04_timer_alarm_fini(struct nvkm_timer *tmr) in nv04_timer_alarm_fini() argument
64 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_alarm_fini()
77 nv04_timer_intr(struct nvkm_timer *tmr) in nv04_timer_intr() argument
79 struct nvkm_subdev *subdev = &tmr->subdev; in nv04_timer_intr()
85 nvkm_timer_alarm_trigger(tmr); in nv04_timer_intr()
96 nv04_timer_init(struct nvkm_timer *tmr) in nv04_timer_init() argument
[all …]
H A Dnouveau_nvkm_subdev_timer_nv40.c33 nv40_timer_init(struct nvkm_timer *tmr) in nv40_timer_init() argument
35 struct nvkm_subdev *subdev = &tmr->subdev; in nv40_timer_init()
H A Dnouveau_nvkm_subdev_timer_nv41.c33 nv41_timer_init(struct nvkm_timer *tmr) in nv41_timer_init() argument
35 struct nvkm_subdev *subdev = &tmr->subdev; in nv41_timer_init()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/
H A Dnouveau_nvkm_subdev_therm_fan.c41 struct nvkm_timer *tmr = subdev->device->timer; in nvkm_fan_update() local
107 nvkm_timer_alarm(tmr, delay * 1000 * 1000, &fan->alarm); in nvkm_fan_update()
136 struct nvkm_timer *tmr = device->timer; in nvkm_therm_fan_sense() local
151 start = nvkm_timer_read(tmr); in nvkm_therm_fan_sense()
162 start = nvkm_timer_read(tmr); in nvkm_therm_fan_sense()
166 } while (cycles < 5 && nvkm_timer_read(tmr) - start < 250000000); in nvkm_therm_fan_sense()
167 end = nvkm_timer_read(tmr); in nvkm_therm_fan_sense()
225 struct nvkm_timer *tmr = therm->subdev.device->timer; in nvkm_therm_fan_fini() local
227 nvkm_timer_alarm(tmr, 0, &therm->fan->alarm); in nvkm_therm_fan_fini()
H A Dnouveau_nvkm_subdev_therm_temp.c172 struct nvkm_timer *tmr = therm->subdev.device->timer; in alarm_timer_callback() local
194 nvkm_timer_alarm(tmr, 1000000000ULL, alarm); in alarm_timer_callback()
226 struct nvkm_timer *tmr = therm->subdev.device->timer; in nvkm_therm_sensor_fini() local
228 nvkm_timer_alarm(tmr, 0, &therm->sensor.therm_poll_alarm); in nvkm_therm_sensor_fini()
H A Dnouveau_nvkm_subdev_therm_fantog.c48 struct nvkm_timer *tmr = device->timer; in nvkm_fantog_update() local
65 nvkm_timer_alarm(tmr, next_change * 1000, &fan->alarm); in nvkm_fantog_update()
H A Dnouveau_nvkm_subdev_therm_base.c114 struct nvkm_timer *tmr = subdev->device->timer; in nvkm_therm_update() local
127 nvkm_timer_alarm(tmr, 0, &therm->alarm); in nvkm_therm_update()
154 nvkm_timer_alarm(tmr, 0, &therm->alarm); in nvkm_therm_update()
159 nvkm_timer_alarm(tmr, 1000000000ULL, &therm->alarm); in nvkm_therm_update()
/netbsd/sys/netinet/
H A Dsctputil.c880 switch (tmr->type) { in sctp_timeout_handler()
1050 tmr->type); in sctp_timeout_handler()
1094 tmr = NULL; in sctp_timer_start()
1100 tmr = &it->tmr; in sctp_timer_start()
1386 tmr->type = t_type; in sctp_timer_start()
1387 tmr->ep = (void *)inp; in sctp_timer_start()
1390 callout_reset(&tmr->timer, to_ticks, sctp_timeout_handler, tmr); in sctp_timer_start()
1403 tmr = NULL; in sctp_timer_stop()
1409 tmr = &it->tmr; in sctp_timer_stop()
1512 if (tmr == NULL) in sctp_timer_stop()
[all …]
H A Dsctp_structs.h93 struct sctp_timer tmr; member
H A Dsctp_timer.c1453 callout_stop(&it->tmr.timer); in sctp_iterator_timer()
1457 callout_destroy(&it->tmr.timer); in sctp_iterator_timer()
H A Dsctp_pcb.c4735 callout_init(&it->tmr.timer, 0); in sctp_initiate_iterator()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/
H A Dnouveau_nvkm_engine_gr_g84.c125 struct nvkm_timer *tmr = device->timer; in g84_gr_tlb_flush() local
135 start = nvkm_timer_read(tmr); in g84_gr_tlb_flush()
154 !(timeout = nvkm_timer_read(tmr) - start > 2000000000)); in g84_gr_tlb_flush()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/
H A Dtimer.h34 struct nvkm_timer *tmr; member
65 dev_WARN(_wait.tmr->subdev.device->dev, "timeout\n"); \
/netbsd/external/mit/lua/dist/src/
H A Dloslib.c309 struct tm tmr, *stm; in os_date() local
311 stm = l_gmtime(&t, &tmr); in os_date()
315 stm = l_localtime(&t, &tmr); in os_date()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pmu/
H A Dnouveau_nvkm_subdev_pmu_gk20a.c128 struct nvkm_timer *tmr = device->timer; in gk20a_pmu_dvfs_work() local
159 nvkm_timer_alarm(tmr, 100000000, alarm); in gk20a_pmu_dvfs_work()
/netbsd/sys/external/gpl2/dts/dist/arch/arm/boot/dts/
H A Dls1021a.dtsi771 fsl,tmr-prsc = <2>;
772 fsl,tmr-add = <0xaaaaaaab>;
773 fsl,tmr-fiper1 = <999999995>;
774 fsl,tmr-fiper2 = <999999995>;
/netbsd/sys/arch/hppa/dev/
H A Dmongoose.c96 } tmr[2]; /* 0x40 -- timers control */ member