Home
last modified time | relevance | path

Searched refs:tv_usec (Results 1 – 25 of 93) sorted by relevance

1234

/drivers/isdn/hardware/eicon/
Ddivamnt.c96 if (start_time.tv_usec > tv.tv_usec) { in diva_os_get_time()
98 tv.tv_usec += 1000000; in diva_os_get_time()
101 *usec = (dword) (tv.tv_usec - start_time.tv_usec); in diva_os_get_time()
104 if (start_time.tv_usec < tv.tv_usec) { in diva_os_get_time()
105 *usec = (dword) (tv.tv_usec - start_time.tv_usec); in diva_os_get_time()
111 *usec = (dword) tv.tv_usec; in diva_os_get_time()
/drivers/isdn/mISDN/
Dclock.c164 iclock_tv.tv_usec = tv->tv_usec; in mISDN_clock_update()
171 tv_now.tv_usec = tv->tv_usec; in mISDN_clock_update()
175 elapsed_8000th = (tv_now.tv_usec / 125) in mISDN_clock_update()
176 - (iclock_tv.tv_usec / 125); in mISDN_clock_update()
184 iclock_tv.tv_usec = tv_now.tv_usec; in mISDN_clock_update()
207 elapsed_8000th = (tv_now.tv_usec / 125) - (iclock_tv.tv_usec / 125); in mISDN_clock_get()
/drivers/input/misc/
Dhp_sdc_rtc.c204 res->tv_usec = (suseconds_t)(tenms % 100) * 10000; in hp_sdc_rtc_read_rt()
221 res->tv_usec = (suseconds_t)(tenms % 100) * 10000; in hp_sdc_rtc_read_fhs()
238 res->tv_usec = (suseconds_t)(tenms % 100) * 10000; in hp_sdc_rtc_read_mt()
255 res->tv_usec = (suseconds_t)(tenms % 100) * 10000; in hp_sdc_rtc_read_dt()
272 res->tv_usec = (suseconds_t)(tenms % 100) * 10000; in hp_sdc_rtc_read_ct()
296 if (0xffff < setto->tv_usec / 1000000 / 86400) return -1; in hp_sdc_rtc_set_rt()
297 days += ((setto->tv_sec % 86400) + setto->tv_usec / 1000000) / 86400; in hp_sdc_rtc_set_rt()
302 if (0xffffff < setto->tv_usec / 10000) return -1; in hp_sdc_rtc_set_rt()
303 tenms += setto->tv_usec / 10000; in hp_sdc_rtc_set_rt()
333 if (0xffff < setto->tv_usec / 10000) return -1; in hp_sdc_rtc_set_fhs()
[all …]
/drivers/net/wireless/prism54/
Disl_38xx.c127 current_time.tv_sec, (long)current_time.tv_usec); in isl38xx_trigger_device()
130 current_time.tv_sec, (long)current_time.tv_usec, in isl38xx_trigger_device()
140 current_time.tv_sec, (long)current_time.tv_usec); in isl38xx_trigger_device()
154 current_time.tv_sec, (long)current_time.tv_usec, in isl38xx_trigger_device()
159 current_time.tv_sec, (long)current_time.tv_usec, in isl38xx_trigger_device()
174 current_time.tv_sec, (long)current_time.tv_usec, reg); in isl38xx_trigger_device()
/drivers/input/
Dinput-compat.c28 event->time.tv_usec = compat_event.time.tv_usec; in input_event_from_user()
48 compat_event.time.tv_usec = event->time.tv_usec; in input_event_to_user()
/drivers/gpu/drm/via/
Dvia_irq.c94 return (now->tv_usec >= then->tv_usec) ? in time_diff()
95 now->tv_usec - then->tv_usec : in time_diff()
96 1000000 - (then->tv_usec - now->tv_usec); in time_diff()
389 irqwait->reply.tval_usec = now.tv_usec; in via_wait_irq()
/drivers/staging/rts_pstor/
Drtsx.h167 timeval_buf[4] = (u8)(tv.tv_usec >> 24); in get_current_time()
168 timeval_buf[5] = (u8)(tv.tv_usec >> 16); in get_current_time()
169 timeval_buf[6] = (u8)(tv.tv_usec >> 8); in get_current_time()
170 timeval_buf[7] = (u8)(tv.tv_usec); in get_current_time()
/drivers/staging/rts5139/
Drts51x.h140 timeval_buf[4] = (u8) (tv.tv_usec >> 24); in get_current_time()
141 timeval_buf[5] = (u8) (tv.tv_usec >> 16); in get_current_time()
142 timeval_buf[6] = (u8) (tv.tv_usec >> 8); in get_current_time()
143 timeval_buf[7] = (u8) (tv.tv_usec); in get_current_time()
/drivers/staging/media/lirc/
Dlirc_serial.c704 tv.tv_usec, lasttv.tv_usec); in irq_handler()
711 tv.tv_usec < lasttv.tv_usec)) { in irq_handler()
719 tv.tv_usec, lasttv.tv_usec); in irq_handler()
730 tv.tv_usec, lasttv.tv_usec); in irq_handler()
739 tv.tv_usec - in irq_handler()
740 lasttv.tv_usec); in irq_handler()
Dlirc_igorplugusb.c289 ir->last_time.tv_usec += code; in send_fragment()
337 timediff += now.tv_usec - ir->last_time.tv_usec; in igorplugusb_remote_poll()
340 ir->last_time.tv_usec = now.tv_usec; in igorplugusb_remote_poll()
Dlirc_parallel.c161 && now.tv_usec < tv.tv_usec))); in init_lirc_timer()
164 + (now.tv_usec - tv.tv_usec)); in init_lirc_timer()
263 tv.tv_usec - lasttv.tv_usec + in irq_handler()
Dlirc_sasem.c597 (tv.tv_usec - context->presstime.tv_usec) / 1000; in incoming_packet()
614 context->presstime.tv_usec = tv.tv_usec; in incoming_packet()
625 context->presstime.tv_usec = tv.tv_usec; in incoming_packet()
Dlirc_sir.c519 tv2->tv_usec - in delta()
520 tv1->tv_usec; in delta()
656 last_tv.tv_usec = in sir_interrupt()
657 last_intr_tv.tv_usec; in sir_interrupt()
671 if (last_tv.tv_usec >= TIME_CONST) { in sir_interrupt()
672 last_tv.tv_usec -= TIME_CONST; in sir_interrupt()
675 last_tv.tv_usec += 1000000 - in sir_interrupt()
Dlirc_imon.c572 if (b->tv_usec > a->tv_usec) { in tv2int()
577 usecs += a->tv_usec - b->tv_usec; in tv2int()
/drivers/gpu/drm/
Ddrm_irq.c699 (long)raw_time.tv_sec, (long)raw_time.tv_usec, in drm_calc_vbltimestamp_from_scanoutpos()
700 (long)vblank_time->tv_sec, (long)vblank_time->tv_usec, in drm_calc_vbltimestamp_from_scanoutpos()
961 e->event.tv_usec = now.tv_usec; in drm_vblank_off()
1118 e->event.tv_usec = now.tv_usec; in drm_queue_vblank_event()
1232 vblwait->reply.tval_usec = now.tv_usec; in drm_wait_vblank()
1267 e->event.tv_usec = now.tv_usec; in drm_handle_vblank_events()
/drivers/input/serio/
Dhil_mlc.c741 tv.tv_usec += USEC_PER_SEC * (tv.tv_sec - mlc->instart.tv_sec); in hilse_donode()
742 tv.tv_usec -= mlc->instart.tv_usec; in hilse_donode()
743 if (tv.tv_usec >= mlc->intimeout) goto sched; in hilse_donode()
744 tv.tv_usec = (mlc->intimeout - tv.tv_usec) * HZ / USEC_PER_SEC; in hilse_donode()
745 if (!tv.tv_usec) goto sched; in hilse_donode()
746 mod_timer(&hil_mlcs_kicker, jiffies + tv.tv_usec); in hilse_donode()
Dhp_sdc_mlc.c164 tv.tv_usec += USEC_PER_SEC * (tv.tv_sec - mlc->instart.tv_sec); in hp_sdc_mlc_in()
165 if (tv.tv_usec - mlc->instart.tv_usec > mlc->intimeout) { in hp_sdc_mlc_in()
Dhp_sdc.c313 tv.tv_usec += USEC_PER_SEC; in hp_sdc_tasklet()
315 if (tv.tv_usec - hp_sdc.rtv.tv_usec > HP_SDC_MAX_REG_DELAY) { in hp_sdc_tasklet()
325 (int)(tv.tv_usec - hp_sdc.rtv.tv_usec)); in hp_sdc_tasklet()
/drivers/s390/block/
Ddasd_eer.c281 __u64 tv_usec; member
314 header.tv_usec = tv.tv_usec; in dasd_eer_write_standard_trigger()
357 header.tv_usec = tv.tv_usec; in dasd_eer_write_snss_trigger()
/drivers/net/irda/
Dvlsi_ir.c283 if (now.tv_usec >= idev->last_rx.tv_usec) { in vlsi_proc_ndev()
284 delta2 = now.tv_usec - idev->last_rx.tv_usec; in vlsi_proc_ndev()
288 delta2 = 1000000 + now.tv_usec - idev->last_rx.tv_usec; in vlsi_proc_ndev()
951 ready.tv_usec = idev->last_rx.tv_usec + mtt; in vlsi_hard_start_xmit()
953 if (ready.tv_usec >= 1000000) { in vlsi_hard_start_xmit()
954 ready.tv_usec -= 1000000; in vlsi_hard_start_xmit()
960 (now.tv_sec==ready.tv_sec && now.tv_usec>=ready.tv_usec)) in vlsi_hard_start_xmit()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fence.c80 uint32_t *tv_usec; member
856 *eaction->tv_usec = tv.tv_usec; in vmw_event_fence_action_seq_passed()
959 uint32_t *tv_usec, in vmw_event_fence_action_queue() argument
980 eaction->tv_usec = tv_usec; in vmw_event_fence_action_queue()
1041 &event->event.tv_usec, in vmw_event_fence_action_create()
/drivers/media/video/bt8xx/
Dbttv-input.c209 tv.tv_usec - ir->base_time.tv_usec; in bttv_rc5_timer_end()
266 tv.tv_usec - ir->base_time.tv_usec; in bttv_rc5_irq()
/drivers/cpufreq/
Dspeedstep-lib.c445 tv2.tv_usec - tv1.tv_usec; in speedstep_get_freqs()
/drivers/staging/omapdrm/
Domap_crtc.c151 event->event.tv_usec = now.tv_usec; in vblank_cb()
/drivers/staging/comedi/drivers/
Dcomedi_test.c176 1000000 * (now.tv_sec - devpriv->last.tv_sec) + now.tv_usec - in waveform_ai_interrupt()
177 devpriv->last.tv_usec; in waveform_ai_interrupt()
452 devpriv->usec_current = devpriv->last.tv_usec % devpriv->usec_period; in waveform_ai_cmd()

1234