/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/timer/ |
H A D | nouveau_nvkm_subdev_timer_base.c | 71 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 D | nouveau_nvkm_subdev_timer_nv04.c | 33 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 D | nouveau_nvkm_subdev_timer_nv40.c | 33 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 D | nouveau_nvkm_subdev_timer_nv41.c | 33 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 D | nouveau_nvkm_subdev_therm_fan.c | 41 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 D | nouveau_nvkm_subdev_therm_temp.c | 172 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 D | nouveau_nvkm_subdev_therm_fantog.c | 48 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 D | nouveau_nvkm_subdev_therm_base.c | 114 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 D | sctputil.c | 880 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 D | sctp_structs.h | 93 struct sctp_timer tmr; member
|
H A D | sctp_timer.c | 1453 callout_stop(&it->tmr.timer); in sctp_iterator_timer() 1457 callout_destroy(&it->tmr.timer); in sctp_iterator_timer()
|
H A D | sctp_pcb.c | 4735 callout_init(&it->tmr.timer, 0); in sctp_initiate_iterator()
|
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/ |
H A D | nouveau_nvkm_engine_gr_g84.c | 125 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 D | timer.h | 34 struct nvkm_timer *tmr; member 65 dev_WARN(_wait.tmr->subdev.device->dev, "timeout\n"); \
|
/netbsd/external/mit/lua/dist/src/ |
H A D | loslib.c | 309 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 D | nouveau_nvkm_subdev_pmu_gk20a.c | 128 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 D | ls1021a.dtsi | 771 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 D | mongoose.c | 96 } tmr[2]; /* 0x40 -- timers control */ member
|