Home
last modified time | relevance | path

Searched refs:tv (Results 1 – 190 of 190) sorted by relevance

/linux-4.4.14/drivers/usb/misc/
Dtrancevibrator.c52 struct trancevibrator *tv = usb_get_intfdata(intf); in show_speed() local
54 return sprintf(buf, "%d\n", tv->speed); in show_speed()
61 struct trancevibrator *tv = usb_get_intfdata(intf); in set_speed() local
69 old = tv->speed; in set_speed()
70 tv->speed = temp; in set_speed()
72 dev_dbg(&tv->udev->dev, "speed = %d\n", tv->speed); in set_speed()
75 retval = usb_control_msg(tv->udev, usb_sndctrlpipe(tv->udev, 0), in set_speed()
78 tv->speed, /* speed value */ in set_speed()
81 tv->speed = old; in set_speed()
82 dev_dbg(&tv->udev->dev, "retval = %d\n", retval); in set_speed()
/linux-4.4.14/fs/xfs/
Dxfs_trans_inode.c71 struct timespec tv; in xfs_trans_ichgtime() local
76 tv = current_fs_time(inode->i_sb); in xfs_trans_ichgtime()
79 !timespec_equal(&inode->i_mtime, &tv)) { in xfs_trans_ichgtime()
80 inode->i_mtime = tv; in xfs_trans_ichgtime()
81 ip->i_d.di_mtime.t_sec = tv.tv_sec; in xfs_trans_ichgtime()
82 ip->i_d.di_mtime.t_nsec = tv.tv_nsec; in xfs_trans_ichgtime()
85 !timespec_equal(&inode->i_ctime, &tv)) { in xfs_trans_ichgtime()
86 inode->i_ctime = tv; in xfs_trans_ichgtime()
87 ip->i_d.di_ctime.t_sec = tv.tv_sec; in xfs_trans_ichgtime()
88 ip->i_d.di_ctime.t_nsec = tv.tv_nsec; in xfs_trans_ichgtime()
Dxfs_inode.c759 struct timespec tv; in xfs_ialloc() local
825 tv = current_fs_time(mp->m_super); in xfs_ialloc()
826 ip->i_d.di_mtime.t_sec = (__int32_t)tv.tv_sec; in xfs_ialloc()
827 ip->i_d.di_mtime.t_nsec = (__int32_t)tv.tv_nsec; in xfs_ialloc()
/linux-4.4.14/kernel/time/
Dtime.c84 struct timespec tv; in SYSCALL_DEFINE1() local
87 if (get_user(tv.tv_sec, tptr)) in SYSCALL_DEFINE1()
90 tv.tv_nsec = 0; in SYSCALL_DEFINE1()
92 err = security_settime(&tv, NULL); in SYSCALL_DEFINE1()
96 do_settimeofday(&tv); in SYSCALL_DEFINE1()
102 SYSCALL_DEFINE2(gettimeofday, struct timeval __user *, tv, in SYSCALL_DEFINE2() argument
105 if (likely(tv != NULL)) { in SYSCALL_DEFINE2()
108 if (copy_to_user(tv, &ktv, sizeof(ktv))) in SYSCALL_DEFINE2()
163 int do_sys_settimeofday(const struct timespec *tv, const struct timezone *tz) in do_sys_settimeofday() argument
168 if (tv && !timespec_valid(tv)) in do_sys_settimeofday()
[all …]
Dtimekeeping.c892 void do_gettimeofday(struct timeval *tv) in do_gettimeofday() argument
897 tv->tv_sec = now.tv_sec; in do_gettimeofday()
898 tv->tv_usec = now.tv_nsec/1000; in do_gettimeofday()
Dtimer.c1132 static int cascade(struct tvec_base *base, struct tvec *tv, int index) in cascade() argument
1139 hlist_move_list(tv->vec + index, &tv_list); in cascade()
/linux-4.4.14/drivers/isdn/hardware/eicon/
Ddivamnt.c91 struct timeval tv; in diva_os_get_time() local
93 do_gettimeofday(&tv); in diva_os_get_time()
95 if (tv.tv_sec > start_time.tv_sec) { in diva_os_get_time()
96 if (start_time.tv_usec > tv.tv_usec) { in diva_os_get_time()
97 tv.tv_sec--; in diva_os_get_time()
98 tv.tv_usec += 1000000; in diva_os_get_time()
100 *sec = (dword) (tv.tv_sec - start_time.tv_sec); in diva_os_get_time()
101 *usec = (dword) (tv.tv_usec - start_time.tv_usec); in diva_os_get_time()
102 } else if (tv.tv_sec == start_time.tv_sec) { in diva_os_get_time()
104 if (start_time.tv_usec < tv.tv_usec) { in diva_os_get_time()
[all …]
/linux-4.4.14/arch/sh/kernel/
Dtime.c27 static void null_rtc_get_time(struct timespec *tv) in null_rtc_get_time() argument
29 tv->tv_sec = mktime(2000, 1, 1, 0, 0, 0); in null_rtc_get_time()
30 tv->tv_nsec = 0; in null_rtc_get_time()
56 struct timespec tv; in get_rtc_time() local
58 rtc_sh_get_time(&tv); in get_rtc_time()
59 rtc_time_to_tm(tv.tv_sec, tm); in get_rtc_time()
/linux-4.4.14/drivers/media/pci/saa7134/
Dsaa7134-cards.c94 .tv = 1,
99 .tv = 1,
121 .tv = 1,
127 .tv = 1,
170 .tv = 1,
211 .tv = 1,
242 .tv = 1,
292 .tv = 1,
298 .tv = 1,
348 .tv = 1,
[all …]
Dsaa7134.h369 unsigned int tv:1; member
Dsaa7134-video.c481 if (card_in(dev, dev->ctl_input).tv) in saa7134_set_tvnorm_hw()
1395 if (card_in(dev, n).tv) in saa7134_enum_input()
1665 if (card_in(dev, n).tv) in saa7134_g_tuner()
/linux-4.4.14/Documentation/vDSO/
Dvdso_test.c33 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in main()
41 struct timeval tv; in main() local
42 long ret = gtod(&tv, 0); in main()
46 (long long)tv.tv_sec, (long long)tv.tv_usec); in main()
Dvdso_standalone_test_x86.c90 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in c_main()
96 struct timeval tv; in c_main() local
97 long ret = gtod(&tv, 0); in c_main()
101 to_base10(buf + 31, tv.tv_sec); in c_main()
102 to_base10(buf + 38, tv.tv_usec); in c_main()
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_legacy_tv.c393 WREG32(RADEON_TV_UV_ADR, tv_dac->tv.tv_uv_adr); in radeon_restore_tv_timing_tables()
394 h_table = radeon_get_htiming_tables_addr(tv_dac->tv.tv_uv_adr); in radeon_restore_tv_timing_tables()
395 v_table = radeon_get_vtiming_tables_addr(tv_dac->tv.tv_uv_adr); in radeon_restore_tv_timing_tables()
398 tmp = ((uint32_t)tv_dac->tv.h_code_timing[i] << 14) | ((uint32_t)tv_dac->tv.h_code_timing[i+1]); in radeon_restore_tv_timing_tables()
400 if (tv_dac->tv.h_code_timing[i] == 0 || tv_dac->tv.h_code_timing[i + 1] == 0) in radeon_restore_tv_timing_tables()
404 tmp = ((uint32_t)tv_dac->tv.v_code_timing[i+1] << 14) | ((uint32_t)tv_dac->tv.v_code_timing[i]); in radeon_restore_tv_timing_tables()
406 if (tv_dac->tv.v_code_timing[i] == 0 || tv_dac->tv.v_code_timing[i + 1] == 0) in radeon_restore_tv_timing_tables()
416 WREG32(RADEON_TV_FRESTART, tv_dac->tv.frestart); in radeon_legacy_write_tv_restarts()
417 WREG32(RADEON_TV_HRESTART, tv_dac->tv.hrestart); in radeon_legacy_write_tv_restarts()
418 WREG32(RADEON_TV_VRESTART, tv_dac->tv.vrestart); in radeon_legacy_write_tv_restarts()
[all …]
Dradeon_cs.c167 p->relocs[i].tv.bo = &p->relocs[i].robj->tbo; in radeon_cs_parser_relocs()
168 p->relocs[i].tv.shared = !r->write_domain; in radeon_cs_parser_relocs()
170 radeon_cs_buckets_add(&buckets, &p->relocs[i].tv.head, in radeon_cs_parser_relocs()
238 list_for_each_entry(reloc, &p->validated, tv.head) { in radeon_cs_sync_rings()
243 reloc->tv.shared); in radeon_cs_sync_rings()
381 struct radeon_bo_list *la = list_entry(a, struct radeon_bo_list, tv.head); in cmp_size_smaller_first()
382 struct radeon_bo_list *lb = list_entry(b, struct radeon_bo_list, tv.head); in cmp_size_smaller_first()
Dradeon_vm.c144 list[0].tv.bo = &vm->page_directory->tbo; in radeon_vm_get_bos()
145 list[0].tv.shared = true; in radeon_vm_get_bos()
147 list_add(&list[0].tv.head, head); in radeon_vm_get_bos()
156 list[idx].tv.bo = &list[idx].robj->tbo; in radeon_vm_get_bos()
157 list[idx].tv.shared = true; in radeon_vm_get_bos()
159 list_add(&list[idx++].tv.head, head); in radeon_vm_get_bos()
Dradeon_gem.c542 struct ttm_validate_buffer tv, *entry; in radeon_gem_va_update_vm() local
551 tv.bo = &bo_va->bo->tbo; in radeon_gem_va_update_vm()
552 tv.shared = true; in radeon_gem_va_update_vm()
553 list_add(&tv.head, &list); in radeon_gem_va_update_vm()
Dradeon_drv.c228 MODULE_PARM_DESC(tv, "TV enable (0 = disable)");
229 module_param_named(tv, radeon_tv, int, 0444);
Dradeon_object.c536 list_for_each_entry(lobj, head, tv.head) { in radeon_bo_list_validate()
583 list_for_each_entry(lobj, &duplicates, tv.head) { in radeon_bo_list_validate()
Dradeon_mode.h410 struct radeon_tv_regs tv; member
Dradeon.h459 struct ttm_validate_buffer tv; member
/linux-4.4.14/drivers/gpu/drm/qxl/
Dqxl_release.c169 struct qxl_bo_list, tv.head); in qxl_release_free_list()
170 bo = to_qxl_bo(entry->tv.bo); in qxl_release_free_list()
172 list_del(&entry->tv.head); in qxl_release_free_list()
218 list_for_each_entry(entry, &release->bos, tv.head) { in qxl_release_list_add()
219 if (entry->tv.bo == &bo->tbo) in qxl_release_list_add()
228 entry->tv.bo = &bo->tbo; in qxl_release_list_add()
229 entry->tv.shared = false; in qxl_release_list_add()
230 list_add_tail(&entry->tv.head, &release->bos); in qxl_release_list_add()
272 list_for_each_entry(entry, &release->bos, tv.head) { in qxl_release_reserve_list()
273 struct qxl_bo *bo = to_qxl_bo(entry->tv.bo); in qxl_release_reserve_list()
[all …]
Dqxl_cmd.c182 struct qxl_bo_list *entry = list_first_entry(&release->bos, struct qxl_bo_list, tv.head); in qxl_push_command_ring_release()
185 cmd.data = qxl_bo_physical_address(qdev, to_qxl_bo(entry->tv.bo), release->release_offset); in qxl_push_command_ring_release()
195 struct qxl_bo_list *entry = list_first_entry(&release->bos, struct qxl_bo_list, tv.head); in qxl_push_cursor_ring_release()
198 cmd.data = qxl_bo_physical_address(qdev, to_qxl_bo(entry->tv.bo), release->release_offset); in qxl_push_cursor_ring_release()
Dqxl_drv.h130 struct ttm_validate_buffer tv; member
/linux-4.4.14/arch/cris/arch-v10/kernel/
Dfasttimer.c115 inline void do_gettimeofday_fast(struct fasttime_t *tv) in do_gettimeofday_fast() argument
117 tv->tv_jiff = jiffies; in do_gettimeofday_fast()
118 tv->tv_usec = GET_JIFFIES_USEC(); in do_gettimeofday_fast()
366 struct fasttime_t tv; in timer1_handler() local
371 do_gettimeofday_fast(&tv); in timer1_handler()
373 tv.tv_jiff, tv.tv_usec)); in timer1_handler()
375 if (fasttime_cmp(&t->tv_expires, &tv) <= 0) in timer1_handler()
426 struct fasttime_t tv; in timer1_handler() local
428 do_gettimeofday_fast(&tv); in timer1_handler()
431 if (time_after_eq(t->tv_expires.tv_jiff, tv.tv_jiff)) in timer1_handler()
[all …]
/linux-4.4.14/arch/x86/entry/vdso/
Dvclock_gettime.c26 extern int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz);
54 notrace static long vdso_fallback_gtod(struct timeval *tv, struct timezone *tz) in vdso_fallback_gtod() argument
59 "0" (__NR_gettimeofday), "D" (tv), "S" (tz) : "memory"); in vdso_fallback_gtod()
150 notrace static long vdso_fallback_gtod(struct timeval *tv, struct timezone *tz) in vdso_fallback_gtod() argument
160 : "0" (__NR_gettimeofday), "g" (tv), "c" (tz) in vdso_fallback_gtod()
308 notrace int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday() argument
310 if (likely(tv != NULL)) { in __vdso_gettimeofday()
311 if (unlikely(do_realtime((struct timespec *)tv) == VCLOCK_NONE)) in __vdso_gettimeofday()
312 return vdso_fallback_gtod(tv, tz); in __vdso_gettimeofday()
313 tv->tv_usec /= 1000; in __vdso_gettimeofday()
/linux-4.4.14/include/linux/
Dtime.h113 static inline bool timeval_valid(const struct timeval *tv) in timeval_valid() argument
116 if (tv->tv_sec < 0) in timeval_valid()
120 if (tv->tv_usec < 0 || tv->tv_usec >= USEC_PER_SEC) in timeval_valid()
203 static inline s64 timeval_to_ns(const struct timeval *tv) in timeval_to_ns() argument
205 return ((s64) tv->tv_sec * NSEC_PER_SEC) + in timeval_to_ns()
206 tv->tv_usec * NSEC_PER_USEC; in timeval_to_ns()
Dtimekeeping.h12 extern void do_gettimeofday(struct timeval *tv);
14 extern int do_sys_settimeofday(const struct timespec *tv,
41 extern int __getnstimeofday64(struct timespec64 *tv);
42 extern void getnstimeofday64(struct timespec64 *tv);
Dktime.h93 static inline ktime_t timeval_to_ktime(struct timeval tv) in timeval_to_ktime() argument
95 return ktime_set(tv.tv_sec, tv.tv_usec * NSEC_PER_USEC); in timeval_to_ktime()
Dpoll.h99 extern long select_estimate_accuracy(struct timespec *tv);
Dcompat.h420 asmlinkage long compat_sys_gettimeofday(struct compat_timeval __user *tv,
422 asmlinkage long compat_sys_settimeofday(struct compat_timeval __user *tv,
Dsyscalls.h212 asmlinkage long sys_gettimeofday(struct timeval __user *tv,
214 asmlinkage long sys_settimeofday(struct timeval __user *tv,
/linux-4.4.14/arch/cris/arch-v32/kernel/
Dfasttimer.c105 inline void do_gettimeofday_fast(struct fasttime_t *tv) in do_gettimeofday_fast() argument
107 tv->tv_jiff = jiffies; in do_gettimeofday_fast()
108 tv->tv_usec = GET_JIFFIES_USEC(); in do_gettimeofday_fast()
358 struct fasttime_t tv; in timer_trig_handler() local
361 do_gettimeofday_fast(&tv); in timer_trig_handler()
363 "t: %is %06ius\n", tv.tv_jiff, tv.tv_usec)); in timer_trig_handler()
365 if (fasttime_cmp(&t->tv_expires, &tv) <= 0) { in timer_trig_handler()
408 struct fasttime_t tv; in timer_trig_handler() local
410 do_gettimeofday_fast(&tv); in timer_trig_handler()
413 if (time_after_eq(t->tv_expires.tv_jiff, tv.tv_jiff)) in timer_trig_handler()
[all …]
/linux-4.4.14/drivers/input/misc/
Dhp_sdc_rtc.c436 struct timespec64 tv; in hp_sdc_rtc_proc_show() local
452 if (hp_sdc_rtc_read_rt(&tv)) { in hp_sdc_rtc_proc_show()
456 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show()
459 if (hp_sdc_rtc_read_fhs(&tv)) { in hp_sdc_rtc_proc_show()
463 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show()
466 if (hp_sdc_rtc_read_mt(&tv)) { in hp_sdc_rtc_proc_show()
470 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show()
473 if (hp_sdc_rtc_read_dt(&tv)) { in hp_sdc_rtc_proc_show()
477 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show()
480 if (hp_sdc_rtc_read_ct(&tv)) { in hp_sdc_rtc_proc_show()
[all …]
/linux-4.4.14/drivers/isdn/mISDN/
Dclock.c142 mISDN_clock_update(struct mISDNclock *iclock, int samples, struct timeval *tv) in mISDN_clock_update() argument
162 if (tv) { /* tv must be set, if function call is delayed */ in mISDN_clock_update()
163 iclock_tv.tv_sec = tv->tv_sec; in mISDN_clock_update()
164 iclock_tv.tv_usec = tv->tv_usec; in mISDN_clock_update()
169 if (tv) { /* tv must be set, if function call is delayed */ in mISDN_clock_update()
170 tv_now.tv_sec = tv->tv_sec; in mISDN_clock_update()
171 tv_now.tv_usec = tv->tv_usec; in mISDN_clock_update()
Dsocket.c106 struct timeval tv; in mISDN_sock_cmsg() local
109 skb_get_timestamp(skb, &tv); in mISDN_sock_cmsg()
110 put_cmsg(msg, SOL_MISDN, MISDN_TIME_STAMP, sizeof(tv), &tv); in mISDN_sock_cmsg()
/linux-4.4.14/tools/testing/selftests/timers/
Dleapcrash.c95 struct timeval tv; in main() local
99 tv.tv_sec = next_leap - 2; in main()
100 tv.tv_usec = 0; in main()
101 if (settimeofday(&tv, NULL)) { in main()
Dleap-a-day.c260 struct timeval tv; in main() local
262 tv.tv_sec = next_leap - 10; in main()
263 tv.tv_usec = 0; in main()
264 settimeofday(&tv, NULL); in main()
265 printf("Setting time to %s", ctime(&tv.tv_sec)); in main()
Drtctest.c91 struct timeval tv = {5, 0}; /* 5 second timeout on select */ in main() local
97 retval = select(fd+1, &readfds, NULL, NULL, &tv); in main()
/linux-4.4.14/arch/arm/vdso/
Dvgettimeofday.c233 register struct timeval *tv asm("r0") = _tv; in gettimeofday_fallback()
240 : "r" (tv), "r" (tz), "r" (nr) in gettimeofday_fallback()
246 notrace int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday() argument
256 return gettimeofday_fallback(tv, tz); in __vdso_gettimeofday()
258 if (tv) { in __vdso_gettimeofday()
259 tv->tv_sec = ts.tv_sec; in __vdso_gettimeofday()
260 tv->tv_usec = ts.tv_nsec / 1000; in __vdso_gettimeofday()
/linux-4.4.14/kernel/
Dcompat.c91 COMPAT_SYSCALL_DEFINE2(gettimeofday, struct compat_timeval __user *, tv, in COMPAT_SYSCALL_DEFINE2() argument
94 if (tv) { in COMPAT_SYSCALL_DEFINE2()
97 if (compat_put_timeval(&ktv, tv)) in COMPAT_SYSCALL_DEFINE2()
108 COMPAT_SYSCALL_DEFINE2(settimeofday, struct compat_timeval __user *, tv, in COMPAT_SYSCALL_DEFINE2() argument
115 if (tv) { in COMPAT_SYSCALL_DEFINE2()
116 if (compat_get_timeval(&user_tv, tv)) in COMPAT_SYSCALL_DEFINE2()
126 return do_sys_settimeofday(tv ? &new_ts : NULL, tz ? &new_tz : NULL); in COMPAT_SYSCALL_DEFINE2()
129 static int __compat_get_timeval(struct timeval *tv, const struct compat_timeval __user *ctv) in __compat_get_timeval() argument
132 __get_user(tv->tv_sec, &ctv->tv_sec) || in __compat_get_timeval()
133 __get_user(tv->tv_usec, &ctv->tv_usec)) ? -EFAULT : 0; in __compat_get_timeval()
[all …]
/linux-4.4.14/fs/
Dcompat_binfmt_elf.c61 struct timeval tv; in cputime_to_compat_timeval() local
62 cputime_to_timeval(cputime, &tv); in cputime_to_compat_timeval()
63 value->tv_sec = tv.tv_sec; in cputime_to_compat_timeval()
64 value->tv_usec = tv.tv_usec; in cputime_to_compat_timeval()
Dutimes.c29 struct timespec tv[2]; in SYSCALL_DEFINE2() local
32 if (get_user(tv[0].tv_sec, &times->actime) || in SYSCALL_DEFINE2()
33 get_user(tv[1].tv_sec, &times->modtime)) in SYSCALL_DEFINE2()
35 tv[0].tv_nsec = 0; in SYSCALL_DEFINE2()
36 tv[1].tv_nsec = 0; in SYSCALL_DEFINE2()
38 return do_utimes(AT_FDCWD, filename, times ? tv : NULL, 0); in SYSCALL_DEFINE2()
Dcompat.c78 struct timespec tv[2]; in COMPAT_SYSCALL_DEFINE2() local
81 if (get_user(tv[0].tv_sec, &t->actime) || in COMPAT_SYSCALL_DEFINE2()
82 get_user(tv[1].tv_sec, &t->modtime)) in COMPAT_SYSCALL_DEFINE2()
84 tv[0].tv_nsec = 0; in COMPAT_SYSCALL_DEFINE2()
85 tv[1].tv_nsec = 0; in COMPAT_SYSCALL_DEFINE2()
87 return do_utimes(AT_FDCWD, filename, t ? tv : NULL, 0); in COMPAT_SYSCALL_DEFINE2()
92 struct timespec tv[2]; in COMPAT_SYSCALL_DEFINE4() local
95 if (compat_get_timespec(&tv[0], &t[0]) || in COMPAT_SYSCALL_DEFINE4()
96 compat_get_timespec(&tv[1], &t[1])) in COMPAT_SYSCALL_DEFINE4()
99 if (tv[0].tv_nsec == UTIME_OMIT && tv[1].tv_nsec == UTIME_OMIT) in COMPAT_SYSCALL_DEFINE4()
[all …]
Dselect.c50 static long __estimate_accuracy(struct timespec *tv) in __estimate_accuracy() argument
55 if (tv->tv_sec < 0) in __estimate_accuracy()
61 if (tv->tv_sec > MAX_SLACK / (NSEC_PER_SEC/divfactor)) in __estimate_accuracy()
64 slack = tv->tv_nsec / divfactor; in __estimate_accuracy()
65 slack += tv->tv_sec * (NSEC_PER_SEC/divfactor); in __estimate_accuracy()
73 long select_estimate_accuracy(struct timespec *tv) in select_estimate_accuracy() argument
86 now = timespec_sub(*tv, now); in select_estimate_accuracy()
626 struct timeval tv; in SYSCALL_DEFINE5() local
630 if (copy_from_user(&tv, tvp, sizeof(tv))) in SYSCALL_DEFINE5()
635 tv.tv_sec + (tv.tv_usec / USEC_PER_SEC), in SYSCALL_DEFINE5()
[all …]
Dcoredump.c238 struct timeval tv; in format_corename() local
239 do_gettimeofday(&tv); in format_corename()
240 err = cn_printf(cn, "%lu", tv.tv_sec); in format_corename()
/linux-4.4.14/drivers/staging/media/lirc/
Dlirc_parallel.c147 struct timeval tv, now; in init_lirc_timer() local
151 do_gettimeofday(&tv); in init_lirc_timer()
152 tv.tv_sec++; /* wait max. 1 sec. */ in init_lirc_timer()
160 } while (count < 1000 && (now.tv_sec < tv.tv_sec in init_lirc_timer()
161 || (now.tv_sec == tv.tv_sec in init_lirc_timer()
162 && now.tv_usec < tv.tv_usec))); in init_lirc_timer()
164 timeelapsed = (now.tv_sec + 1 - tv.tv_sec)*1000000 in init_lirc_timer()
165 + (now.tv_usec - tv.tv_usec); in init_lirc_timer()
223 struct timeval tv; in lirc_lirc_irq_handler() local
247 do_gettimeofday(&tv); in lirc_lirc_irq_handler()
[all …]
Dlirc_serial.c545 struct timeval tv; in lirc_irq_handler() local
568 do_gettimeofday(&tv); in lirc_irq_handler()
599 tv.tv_sec, lasttv.tv_sec, in lirc_irq_handler()
600 (unsigned long)tv.tv_usec, in lirc_irq_handler()
605 deltv = tv.tv_sec-lasttv.tv_sec; in lirc_irq_handler()
606 if (tv.tv_sec < lasttv.tv_sec || in lirc_irq_handler()
607 (tv.tv_sec == lasttv.tv_sec && in lirc_irq_handler()
608 tv.tv_usec < lasttv.tv_usec)) { in lirc_irq_handler()
612 tv.tv_sec, lasttv.tv_sec, in lirc_irq_handler()
613 (unsigned long)tv.tv_usec, in lirc_irq_handler()
[all …]
Dlirc_sasem.c570 struct timeval tv; in incoming_packet() local
587 do_gettimeofday(&tv); in incoming_packet()
588 ms = (tv.tv_sec - context->presstime.tv_sec) * 1000 + in incoming_packet()
589 (tv.tv_usec - context->presstime.tv_usec) / 1000; in incoming_packet()
605 context->presstime.tv_sec = tv.tv_sec; in incoming_packet()
606 context->presstime.tv_usec = tv.tv_usec; in incoming_packet()
616 context->presstime.tv_sec = tv.tv_sec; in incoming_packet()
617 context->presstime.tv_usec = tv.tv_usec; in incoming_packet()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dlib-socket.c258 struct timeval tv; in lnet_sock_write() local
275 tv = (struct timeval) { in lnet_sock_write()
280 (char *)&tv, sizeof(tv)); in lnet_sock_write()
283 (long)tv.tv_sec, (int)tv.tv_usec, rc); in lnet_sock_write()
319 struct timeval tv; in lnet_sock_read() local
334 tv = (struct timeval) { in lnet_sock_read()
339 (char *)&tv, sizeof(tv)); in lnet_sock_read()
342 (long)tv.tv_sec, (int)tv.tv_usec, rc); in lnet_sock_read()
/linux-4.4.14/arch/tile/kernel/vdso/
Dvgettimeofday.c130 struct syscall_return_value __vdso_gettimeofday(struct timeval *tv, in __vdso_gettimeofday() argument
146 if (unlikely(tv == NULL)) in __vdso_gettimeofday()
149 do_realtime(vdso, (struct timespec *)tv); in __vdso_gettimeofday()
150 tv->tv_usec /= 1000; in __vdso_gettimeofday()
155 int gettimeofday(struct timeval *tv, struct timezone *tz)
/linux-4.4.14/drivers/media/usb/au0828/
Dau0828-cards.c158 struct tveeprom tv; in hauppauge_eeprom() local
160 tveeprom_hauppauge_analog(&dev->i2c_client, &tv, eeprom_data); in hauppauge_eeprom()
161 dev->board.tuner_type = tv.tuner_type; in hauppauge_eeprom()
164 switch (tv.model) { in hauppauge_eeprom()
182 __func__, tv.model); in hauppauge_eeprom()
187 __func__, tv.model); in hauppauge_eeprom()
DKconfig13 This is a hybrid analog/digital tv capture driver for
/linux-4.4.14/include/linux/raid/
Dpq.h171 struct timeval tv; in raid6_jiffies() local
172 gettimeofday(&tv, NULL); in raid6_jiffies()
173 return tv.tv_sec*1000 + tv.tv_usec/1000; in raid6_jiffies()
/linux-4.4.14/include/linux/ceph/
Ddecode.h138 const struct ceph_timespec *tv) in ceph_decode_timespec() argument
140 ts->tv_sec = (__kernel_time_t)le32_to_cpu(tv->tv_sec); in ceph_decode_timespec()
141 ts->tv_nsec = (long)le32_to_cpu(tv->tv_nsec); in ceph_decode_timespec()
143 static inline void ceph_encode_timespec(struct ceph_timespec *tv, in ceph_encode_timespec() argument
146 tv->tv_sec = cpu_to_le32((u32)ts->tv_sec); in ceph_encode_timespec()
147 tv->tv_nsec = cpu_to_le32((u32)ts->tv_nsec); in ceph_encode_timespec()
/linux-4.4.14/drivers/media/pci/ivtv/
Divtv-driver.c405 void ivtv_read_eeprom(struct ivtv *itv, struct tveeprom *tv) in ivtv_read_eeprom() argument
411 tveeprom_hauppauge_analog(&itv->i2c_client, tv, eedata); in ivtv_read_eeprom()
416 struct tveeprom tv; in ivtv_process_eeprom() local
419 ivtv_read_eeprom(itv, &tv); in ivtv_process_eeprom()
423 switch (tv.model) { in ivtv_process_eeprom()
446 IVTV_ERR("Unknown model %d, defaulting to PVR-150\n", tv.model); in ivtv_process_eeprom()
451 switch (tv.model) { in ivtv_process_eeprom()
480 if (tv.model / 1000 == 23) { in ivtv_process_eeprom()
484 .tv = { 0x61, I2C_CLIENT_END }, in ivtv_process_eeprom()
496 tv.has_radio = 0; in ivtv_process_eeprom()
[all …]
Divtv-cards.h264 unsigned short tv[4]; /* tv tuner i2c addresses to probe */ member
Divtv-cards.c49 .tv = { 0x61, 0x60, I2C_CLIENT_END },
56 .tv = { 0x61, I2C_CLIENT_END },
63 .tv = { 0x4b, I2C_CLIENT_END },
Divtv-i2c.c282 itv->card_i2c->tv); in ivtv_i2c_register()
Divtv-driver.h789 void ivtv_read_eeprom(struct ivtv *itv, struct tveeprom *tv);
Divtv-ioctl.c1525 struct tveeprom tv; in ivtv_log_status() local
1527 ivtv_read_eeprom(itv, &tv); in ivtv_log_status()
/linux-4.4.14/arch/mips/vdso/
Dgettimeofday.c182 int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday() argument
192 if (tv) { in __vdso_gettimeofday()
193 tv->tv_sec = ts.tv_sec; in __vdso_gettimeofday()
194 tv->tv_usec = ts.tv_nsec / 1000; in __vdso_gettimeofday()
/linux-4.4.14/Documentation/devicetree/bindings/display/connector/
Danalog-tv-connector.txt16 tv: connector {
18 label = "tv";
/linux-4.4.14/drivers/net/can/usb/peak_usb/
Dpcan_usb_core.c79 static void peak_usb_add_us(struct timeval *tv, u32 delta_us) in peak_usb_add_us() argument
86 tv->tv_usec += delta_us; in peak_usb_add_us()
87 if (tv->tv_usec >= 1000000) { in peak_usb_add_us()
88 tv->tv_usec -= 1000000; in peak_usb_add_us()
91 tv->tv_sec += delta_s; in peak_usb_add_us()
148 struct timeval *tv) in peak_usb_get_ts_tv() argument
163 *tv = time_ref->tv_host_0; in peak_usb_get_ts_tv()
164 peak_usb_add_us(tv, (u32)delta_us); in peak_usb_get_ts_tv()
166 *tv = ktime_to_timeval(ktime_get()); in peak_usb_get_ts_tv()
177 struct timeval tv; in peak_usb_netif_rx() local
[all …]
Dpcan_usb.c408 struct timeval tv; in pcan_usb_decode_error() local
525 peak_usb_get_ts_tv(&mc->pdev->time_ref, mc->ts16, &tv); in pcan_usb_decode_error()
526 hwts->hwtstamp = timeval_to_ktime(tv); in pcan_usb_decode_error()
610 struct timeval tv; in pcan_usb_decode_data() local
658 peak_usb_get_ts_tv(&mc->pdev->time_ref, mc->ts16, &tv); in pcan_usb_decode_data()
660 hwts->hwtstamp = timeval_to_ktime(tv); in pcan_usb_decode_data()
Dpcan_usb_pro.c534 struct timeval tv; in pcan_usb_pro_handle_canmsg() local
552 peak_usb_get_ts_tv(&usb_if->time_ref, le32_to_cpu(rx->ts32), &tv); in pcan_usb_pro_handle_canmsg()
554 hwts->hwtstamp = timeval_to_ktime(tv); in pcan_usb_pro_handle_canmsg()
574 struct timeval tv; in pcan_usb_pro_handle_error() local
670 peak_usb_get_ts_tv(&usb_if->time_ref, le32_to_cpu(er->ts32), &tv); in pcan_usb_pro_handle_error()
672 hwts->hwtstamp = timeval_to_ktime(tv); in pcan_usb_pro_handle_error()
Dpcan_usb_core.h151 struct timeval *tv);
/linux-4.4.14/drivers/input/serio/
Dhil_mlc.c277 struct timeval tv; in hilse_init_lcv() local
279 do_gettimeofday(&tv); in hilse_init_lcv()
281 if (mlc->lcv && (tv.tv_sec - mlc->lcv_tv.tv_sec) < 5) in hilse_init_lcv()
284 mlc->lcv_tv = tv; in hilse_init_lcv()
734 struct timeval tv; in hilse_donode() local
739 do_gettimeofday(&tv); in hilse_donode()
740 tv.tv_usec += USEC_PER_SEC * (tv.tv_sec - mlc->instart.tv_sec); in hilse_donode()
741 tv.tv_usec -= mlc->instart.tv_usec; in hilse_donode()
742 if (tv.tv_usec >= mlc->intimeout) goto sched; in hilse_donode()
743 tv.tv_usec = (mlc->intimeout - tv.tv_usec) * HZ / USEC_PER_SEC; in hilse_donode()
[all …]
Dhp_sdc_mlc.c152 struct timeval tv; in hp_sdc_mlc_in() local
163 do_gettimeofday(&tv); in hp_sdc_mlc_in()
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()
Dhp_sdc.c309 struct timeval tv; in hp_sdc_tasklet() local
311 do_gettimeofday(&tv); in hp_sdc_tasklet()
312 if (tv.tv_sec > hp_sdc.rtv.tv_sec) in hp_sdc_tasklet()
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()
/linux-4.4.14/drivers/media/pci/cx18/
Dcx18-driver.c325 void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv) in cx18_read_eeprom() argument
330 memset(tv, 0, sizeof(*tv)); in cx18_read_eeprom()
347 tveeprom_hauppauge_analog(c, tv, eedata); in cx18_read_eeprom()
351 tv->model = 0x718; in cx18_read_eeprom()
357 tv->model = 0xffffffff; in cx18_read_eeprom()
368 struct tveeprom tv; in cx18_process_eeprom() local
370 cx18_read_eeprom(cx, &tv); in cx18_process_eeprom()
377 switch (tv.model) { in cx18_process_eeprom()
409 "(cardtype=1)\n", tv.model); in cx18_process_eeprom()
420 if (tv.tuner_type == TUNER_ABSENT) in cx18_process_eeprom()
[all …]
Dcx18-cards.h114 unsigned short tv[4]; /* tv tuner i2c addresses to probe */ member
Dcx18-cards.c39 .tv = { 0x61, 0x60, I2C_CLIENT_END },
49 .tv = { 0x61, 0x60, I2C_CLIENT_END },
Dcx18-i2c.c130 adap, type, 0, cx->card_i2c->tv); in cx18_i2c_register()
Dcx18-driver.h696 void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv);
Dcx18-ioctl.c1028 struct tveeprom tv; in cx18_log_status() local
1030 cx18_read_eeprom(cx, &tv); in cx18_log_status()
/linux-4.4.14/arch/um/os-Linux/
Dtime.c21 static inline long long timeval_to_ns(const struct timeval *tv) in timeval_to_ns() argument
23 return ((long long) tv->tv_sec * UM_NSEC_PER_SEC) + in timeval_to_ns()
24 tv->tv_usec * UM_NSEC_PER_USEC; in timeval_to_ns()
/linux-4.4.14/arch/x86/um/vdso/
Dum_vdso.c31 int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) in __vdso_gettimeofday() argument
36 "0" (__NR_gettimeofday), "D" (tv), "S" (tz) : "memory"); in __vdso_gettimeofday()
/linux-4.4.14/arch/sh/boards/mach-sh03/
Drtc.c80 void sh03_rtc_gettimeofday(struct timespec *tv) in sh03_rtc_gettimeofday() argument
83 tv->tv_sec = get_cmos_time(); in sh03_rtc_gettimeofday()
84 tv->tv_nsec = 0; in sh03_rtc_gettimeofday()
/linux-4.4.14/drivers/scsi/bfa/
Dbfa_port.c98 struct timeval tv; in bfa_port_get_stats_isr() local
104 do_gettimeofday(&tv); in bfa_port_get_stats_isr()
105 port->stats->fc.secs_reset = tv.tv_sec - port->stats_reset_time; in bfa_port_get_stats_isr()
126 struct timeval tv; in bfa_port_clear_stats_isr() local
134 do_gettimeofday(&tv); in bfa_port_clear_stats_isr()
135 port->stats_reset_time = tv.tv_sec; in bfa_port_clear_stats_isr()
473 struct timeval tv; in bfa_port_attach() local
496 do_gettimeofday(&tv); in bfa_port_attach()
497 port->stats_reset_time = tv.tv_sec; in bfa_port_attach()
Dbfa_cs.h37 struct timeval tv; \
39 do_gettimeofday(&tv); \
40 (tv.tv_sec*1000000+tv.tv_usec); \
Dbfa_plog.h39 u64 tv; /* timestamp */ member
Dbfa_svc.c310 struct timeval tv; in bfa_get_log_time() local
311 do_gettimeofday(&tv); in bfa_get_log_time()
314 system_time = tv.tv_sec; in bfa_get_log_time()
338 pl_recp->tv = bfa_get_log_time(); in bfa_plog_add()
3095 struct timeval tv; in bfa_fcport_attach() local
3108 do_gettimeofday(&tv); in bfa_fcport_attach()
3109 fcport->stats_reset_time = tv.tv_sec; in bfa_fcport_attach()
3361 struct timeval tv; in __bfa_cb_fcport_stats_get() local
3363 do_gettimeofday(&tv); in __bfa_cb_fcport_stats_get()
3378 tv.tv_sec - fcport->stats_reset_time; in __bfa_cb_fcport_stats_get()
[all …]
Dbfad_bsg.c2096 struct timeval tv; in bfad_iocmd_fcpim_cfg_profile() local
2099 do_gettimeofday(&tv); in bfad_iocmd_fcpim_cfg_profile()
2102 iocmd->status = bfa_fcpim_profile_on(&bfad->bfa, tv.tv_sec); in bfad_iocmd_fcpim_cfg_profile()
Dbfa_ioc.c1811 struct timeval tv; in bfa_ioc_send_enable() local
1816 do_gettimeofday(&tv); in bfa_ioc_send_enable()
1817 enable_req.tv_sec = be32_to_cpu(tv.tv_sec); in bfa_ioc_send_enable()
/linux-4.4.14/drivers/s390/block/
Ddasd_eer.c298 struct timeval tv; in dasd_eer_write_standard_trigger() local
312 do_gettimeofday(&tv); in dasd_eer_write_standard_trigger()
313 header.tv_sec = tv.tv_sec; in dasd_eer_write_standard_trigger()
314 header.tv_usec = tv.tv_usec; in dasd_eer_write_standard_trigger()
342 struct timeval tv; in dasd_eer_write_snss_trigger() local
355 do_gettimeofday(&tv); in dasd_eer_write_snss_trigger()
356 header.tv_sec = tv.tv_sec; in dasd_eer_write_snss_trigger()
357 header.tv_usec = tv.tv_usec; in dasd_eer_write_snss_trigger()
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbttv-input.c197 ktime_t tv; in bttv_rc5_timer_end() local
202 tv = ktime_get(); in bttv_rc5_timer_end()
204 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_timer_end()
249 ktime_t tv; in bttv_rc5_irq() local
259 tv = ktime_get(); in bttv_rc5_irq()
261 gap = ktime_to_us(ktime_sub(tv, ir->base_time)); in bttv_rc5_irq()
287 ir->base_time = tv; in bttv_rc5_irq()
Dbttv-cards.c3721 struct tveeprom tv; in hauppauge_eeprom() local
3723 tveeprom_hauppauge_analog(&btv->i2c_client, &tv, eeprom_data); in hauppauge_eeprom()
3724 btv->tuner_type = tv.tuner_type; in hauppauge_eeprom()
3725 btv->has_radio = tv.has_radio; in hauppauge_eeprom()
3728 btv->c.nr, tv.model); in hauppauge_eeprom()
3734 if(tv.model == 64900) { in hauppauge_eeprom()
3743 if (tv.model == 61334) in hauppauge_eeprom()
/linux-4.4.14/Documentation/video4linux/
Dcafe_ccic13 mplayer tv:// -tv driver=v4l2:width=640:height=480 -nosound
14 mplayer tv:// -tv driver=v4l2:width=640:height=480:outfmt=bgr16 -nosound
DZoran142 tv broadcast formats all aver the world.
/linux-4.4.14/drivers/media/v4l2-core/
Dtuner-core.c555 struct tuner **radio, struct tuner **tv) in tuner_lookup() argument
560 *tv = NULL; in tuner_lookup()
575 else if (*tv == NULL && pos->type != TUNER_TDA9887 && in tuner_lookup()
577 *tv = pos; in tuner_lookup()
601 struct tuner *tv; in tuner_probe() local
639 tuner_lookup(t->i2c->adapter, &radio, &tv); in tuner_probe()
640 if (tv) in tuner_probe()
641 tv->mode_mask &= ~T_RADIO; in tuner_probe()
670 tuner_lookup(t->i2c->adapter, &radio, &tv); in tuner_probe()
671 if (tv) in tuner_probe()
[all …]
Dv4l2-common.c399 void v4l2_get_timestamp(struct timeval *tv) in v4l2_get_timestamp() argument
404 tv->tv_sec = ts.tv_sec; in v4l2_get_timestamp()
405 tv->tv_usec = ts.tv_nsec / NSEC_PER_USEC; in v4l2_get_timestamp()
/linux-4.4.14/fs/adfs/
Dinode.c170 adfs_adfs2unix_time(struct timespec *tv, struct inode *inode) in adfs_adfs2unix_time() argument
198 *tv = ns_to_timespec(nsec); in adfs_adfs2unix_time()
202 *tv = CURRENT_TIME; in adfs_adfs2unix_time()
206 tv->tv_sec = tv->tv_nsec = 0; in adfs_adfs2unix_time()
/linux-4.4.14/net/ipv4/
Dip_options.c61 struct timespec tv; in ip_options_build() local
63 getnstimeofday(&tv); in ip_options_build()
64 midtime = htonl((tv.tv_sec % 86400) * MSEC_PER_SEC + tv.tv_nsec / NSEC_PER_MSEC); in ip_options_build()
418 struct timespec tv; in ip_options_compile() local
420 getnstimeofday(&tv); in ip_options_compile()
421 midtime = (tv.tv_sec % 86400) * MSEC_PER_SEC + tv.tv_nsec / NSEC_PER_MSEC; in ip_options_compile()
Dtcp_probe.c190 struct timespec tv in tcpprobe_sprint() local
195 (unsigned long)tv.tv_sec, in tcpprobe_sprint()
196 (unsigned long)tv.tv_nsec, in tcpprobe_sprint()
Dicmp.c934 struct timespec tv; in icmp_timestamp() local
945 getnstimeofday(&tv); in icmp_timestamp()
946 icmp_param.data.times[1] = htonl((tv.tv_sec % 86400) * MSEC_PER_SEC + in icmp_timestamp()
947 tv.tv_nsec / NSEC_PER_MSEC); in icmp_timestamp()
Digmp.c218 int tv = prandom_u32() % max_delay; in igmp_start_timer() local
221 if (!mod_timer(&im->timer, jiffies+tv+2)) in igmp_start_timer()
227 int tv = prandom_u32() % in_dev->mr_maxdelay; in igmp_gq_start_timer() local
230 if (!mod_timer(&in_dev->mr_gq_timer, jiffies+tv+2)) in igmp_gq_start_timer()
236 int tv = prandom_u32() % delay; in igmp_ifc_start_timer() local
238 if (!mod_timer(&in_dev->mr_ifc_timer, jiffies+tv+2)) in igmp_ifc_start_timer()
/linux-4.4.14/arch/xtensa/platforms/iss/include/platform/
Dsimcall.h106 struct timeval tv = { .tv_sec = 0, .tv_usec = 0 }; in simc_poll() local
108 return __simc(SYS_select_one, fd, XTISS_SELECT_ONE_READ, (int)&tv); in simc_poll()
/linux-4.4.14/arch/um/drivers/
Ddaemon_user.c128 struct timeval tv; in daemon_user_init() local
140 gettimeofday(&tv, NULL); in daemon_user_init()
141 name.usecs = tv.tv_usec; in daemon_user_init()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_gem.c450 struct ttm_validate_buffer tv, *entry; in amdgpu_gem_va_update_vm() local
460 tv.bo = &bo_va->bo->tbo; in amdgpu_gem_va_update_vm()
461 tv.shared = true; in amdgpu_gem_va_update_vm()
462 list_add(&tv.head, &list); in amdgpu_gem_va_update_vm()
520 struct ttm_validate_buffer tv, tv_pd; in amdgpu_gem_va_ioctl() local
561 tv.bo = &rbo->tbo; in amdgpu_gem_va_ioctl()
562 tv.shared = true; in amdgpu_gem_va_ioctl()
563 list_add(&tv.head, &list); in amdgpu_gem_va_ioctl()
Damdgpu_cs.c154 p->uf_entry.tv.bo = &p->uf_entry.robj->tbo; in amdgpu_cs_user_fence_chunk()
155 p->uf_entry.tv.shared = true; in amdgpu_cs_user_fence_chunk()
349 list_for_each_entry(lobj, validated, tv.head) { in amdgpu_cs_list_validate()
403 amdgpu_cs_buckets_add(&buckets, &p->bo_list->array[i].tv.head, in amdgpu_cs_parser_relocs()
413 list_add(&p->uf_entry.tv.head, &p->validated); in amdgpu_cs_parser_relocs()
445 list_for_each_entry(e, &p->validated, tv.head) { in amdgpu_cs_sync_rings()
458 struct amdgpu_bo_list_entry *la = list_entry(a, struct amdgpu_bo_list_entry, tv.head); in cmp_size_smaller_first()
459 struct amdgpu_bo_list_entry *lb = list_entry(b, struct amdgpu_bo_list_entry, tv.head); in cmp_size_smaller_first()
983 list_for_each_entry(reloc, &parser->validated, tv.head) { in amdgpu_cs_find_mapping()
Damdgpu_bo_list.c119 entry->tv.bo = &entry->robj->tbo; in amdgpu_bo_list_set()
120 entry->tv.shared = true; in amdgpu_bo_list_set()
Damdgpu_uvd.c843 struct ttm_validate_buffer tv; in amdgpu_uvd_send_msg() local
852 memset(&tv, 0, sizeof(tv)); in amdgpu_uvd_send_msg()
853 tv.bo = &bo->tbo; in amdgpu_uvd_send_msg()
856 list_add(&tv.head, &head); in amdgpu_uvd_send_msg()
Damdgpu_vm.c104 list[0].tv.bo = &vm->page_directory->tbo; in amdgpu_vm_get_bos()
105 list[0].tv.shared = true; in amdgpu_vm_get_bos()
106 list_add(&list[0].tv.head, head); in amdgpu_vm_get_bos()
116 list[idx].tv.bo = &list[idx].robj->tbo; in amdgpu_vm_get_bos()
117 list[idx].tv.shared = true; in amdgpu_vm_get_bos()
118 list_add(&list[idx++].tv.head, head); in amdgpu_vm_get_bos()
Damdgpu.h483 struct ttm_validate_buffer tv; member
/linux-4.4.14/arch/alpha/kernel/
Dosf_sys.c997 SYSCALL_DEFINE2(osf_gettimeofday, struct timeval32 __user *, tv, in SYSCALL_DEFINE2() argument
1000 if (tv) { in SYSCALL_DEFINE2()
1003 if (put_tv32(tv, &ktv)) in SYSCALL_DEFINE2()
1013 SYSCALL_DEFINE2(osf_settimeofday, struct timeval32 __user *, tv, in SYSCALL_DEFINE2() argument
1019 if (tv) { in SYSCALL_DEFINE2()
1020 if (get_tv32((struct timeval *)&kts, tv)) in SYSCALL_DEFINE2()
1029 return do_sys_settimeofday(tv ? &kts : NULL, tz ? &ktz : NULL); in SYSCALL_DEFINE2()
1070 struct timespec tv[2]; in SYSCALL_DEFINE2() local
1082 tv[0].tv_sec = ktvs[0].tv_sec; in SYSCALL_DEFINE2()
1083 tv[0].tv_nsec = 1000 * ktvs[0].tv_usec; in SYSCALL_DEFINE2()
[all …]
/linux-4.4.14/scripts/
Dget_maintainer.pl939 my $tv = $typevalue[$index];
940 if (($tv =~ m/^([A-Z]):\s*(.*)/)) {
953 my $tv = $typevalue[$index];
954 if (!($tv =~ m/^([A-Z]):\s*(.*)/)) {
967 my $tv = $typevalue[$index];
968 if (!($tv =~ m/^([A-Z]):\s*(.*)/)) {
1002 my $tv = $typevalue[$i];
1003 if ($tv =~ m/^([A-Z]):\s*(.*)/) {
1052 my $tv = $typevalue[$i];
1053 if ($tv =~ m/^([A-Z]):\s*(.*)/) {
[all …]
/linux-4.4.14/net/atm/
Dmpoa_caches.h17 struct timeval tv; member
54 struct timeval tv; member
Dmpoa_caches.c119 do_gettimeofday(&(entry->tv)); in in_cache_add_entry()
238 if ((now.tv_sec - entry->tv.tv_sec) in clear_count_and_expired()
482 do_gettimeofday(&(entry->tv)); in eg_cache_add_entry()
497 do_gettimeofday(&(entry->tv)); in update_eg_cache_entry()
514 if ((now.tv_sec - entry->tv.tv_sec) in clear_expired()
Dmpoa_proc.c158 (now.tv_sec-in_entry->tv.tv_sec), in mpc_show()
177 (now.tv_sec-eg_entry->tv.tv_sec)), in mpc_show()
Dmpc.c1179 do_gettimeofday(&(entry->tv)); in MPOA_res_reply_rcvd()
/linux-4.4.14/tools/perf/
Dbuiltin-buildid-cache.c41 struct timeval tv; in build_id_cache__kcore_dir() local
45 if (gettimeofday(&tv, NULL) || !localtime_r(&tv.tv_sec, &tm)) in build_id_cache__kcore_dir()
51 scnprintf(dir, sz, "%s%02u", dt, (unsigned)tv.tv_usec / 10000); in build_id_cache__kcore_dir()
Dbuiltin-kvm.c562 struct timeval tv; in show_timeofday() local
565 gettimeofday(&tv, NULL); in show_timeofday()
566 if (localtime_r(&tv.tv_sec, &ltime)) { in show_timeofday()
568 pr_info("%s.%06ld", date, tv.tv_usec); in show_timeofday()
/linux-4.4.14/net/
Dcompat.c217 struct timeval *tv = (struct timeval *)data; in put_cmsg_compat() local
218 ctv.tv_sec = tv->tv_sec; in put_cmsg_compat()
219 ctv.tv_usec = tv->tv_usec; in put_cmsg_compat()
434 struct timeval tv; in compat_sock_get_timestamp() local
443 tv = ktime_to_timeval(sk->sk_stamp); in compat_sock_get_timestamp()
444 if (tv.tv_sec == -1) in compat_sock_get_timestamp()
446 if (tv.tv_sec == 0) { in compat_sock_get_timestamp()
448 tv = ktime_to_timeval(sk->sk_stamp); in compat_sock_get_timestamp()
451 if (put_user(tv.tv_sec, &ctv->tv_sec) || in compat_sock_get_timestamp()
452 put_user(tv.tv_usec, &ctv->tv_usec)) in compat_sock_get_timestamp()
Dsocket.c652 struct timeval tv; in __sock_recv_timestamp() local
653 skb_get_timestamp(skb, &tv); in __sock_recv_timestamp()
655 sizeof(tv), &tv); in __sock_recv_timestamp()
/linux-4.4.14/Documentation/misc-devices/mei/
Dmei-amt-version.c175 struct timeval tv; in mei_send_msg() local
180 tv.tv_sec = timeout / 1000; in mei_send_msg()
181 tv.tv_usec = (timeout % 1000) * 1000000; in mei_send_msg()
195 rc = select(me->fd + 1 , &set, NULL, NULL, &tv); in mei_send_msg()
/linux-4.4.14/drivers/media/rc/keymaps/
DMakefile7 rc-ati-tv-wonder-hd-600.o \
52 rc-kworld-plus-tv-analog.o \
104 rc-videomate-tv-pvr.o \
/linux-4.4.14/drivers/firewire/
Dnosy.c418 struct timeval tv; in packet_irq_handler() local
425 do_gettimeofday(&tv); in packet_irq_handler()
426 lynx->rcv_buffer[0] = (__force __le32)tv.tv_usec; in packet_irq_handler()
447 struct timeval tv; in bus_reset_irq_handler() local
449 do_gettimeofday(&tv); in bus_reset_irq_handler()
454 packet_buffer_put(&client->buffer, &tv.tv_usec, 4); in bus_reset_irq_handler()
/linux-4.4.14/net/vmw_vsock/
Daf_vsock.c1408 struct timeval tv; in vsock_stream_setsockopt() local
1409 COPY_IN(tv); in vsock_stream_setsockopt()
1410 if (tv.tv_sec >= 0 && tv.tv_usec < USEC_PER_SEC && in vsock_stream_setsockopt()
1411 tv.tv_sec < (MAX_SCHEDULE_TIMEOUT / HZ - 1)) { in vsock_stream_setsockopt()
1412 vsk->connect_timeout = tv.tv_sec * HZ + in vsock_stream_setsockopt()
1413 DIV_ROUND_UP(tv.tv_usec, (1000000 / HZ)); in vsock_stream_setsockopt()
1486 struct timeval tv; in vsock_stream_getsockopt() local
1487 tv.tv_sec = vsk->connect_timeout / HZ; in vsock_stream_getsockopt()
1488 tv.tv_usec = in vsock_stream_getsockopt()
1490 tv.tv_sec * HZ) * (1000000 / HZ); in vsock_stream_getsockopt()
[all …]
/linux-4.4.14/arch/arm/boot/dts/
Dsun5i-a10s-r7-tv-dongle.dts51 model = "R7 A10s hdmi tv-stick";
52 compatible = "allwinner,r7-tv-dongle", "allwinner,sun5i-a10s";
68 label = "r7-tv-dongle:green:usr";
Dsun5i-a10s-auxtek-t003.dts50 model = "Auxtek t003 A10s hdmi tv-stick";
67 label = "t003-tv-dongle:red:usr";
Dsun5i-a10s-auxtek-t004.dts50 model = "Auxtek t004 A10s hdmi tv-stick";
67 label = "t004-tv-dongle:red:usr";
Domap3-pandora-common.dtsi30 tv: connector@1 { label
31 compatible = "connector-analog-tv";
32 label = "tv";
Domap3-cm-t3x.dtsi62 label = "tv";
Domap3-beagle-xm.dts139 label = "tv";
Domap3-devkit8000-common.dtsi114 label = "tv";
Domap3-beagle.dts134 label = "tv";
Domap3-gta04.dtsi110 label = "tv";
Domap3-n900.dts116 tv: connector { label
118 label = "tv";
Dexynos4415.dtsi137 pd_tv: tv-power-domain@10024020 {
Dexynos4.dtsi103 pd_tv: tv-power-domain@10023C20 {
DMakefile613 sun5i-a10s-r7-tv-dongle.dtb \
/linux-4.4.14/Documentation/networking/timestamping/
Dtimestamping.c160 struct timeval tv; in printpacket() local
261 if (ioctl(sock, SIOCGSTAMP, &tv)) in printpacket()
265 (long)tv.tv_sec, in printpacket()
266 (long)tv.tv_usec); in printpacket()
Dtxtimestamp.c109 struct timeval tv; /* avoid dependency on -lrt */ in print_timestamp_usr() local
111 gettimeofday(&tv, NULL); in print_timestamp_usr()
112 ts.tv_sec = tv.tv_sec; in print_timestamp_usr()
113 ts.tv_nsec = tv.tv_usec * 1000; in print_timestamp_usr()
/linux-4.4.14/drivers/video/fbdev/
Dpxa3xx-gcu.c129 struct timeval tv; \
133 do_gettimeofday(&tv); \
139 tv.tv_sec - priv->base_time.tv_sec, \
140 tv.tv_usec / 1000, tv.tv_usec % 1000, \
/linux-4.4.14/net/core/
Dsock.c385 struct timeval tv; in sock_set_timeout() local
387 if (optlen < sizeof(tv)) in sock_set_timeout()
389 if (copy_from_user(&tv, optval, sizeof(tv))) in sock_set_timeout()
391 if (tv.tv_usec < 0 || tv.tv_usec >= USEC_PER_SEC) in sock_set_timeout()
394 if (tv.tv_sec < 0) { in sock_set_timeout()
406 if (tv.tv_sec == 0 && tv.tv_usec == 0) in sock_set_timeout()
408 if (tv.tv_sec < (MAX_SCHEDULE_TIMEOUT/HZ - 1)) in sock_set_timeout()
409 *timeo_p = tv.tv_sec*HZ + (tv.tv_usec+(1000000/HZ-1))/(1000000/HZ); in sock_set_timeout()
2506 struct timeval tv; in sock_get_timestamp() local
2509 tv = ktime_to_timeval(sk->sk_stamp); in sock_get_timestamp()
[all …]
/linux-4.4.14/drivers/net/hamradio/
Dbaycom_ser_fdx.c231 static __inline__ void ser12_rx(struct net_device *dev, struct baycom_state *bc, struct timeval *tv in ser12_rx() argument
238 timediff = 1000000 + tv->tv_usec - bc->modem.ser12.pll_time; in ser12_rx()
290 struct timeval tv; in ser12_interrupt() local
300 do_gettimeofday(&tv); in ser12_interrupt()
343 ser12_rx(dev, bc, &tv, msr & 0x10); /* CTS */ in ser12_interrupt()
/linux-4.4.14/drivers/media/dvb-frontends/
Dstv0299.c412 ktime_t tv[10]; in stv0299_send_legacy_dish_cmd() local
427 tv[0] = nexttime; in stv0299_send_legacy_dish_cmd()
434 tv[i+1] = ktime_get_real(); in stv0299_send_legacy_dish_cmd()
451 (int) ktime_us_delta(tv[i], tv[i-1])); in stv0299_send_legacy_dish_cmd()
/linux-4.4.14/drivers/media/pci/saa7164/
Dsaa7164-cards.c785 struct tveeprom tv; in hauppauge_eeprom() local
788 tveeprom_hauppauge_analog(&dev->i2c_bus[0].i2c_client, &tv, in hauppauge_eeprom()
792 switch (tv.model) { in hauppauge_eeprom()
835 dev->name, tv.model); in hauppauge_eeprom()
840 tv.model); in hauppauge_eeprom()
/linux-4.4.14/Documentation/arm/OMAP/
DDSS200 When writing, two special timings are accepted for tv-out:
223 tv=/sys/devices/platform/omapdss/display2
263 w=`cat $tv/timings | cut -d "," -f 2 | cut -d "/" -f 1`
264 h=`cat $tv/timings | cut -d "," -f 3 | cut -d "/" -f 1`
273 echo "tv" > $ovl1/manager
278 echo "1" > $tv/enabled
311 can be used to tv out.
342 Common examples are "lcd" or "tv".
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dpriv.h16 int (* tv)(struct nvkm_disp *, int index, struct dcb_output *, member
Dnv50.h59 int (* tv)(struct nvkm_disp *, int index, struct dcb_output *, member
Dbase.c329 case DCB_OUTPUT_TV : ctor = outps->tv ; break; in nvkm_disp_ctor()
/linux-4.4.14/drivers/video/fbdev/omap2/displays-new/
DMakefile6 obj-$(CONFIG_DISPLAY_CONNECTOR_ANALOG_TV) += connector-analog-tv.o
/linux-4.4.14/fs/gfs2/
Ddir.c834 struct timespec tv = CURRENT_TIME; in new_leaf() local
853 leaf->lf_nsec = cpu_to_be32(tv.tv_nsec); in new_leaf()
854 leaf->lf_sec = cpu_to_be64(tv.tv_sec); in new_leaf()
1704 struct timespec tv; in gfs2_dir_add() local
1720 tv = CURRENT_TIME; in gfs2_dir_add()
1724 leaf->lf_nsec = cpu_to_be32(tv.tv_nsec); in gfs2_dir_add()
1725 leaf->lf_sec = cpu_to_be64(tv.tv_sec); in gfs2_dir_add()
1731 ip->i_inode.i_mtime = ip->i_inode.i_ctime = tv; in gfs2_dir_add()
1782 struct timespec tv = CURRENT_TIME; in gfs2_dir_del() local
1808 leaf->lf_nsec = cpu_to_be32(tv.tv_nsec); in gfs2_dir_del()
[all …]
/linux-4.4.14/drivers/media/platform/
DMakefile32 obj-$(CONFIG_VIDEO_SAMSUNG_S5P_TV) += s5p-tv/
DKconfig119 source "drivers/media/platform/s5p-tv/Kconfig"
/linux-4.4.14/fs/jffs2/
Dos-linux.h35 #define I_SEC(tv) ((tv).tv_sec) argument
/linux-4.4.14/tools/thermal/tmon/
Dtmon.h51 struct timeval tv; member
Dsysfs.c500 gettimeofday(&trec[cur_thermal_record].tv, NULL); in update_thermal_data()
/linux-4.4.14/net/bluetooth/
Dhci_sock.c972 struct timeval tv; in hci_sock_cmsg() local
976 skb_get_timestamp(skb, &tv); in hci_sock_cmsg()
978 data = &tv; in hci_sock_cmsg()
979 len = sizeof(tv); in hci_sock_cmsg()
983 ctv.tv_sec = tv.tv_sec; in hci_sock_cmsg()
984 ctv.tv_usec = tv.tv_usec; in hci_sock_cmsg()
/linux-4.4.14/arch/ia64/include/asm/
Dpal.h521 tv : 1, /* Target address member
558 tv : 1, /* Target address member
594 tv : 1, /* Target address member
654 tv : 1, /* Target address member
723 #define pmci_cache_target_address_valid pme_cache.tv
737 #define pmci_bus_target_address_valid pme_bus.tv
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
Dmxl111sf.h83 struct tveeprom tv; member
Dmxl111sf.c920 tveeprom_hauppauge_analog(&c, &state->tv, (0x84 == eeprom[0xa0]) ? in mxl111sf_init()
923 switch (state->tv.model) { in mxl111sf_init()
931 __func__, state->tv.model); in mxl111sf_init()
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnouveau_bios.h151 uint8_t crt, tv, panel; member
Dnouveau_bios.c1195 bios->legacy.i2c_indices.tv = bios->data[legacy_i2c_offset + 1]; in parse_bmp_structure()
1768 if (nv04_tv_identify(dev, bios->legacy.i2c_indices.tv) >= 0) in fabricate_dcb_encoder_table()
1770 bios->legacy.i2c_indices.tv, in fabricate_dcb_encoder_table()
/linux-4.4.14/include/media/
Dv4l2-common.h190 void v4l2_get_timestamp(struct timeval *tv);
/linux-4.4.14/arch/arm/mach-lpc32xx/
Dclock.c233 u32 tv, tmp = 0; in local_clk_pll_setup() local
244 tv = ffs(PllSetup->pll_p) - 1; in local_clk_pll_setup()
245 if ((!is_power_of_2(PllSetup->pll_p)) || (tv > 3)) in local_clk_pll_setup()
248 tmp |= LPC32XX_CLKPWR_HCLKPLL_POSTDIV_2POW(tv); in local_clk_pll_setup()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fence.c875 struct timeval tv; in vmw_event_fence_action_seq_passed() local
877 do_gettimeofday(&tv); in vmw_event_fence_action_seq_passed()
878 *eaction->tv_sec = tv.tv_sec; in vmw_event_fence_action_seq_passed()
879 *eaction->tv_usec = tv.tv_usec; in vmw_event_fence_action_seq_passed()
/linux-4.4.14/drivers/media/pci/cx23885/
Dcx23885-cards.c1039 struct tveeprom tv; in hauppauge_eeprom() local
1041 tveeprom_hauppauge_analog(&dev->i2c_bus[0].i2c_client, &tv, in hauppauge_eeprom()
1045 switch (tv.model) { in hauppauge_eeprom()
1183 dev->name, tv.model); in hauppauge_eeprom()
1188 dev->name, tv.model); in hauppauge_eeprom()
/linux-4.4.14/drivers/media/pci/cx88/
Dcx88-cards.c2857 struct tveeprom tv; in hauppauge_eeprom() local
2859 tveeprom_hauppauge_analog(&core->i2c_client, &tv, eeprom_data); in hauppauge_eeprom()
2860 core->board.tuner_type = tv.tuner_type; in hauppauge_eeprom()
2861 core->tuner_formats = tv.tuner_formats; in hauppauge_eeprom()
2862 core->board.radio.type = tv.has_radio ? CX88_RADIO : 0; in hauppauge_eeprom()
2863 core->model = tv.model; in hauppauge_eeprom()
2866 switch (tv.model) in hauppauge_eeprom()
2909 tv.model); in hauppauge_eeprom()
2913 info_printk(core, "hauppauge eeprom: model=%d\n", tv.model); in hauppauge_eeprom()
/linux-4.4.14/drivers/scsi/
Dgdth_proc.c151 struct timeval tv; in gdth_show_info() local
543 do_gettimeofday(&tv); in gdth_show_info()
544 sec = (int)(tv.tv_sec - estr->first_stamp); in gdth_show_info()
Dips.c992 struct timeval tv; in __ips_eh_reset() local
994 do_gettimeofday(&tv); in __ips_eh_reset()
995 ha->last_ffdc = tv.tv_sec; in __ips_eh_reset()
2402 struct timeval tv; in ips_hainit() local
2417 do_gettimeofday(&tv); in ips_hainit()
2418 ha->last_ffdc = tv.tv_sec; in ips_hainit()
2558 struct timeval tv; in ips_next() local
2560 do_gettimeofday(&tv); in ips_next()
2562 if (tv.tv_sec - ha->last_ffdc > IPS_SECS_8HOURS) { in ips_next()
2563 ha->last_ffdc = tv.tv_sec; in ips_next()
Dgdth.c2841 struct timeval tv; in gdth_store_event() local
2857 do_gettimeofday(&tv); in gdth_store_event()
2858 e->last_stamp = tv.tv_sec; in gdth_store_event()
2874 do_gettimeofday(&tv); in gdth_store_event()
2875 e->first_stamp = e->last_stamp = tv.tv_sec; in gdth_store_event()
/linux-4.4.14/include/sound/
Dpcm.h1142 struct timespec *tv) in snd_pcm_gettime() argument
1146 ktime_get_ts(tv); in snd_pcm_gettime()
1149 getrawmonotonic(tv); in snd_pcm_gettime()
1152 getnstimeofday(tv); in snd_pcm_gettime()
/linux-4.4.14/Documentation/devicetree/bindings/leds/
Dleds-bcm6358.txt51 label = "white:tv";
/linux-4.4.14/drivers/mmc/host/
Dmtk-sd.c349 unsigned int tv = readl(reg); in sdr_set_field() local
351 tv &= ~field; in sdr_set_field()
352 tv |= ((val) << (ffs((unsigned int)field) - 1)); in sdr_set_field()
353 writel(tv, reg); in sdr_set_field()
358 unsigned int tv = readl(reg); in sdr_get_field() local
360 *val = ((tv & field) >> (ffs((unsigned int)field) - 1)); in sdr_get_field()
/linux-4.4.14/Documentation/dvb/
Dfaq.txt67 http://www.linuxdvb.tv/
136 gives you access to the "analog" tv picture of the av7110 mpeg2
/linux-4.4.14/drivers/staging/lustre/lnet/selftest/
Dconrpc.c480 struct timeval tv; in lstcon_rpc_trans_interpreter() local
507 jiffies_to_timeval(dur, &tv); in lstcon_rpc_trans_interpreter()
511 copy_to_user(&ent->rpe_stamp, &tv, sizeof(tv)) || in lstcon_rpc_trans_interpreter()
/linux-4.4.14/drivers/media/platform/s5p-tv/
DKconfig1 # drivers/media/platform/s5p-tv/Kconfig
/linux-4.4.14/net/can/
Dbcm.c134 static inline ktime_t bcm_timeval_to_ktime(struct bcm_timeval tv) in bcm_timeval_to_ktime() argument
136 return ktime_set(tv.tv_sec, tv.tv_usec * NSEC_PER_USEC); in bcm_timeval_to_ktime()
/linux-4.4.14/net/ipv6/
Dmcast.c997 unsigned long tv = prandom_u32() % idev->mc_maxdelay; in mld_gq_start_timer() local
1000 if (!mod_timer(&idev->mc_gq_timer, jiffies+tv+2)) in mld_gq_start_timer()
1013 unsigned long tv = prandom_u32() % delay; in mld_ifc_start_timer() local
1015 if (!mod_timer(&idev->mc_ifc_timer, jiffies+tv+2)) in mld_ifc_start_timer()
1028 unsigned long tv = prandom_u32() % delay; in mld_dad_start_timer() local
1030 if (!mod_timer(&idev->mc_dad_timer, jiffies+tv+2)) in mld_dad_start_timer()
/linux-4.4.14/drivers/media/platform/vivid/
Dvivid-ctrls.c943 struct timeval tv; in vivid_streaming_s_ctrl() local
982 v4l2_get_timestamp(&tv); in vivid_streaming_s_ctrl()
983 dev->time_wrap_offset = -tv.tv_sec - 16; in vivid_streaming_s_ctrl()
/linux-4.4.14/drivers/block/
Dsx8.c674 struct timeval tv; in carm_fill_sync_time() local
677 do_gettimeofday(&tv); in carm_fill_sync_time()
683 st->timestamp = cpu_to_le32(tv.tv_sec); in carm_fill_sync_time()
/linux-4.4.14/drivers/media/dvb-core/
Ddvb_frontend.c2452 ktime_t tv[10]; in dvb_frontend_ioctl_legacy() local
2459 tv[0] = nexttime; in dvb_frontend_ioctl_legacy()
2468 tv[i+1] = ktime_get_real(); in dvb_frontend_ioctl_legacy()
2483 (int) ktime_us_delta(tv[i], tv[i-1])); in dvb_frontend_ioctl_legacy()
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-cards.c2808 struct tveeprom tv; in em28xx_card_setup() local
2818 tveeprom_hauppauge_analog(&dev->i2c_client[dev->def_i2c_bus], &tv, dev->eedata); in em28xx_card_setup()
2820 dev->tuner_type = tv.tuner_type; in em28xx_card_setup()
2822 if (tv.audio_processor == TVEEPROM_AUDPROC_MSP) { in em28xx_card_setup()
/linux-4.4.14/drivers/staging/comedi/
Dcomedi_fops.c1252 struct timeval tv; in parse_insn() local
1259 do_gettimeofday(&tv); in parse_insn()
1260 data[0] = tv.tv_sec; in parse_insn()
1261 data[1] = tv.tv_usec; in parse_insn()
/linux-4.4.14/kernel/debug/kdb/
Dkdb_main.c2489 static void kdb_gmtime(struct timespec *tv, struct kdb_tm *tm) in kdb_gmtime() argument
2495 tm->tm_sec = tv->tv_sec % (24 * 60 * 60); in kdb_gmtime()
2496 tm->tm_mday = tv->tv_sec / (24 * 60 * 60) + in kdb_gmtime()
/linux-4.4.14/Documentation/laptops/
Dasus-laptop.txt204 5 = tv
/linux-4.4.14/Documentation/video4linux/bttv/
DCards332 PV-951TDV (tv tuner + 1394)
561 ProTV II = ProTV Stereo (Bt878) ["stereo" means FM stereo, tv is still mono]
766 SkyEye tv 878
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c2752 struct timespec64 tv; in kiblnd_startup() local
2770 ktime_get_real_ts64(&tv); in kiblnd_startup()
2771 net->ibn_incarnation = tv.tv_sec * USEC_PER_SEC + in kiblnd_startup()
2772 tv.tv_nsec / NSEC_PER_USEC; in kiblnd_startup()
/linux-4.4.14/drivers/media/pci/ttpci/
Dav7110.c353 struct timeval tv; in print_time() local
354 do_gettimeofday(&tv); in print_time()
355 printk("%s: %d.%d\n", s, (int)tv.tv_sec, (int)tv.tv_usec); in print_time()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbfa_ioc.c1933 struct timeval tv; in bfa_ioc_send_enable() local
1938 do_gettimeofday(&tv); in bfa_ioc_send_enable()
1939 enable_req.tv_sec = ntohl(tv.tv_sec); in bfa_ioc_send_enable()
/linux-4.4.14/Documentation/ide/
Dide.txt256 comments at 2.6.0-test4 time. Maciej Soltysiak <solt@dns.toxicfilms.tv>
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_mr.c1815 struct timeval tv; in qlafx00_fx_disc() local
1889 do_gettimeofday(&tv); in qlafx00_fx_disc()
1890 preg_hsi->utc = (uint64_t)tv.tv_sec; in qlafx00_fx_disc()
/linux-4.4.14/fs/nfsd/
Dnfs4xdr.c244 nfsd4_decode_time(struct nfsd4_compoundargs *argp, struct timespec *tv) in nfsd4_decode_time() argument
251 tv->tv_sec = sec; in nfsd4_decode_time()
252 tv->tv_nsec = be32_to_cpup(p++); in nfsd4_decode_time()
253 if (tv->tv_nsec >= (u32)1000000000) in nfsd4_decode_time()
/linux-4.4.14/Documentation/DocBook/
Dgpu.xml.db168 API-drm-mode-create-tv-properties
/linux-4.4.14/Documentation/usb/
Dpower-management.txt585 [2]: http://linuxplumbers.ubicast.tv/videos/usb-port-power-off-kerneluserspace-api/
/linux-4.4.14/
DCREDITS1775 S: Lemnosvej 1, 3.tv
3609 E: sturner@tele-tv.com
DMAINTAINERS1506 F: drivers/media/platform/s5p-tv/
6842 W: http://netup.tv/
6851 W: http://netup.tv/
6860 W: http://netup.tv/
6869 W: http://netup.tv/
6878 W: http://netup.tv/