/drivers/isdn/hardware/eicon/ |
D | divamnt.c | 96 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/ |
D | clock.c | 164 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/ |
D | hp_sdc_rtc.c | 204 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/ |
D | isl_38xx.c | 127 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/ |
D | input-compat.c | 28 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/ |
D | via_irq.c | 94 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/ |
D | rtsx.h | 167 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/ |
D | rts51x.h | 140 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/ |
D | lirc_serial.c | 704 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()
|
D | lirc_igorplugusb.c | 289 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()
|
D | lirc_parallel.c | 161 && 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()
|
D | lirc_sasem.c | 597 (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()
|
D | lirc_sir.c | 519 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()
|
D | lirc_imon.c | 572 if (b->tv_usec > a->tv_usec) { in tv2int() 577 usecs += a->tv_usec - b->tv_usec; in tv2int()
|
/drivers/gpu/drm/ |
D | drm_irq.c | 699 (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/ |
D | hil_mlc.c | 741 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()
|
D | hp_sdc_mlc.c | 164 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()
|
D | hp_sdc.c | 313 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/ |
D | dasd_eer.c | 281 __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/ |
D | vlsi_ir.c | 283 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/ |
D | vmwgfx_fence.c | 80 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/ |
D | bttv-input.c | 209 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/ |
D | speedstep-lib.c | 445 tv2.tv_usec - tv1.tv_usec; in speedstep_get_freqs()
|
/drivers/staging/omapdrm/ |
D | omap_crtc.c | 151 event->event.tv_usec = now.tv_usec; in vblank_cb()
|
/drivers/staging/comedi/drivers/ |
D | comedi_test.c | 176 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()
|