Searched defs:tv (Results 1 - 25 of 89) sorted by relevance

1234

/drivers/rtc/
H A Dhctosys.c29 struct timespec tv = { local
55 rtc_tm_to_time(&tm, &tv.tv_sec);
57 err = do_settimeofday(&tv);
64 (unsigned int) tv.tv_sec);
/drivers/media/usb/au0828/
H A Dau0828-cards.c153 struct tveeprom tv; local
155 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data);
156 dev->board.tuner_type = tv.tuner_type;
159 switch (tv.model) {
177 __func__, tv.model);
182 __func__, tv.model);
/drivers/net/wireless/mwifiex/
H A D11n_aggr.c167 struct timeval tv; variable in typeref:struct:timeval
196 do_gettimeofday(&tv); variable
197 skb_aggr->tstamp = timeval_to_ktime(tv);
/drivers/input/serio/
H A Dhp_sdc_mlc.c152 struct timeval tv; local
163 do_gettimeofday(&tv);
164 tv.tv_usec += USEC_PER_SEC * (tv.tv_sec - mlc->instart.tv_sec);
165 if (tv.tv_usec - mlc->instart.tv_usec > mlc->intimeout) {
167 tv.tv_usec - mlc->instart.tv_usec,
/drivers/isdn/mISDN/
H A Dclock.c26 * enabled. If function call is delayed, tv must be set with the timestamp
142 mISDN_clock_update(struct mISDNclock *iclock, int samples, struct timeval *tv) argument
162 if (tv) { /* tv must be set, if function call is delayed */
163 iclock_tv.tv_sec = tv->tv_sec;
164 iclock_tv.tv_usec = tv->tv_usec;
169 if (tv) { /* tv must be set, if function call is delayed */
170 tv_now.tv_sec = tv->tv_sec;
171 tv_now.tv_usec = tv
[all...]
/drivers/media/pci/saa7164/
H A Dsaa7164-cards.c617 struct tveeprom tv; local
620 tveeprom_hauppauge_analog(&dev->i2c_bus[0].i2c_client, &tv,
624 switch (tv.model) {
652 dev->name, tv.model);
657 tv.model);
/drivers/staging/bcm/
H A DLeakyBucket.c18 struct timeval tv; local
29 do_gettimeofday(&tv);
34 liCurrentTime = ((tv.tv_sec -
36 (tv.tv_usec - curr_pi->stLastUpdateTokenAt.tv_usec) /
42 memcpy(&curr_pi->stLastUpdateTokenAt, &tv,
/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_time.h112 static inline void cfs_fs_timeval(struct timeval *tv) argument
117 cfs_fs_time_usec(&time, tv);
/drivers/staging/lustre/lustre/llite/
H A Dsuper25.c108 struct timeval tv; local
174 do_gettimeofday(&tv);
175 cfs_srand(tv.tv_sec ^ seed[0], tv.tv_usec ^ seed[1]);
/drivers/usb/misc/
H A Dtrancevibrator.c52 struct trancevibrator *tv = usb_get_intfdata(intf); local
54 return sprintf(buf, "%d\n", tv->speed);
61 struct trancevibrator *tv = usb_get_intfdata(intf); local
69 old = tv->speed;
70 tv->speed = temp;
72 dev_dbg(&tv->udev->dev, "speed = %d\n", tv->speed);
75 retval = usb_control_msg(tv->udev, usb_sndctrlpipe(tv->udev, 0),
78 tv
[all...]
/drivers/staging/android/
H A Dsync_debug.c98 struct timeval tv = ktime_to_timeval(pt->base.timestamp); local
100 seq_printf(s, "@%ld.%06ld", tv.tv_sec, tv.tv_usec);
/drivers/staging/lustre/lnet/lnet/
H A Dlib-eq.c345 struct timeval tv; variable in typeref:struct:timeval
349 cfs_duration_usec(cfs_time_sub(cfs_time_current(), now), &tv);
350 tms -= (int)(tv.tv_sec * 1000 + tv.tv_usec / 1000);
/drivers/staging/lustre/lnet/selftest/
H A Dping_test.c95 struct timeval tv; local
113 cfs_fs_timeval(&tv);
114 req->pnr_time_sec = tv.tv_sec;
115 req->pnr_time_usec = tv.tv_usec;
127 struct timeval tv; local
164 cfs_fs_timeval(&tv);
166 (unsigned)((tv.tv_sec - (unsigned)reqst->pnr_time_sec) * 1000000
167 + (tv.tv_usec - reqst->pnr_time_usec)));
/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-tracefile.c195 struct timeval tv; local
197 do_gettimeofday(&tv);
203 header->ph_sec = (__u32)tv.tv_sec;
204 header->ph_usec = tv.tv_usec;
/drivers/staging/lustre/lustre/obdclass/
H A Dlustre_handles.c196 struct timeval tv; local
214 do_gettimeofday(&tv);
215 cfs_srand(tv.tv_sec ^ seed[0], tv.tv_usec ^ seed[1]);
/drivers/input/misc/
H A Dhp_sdc_rtc.c436 struct timeval tv; local
452 if (hp_sdc_rtc_read_rt(&tv)) {
456 tv.tv_sec, (int)tv.tv_usec/1000);
459 if (hp_sdc_rtc_read_fhs(&tv)) {
463 tv.tv_sec, (int)tv.tv_usec/1000);
466 if (hp_sdc_rtc_read_mt(&tv)) {
470 tv.tv_sec, (int)tv
[all...]
/drivers/isdn/hardware/eicon/
H A Ddivamnt.c91 struct timeval tv; local
93 do_gettimeofday(&tv);
95 if (tv.tv_sec > start_time.tv_sec) {
96 if (start_time.tv_usec > tv.tv_usec) {
97 tv.tv_sec--;
98 tv.tv_usec += 1000000;
100 *sec = (dword) (tv.tv_sec - start_time.tv_sec);
101 *usec = (dword) (tv.tv_usec - start_time.tv_usec);
102 } else if (tv.tv_sec == start_time.tv_sec) {
104 if (start_time.tv_usec < tv
[all...]
/drivers/media/pci/bt8xx/
H A Dbttv-input.c197 struct timeval tv; local
202 do_gettimeofday(&tv);
205 if (tv.tv_sec - ir->base_time.tv_sec > 1) {
208 gap = 1000000 * (tv.tv_sec - ir->base_time.tv_sec) +
209 tv.tv_usec - ir->base_time.tv_usec;
252 struct timeval tv; local
262 do_gettimeofday(&tv);
265 if (tv.tv_sec - ir->base_time.tv_sec > 1) {
268 gap = 1000000 * (tv.tv_sec - ir->base_time.tv_sec) +
269 tv
[all...]
/drivers/media/pci/cx23885/
H A Dcx23885-cards.c976 struct tveeprom tv; local
978 tveeprom_hauppauge_analog(&dev->i2c_bus[0].i2c_client, &tv,
982 switch (tv.model) {
1118 dev->name, tv.model);
1123 dev->name, tv.model);
/drivers/media/pci/cx88/
H A Dcx88-cards.c2857 struct tveeprom tv; local
2859 tveeprom_hauppauge_analog(&core->i2c_client, &tv, eeprom_data);
2860 core->board.tuner_type = tv.tuner_type;
2861 core->tuner_formats = tv.tuner_formats;
2862 core->board.radio.type = tv.has_radio ? CX88_RADIO : 0;
2863 core->model = tv.model;
2866 switch (tv.model)
2909 tv.model);
2913 info_printk(core, "hauppauge eeprom: model=%d\n", tv.model);
/drivers/media/pci/saa7134/
H A Dsaa7134-cards.c93 .tv = 1,
98 .tv = 1,
120 .tv = 1,
126 .tv = 1,
169 .tv = 1,
210 .tv = 1,
241 .tv = 1,
247 .tv = 1,
291 .tv = 1,
297 .tv
7394 struct tveeprom tv; local
[all...]
/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf.h83 struct tveeprom tv; member in struct:mxl111sf_state
/drivers/scsi/bfa/
H A Dbfa_port.c98 struct timeval tv; local
104 do_gettimeofday(&tv);
105 port->stats->fc.secs_reset = tv.tv_sec - port->stats_reset_time;
126 struct timeval tv; local
134 do_gettimeofday(&tv);
135 port->stats_reset_time = tv.tv_sec;
473 struct timeval tv; local
496 do_gettimeofday(&tv);
497 port->stats_reset_time = tv.tv_sec;
/drivers/scsi/
H A Dgdth_proc.c151 struct timeval tv; local
543 do_gettimeofday(&tv);
544 sec = (int)(tv.tv_sec - estr->first_stamp);
/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_debug.c419 struct timeval tv; local
518 do_gettimeofday(&tv);
519 get_stat_data.ConTm = (u32)(tv.tv_sec - info->ConTm);

Completed in 517 milliseconds

1234