Home
last modified time | relevance | path

Searched refs:timeval (Results 1 – 25 of 155) sorted by relevance

1234567

/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_time.h71 static inline long cfs_timeval_sub(struct timeval *large, struct timeval *small, in cfs_timeval_sub()
72 struct timeval *result) in cfs_timeval_sub()
112 static inline void cfs_fs_timeval(struct timeval *tv) in cfs_fs_timeval()
/drivers/input/misc/
Dhp_sdc_rtc.c201 static inline int hp_sdc_rtc_read_rt(struct timeval *res) { in hp_sdc_rtc_read_rt()
220 static inline int hp_sdc_rtc_read_fhs(struct timeval *res) { in hp_sdc_rtc_read_fhs()
237 static inline int hp_sdc_rtc_read_mt(struct timeval *res) { in hp_sdc_rtc_read_mt()
254 static inline int hp_sdc_rtc_read_dt(struct timeval *res) { in hp_sdc_rtc_read_dt()
271 static inline int hp_sdc_rtc_read_ct(struct timeval *res) { in hp_sdc_rtc_read_ct()
289 static int hp_sdc_rtc_set_rt (struct timeval *setto)
329 static int hp_sdc_rtc_set_fhs (struct timeval *setto)
369 static int hp_sdc_rtc_set_i8042timer (struct timeval *setto, uint8_t setcmd)
436 struct timeval tv; in hp_sdc_rtc_proc_show()
532 struct timeval ttime; in hp_sdc_rtc_ioctl()
/drivers/rtc/
Drtc-nuc900.c154 unsigned int timeval, clrval; in nuc900_rtc_read_time() local
156 timeval = __raw_readl(rtc->rtc_reg + REG_RTC_TLR); in nuc900_rtc_read_time()
159 return nuc900_rtc_bcd2bin(timeval, clrval, tm); in nuc900_rtc_read_time()
187 unsigned int timeval, carval; in nuc900_rtc_read_alarm() local
189 timeval = __raw_readl(rtc->rtc_reg + REG_RTC_TAR); in nuc900_rtc_read_alarm()
192 return nuc900_rtc_bcd2bin(timeval, carval, &alrm->time); in nuc900_rtc_read_alarm()
/drivers/gpu/drm/
Ddrm_irq.c61 struct timeval *tvblank, unsigned flags);
98 struct timeval t_vblank; in drm_update_vblank_count()
138 vblanktimestamp(dev, crtc, tslot) = rc ? t_vblank : (struct timeval) {0, 0}; in drm_update_vblank_count()
158 struct timeval tvblank; in vblank_disable_and_save()
654 struct timeval *vblank_time, in drm_calc_vbltimestamp_from_scanoutpos()
659 struct timeval tv_etime; in drm_calc_vbltimestamp_from_scanoutpos()
770 static struct timeval get_drm_timestamp(void) in get_drm_timestamp()
800 struct timeval *tvblank, unsigned flags) in drm_get_last_vbltimestamp()
859 struct timeval *vblanktime) in drm_vblank_count_and_time()
884 unsigned long seq, struct timeval *now) in send_vblank_event()
[all …]
/drivers/isdn/mISDN/
Dclock.c48 static struct timeval iclock_tv; /* time stamp of last clock */
142 mISDN_clock_update(struct mISDNclock *iclock, int samples, struct timeval *tv) in mISDN_clock_update()
145 struct timeval tv_now; in mISDN_clock_update()
198 struct timeval tv_now; in mISDN_clock_get()
/drivers/net/irda/
Dirda-usb.h160 struct timeval stamp;
161 struct timeval now;
Dali-ircc.h212 struct timeval stamp;
213 struct timeval now;
Dnsc-ircc.h266 struct timeval stamp;
267 struct timeval now;
/drivers/staging/lustre/include/linux/libcfs/linux/
Dlinux-time.h63 static inline void cfs_fs_time_usec(struct timespec *t, struct timeval *v) in cfs_fs_time_usec()
98 static inline void cfs_duration_usec(long d, struct timeval *s) in cfs_duration_usec()
/drivers/gpu/drm/via/
Dvia_irq.c91 static unsigned time_diff(struct timeval *now, struct timeval *then) in time_diff()
113 struct timeval cur_vblank; in via_driver_irq_handler()
352 struct timeval now; in via_wait_irq()
/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.h85 struct timeval tv_host_0, tv_host;
141 struct timeval *tv);
/drivers/staging/media/lirc/
Dlirc_sir.c130 static struct timeval last_tv = {0, 0};
132 static struct timeval last_intr_tv = {0, 0};
409 static long delta(struct timeval *tv1, struct timeval *tv2) in delta()
453 struct timeval curr_tv; in sir_interrupt()
Dlirc_parallel.c147 struct timeval tv, now; in init_lirc_timer()
223 struct timeval tv; in lirc_lirc_irq_handler()
224 static struct timeval lasttv; in lirc_lirc_irq_handler()
Dlirc_igorplugusb.c196 struct timeval last_time;
299 struct timeval now; in igorplugusb_remote_poll()
/drivers/staging/lustre/lustre/libcfs/linux/
Dlinux-tcpip.c258 struct timeval tv; in libcfs_sock_write()
275 tv = (struct timeval) { in libcfs_sock_write()
321 struct timeval tv; in libcfs_sock_read()
336 tv = (struct timeval) { in libcfs_sock_read()
/drivers/media/dvb-core/
Ddvb_frontend.h442 extern void dvb_frontend_sleep_until(struct timeval *waketime, u32 add_usec);
443 extern s32 timeval_usec_diff(struct timeval lasttime, struct timeval curtime);
/drivers/isdn/hardware/eicon/
Ddivamnt.c48 static struct timeval start_time;
91 struct timeval tv; in diva_os_get_time()
/drivers/staging/lustre/lnet/selftest/
Dping_test.c95 struct timeval tv; in ping_client_prep_rpc()
127 struct timeval tv; in ping_client_done_rpc()
/drivers/staging/gdm72xx/
Dgdm_sdio.h35 struct timeval sdu_stamp;
/drivers/char/
Dlp.c662 static int lp_set_timeout(unsigned int minor, struct timeval *par_timeout) in lp_set_timeout()
684 struct timeval par_timeout; in lp_ioctl()
692 sizeof (struct timeval))) { in lp_ioctl()
712 struct timeval par_timeout; in lp_compat_ioctl()
Dppdev.c499 struct timeval par_timeout; in pp_do_ioctl()
596 if (copy_from_user (&par_timeout, argp, sizeof(struct timeval))) { in pp_do_ioctl()
616 if (copy_to_user (argp, &par_timeout, sizeof(struct timeval))) in pp_do_ioctl()
/drivers/staging/bcm/
DLeakyBucket.c18 struct timeval tv; in UpdateTokenCount()
43 sizeof(struct timeval)); in UpdateTokenCount()
/drivers/gpu/drm/nouveau/
Dnouveau_display.h73 struct timeval *, unsigned);
/drivers/scsi/bfa/
Dbfa_port.c98 struct timeval tv; in bfa_port_get_stats_isr()
126 struct timeval tv; in bfa_port_clear_stats_isr()
473 struct timeval tv; in bfa_port_attach()
/drivers/staging/comedi/drivers/
Dcomedi_test.c61 struct timeval last; /* time last timer interrupt occurred */
173 struct timeval now; in waveform_ai_interrupt()

1234567