Home
last modified time | relevance | path

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

/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/timer/
H A Dnouveau_nvkm_subdev_timer_base.c35 struct nvkm_subdev *subdev = &wait->tmr->subdev; in nvkm_timer_wait_test()
36 u64 time = nvkm_timer_read(wait->tmr); in nvkm_timer_wait_test()
63 wait->tmr = device->timer; in nvkm_timer_wait_init()
69 nvkm_timer_read(struct nvkm_timer *tmr) in nvkm_timer_read() argument
71 return tmr->func->read(tmr); in nvkm_timer_read()
75 nvkm_timer_alarm_trigger(struct nvkm_timer *tmr) in nvkm_timer_alarm_trigger() argument
82 spin_lock_irqsave(&tmr->lock, flags); in nvkm_timer_alarm_trigger()
83 list_for_each_entry_safe(alarm, atemp, &tmr->alarms, head) { in nvkm_timer_alarm_trigger()
85 if (alarm->timestamp > nvkm_timer_read(tmr)) { in nvkm_timer_alarm_trigger()
87 tmr->func->alarm_init(tmr, alarm->timestamp); in nvkm_timer_alarm_trigger()
[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()
69 nv04_timer_alarm_init(struct nvkm_timer *tmr, u32 time) in nv04_timer_alarm_init() argument
71 struct nvkm_device *device = tmr->subdev.device; in nv04_timer_alarm_init()
77 nv04_timer_intr(struct nvkm_timer *tmr) in nv04_timer_intr() argument
79 struct nvkm_subdev *subdev = &tmr->subdev; in nv04_timer_intr()
[all …]
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()
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()
/netbsd-src/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-src/sys/netinet/
H A Dsctputil.c830 struct sctp_timer *tmr; in sctp_timeout_handler() local
834 tmr = (struct sctp_timer *)t; in sctp_timeout_handler()
835 inp = (struct sctp_inpcb *)tmr->ep; in sctp_timeout_handler()
836 stcb = (struct sctp_tcb *)tmr->tcb; in sctp_timeout_handler()
837 net = (struct sctp_nets *)tmr->net; in sctp_timeout_handler()
841 sctp_audit_log(0xF0, (u_int8_t)tmr->type); in sctp_timeout_handler()
865 printf("Timer type %d goes off\n", tmr->type); in sctp_timeout_handler()
869 if (!callout_active(&tmr->timer)) { in sctp_timeout_handler()
880 switch (tmr->type) { in sctp_timeout_handler()
1050 tmr->type); in sctp_timeout_handler()
[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.c4709 callout_init(&it->tmr.timer, 0); in sctp_initiate_iterator()
/netbsd-src/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-src/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-src/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-src/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-src/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-src/sys/arch/hppa/dev/
H A Dmongoose.c96 } tmr[2]; /* 0x40 -- timers control */ member