tv 948 arch/alpha/kernel/osf_sys.c struct timeval32 tv; tv 949 arch/alpha/kernel/osf_sys.c if (copy_from_user(&tv, i, sizeof(struct timeval32))) tv 951 arch/alpha/kernel/osf_sys.c o->tv_sec = tv.tv_sec; tv 952 arch/alpha/kernel/osf_sys.c o->tv_nsec = tv.tv_usec * NSEC_PER_USEC; tv 1005 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_gettimeofday, struct timeval32 __user *, tv, tv 1008 arch/alpha/kernel/osf_sys.c if (tv) { tv 1012 arch/alpha/kernel/osf_sys.c if (put_tv32(tv, &kts)) tv 1022 arch/alpha/kernel/osf_sys.c SYSCALL_DEFINE2(osf_settimeofday, struct timeval32 __user *, tv, tv 1028 arch/alpha/kernel/osf_sys.c if (tv) { tv 1029 arch/alpha/kernel/osf_sys.c if (get_tv32(&kts, tv)) tv 1037 arch/alpha/kernel/osf_sys.c return do_sys_settimeofday64(tv ? &kts : NULL, tz ? &ktz : NULL); tv 1086 arch/alpha/kernel/osf_sys.c struct timespec64 tv[2]; tv 1089 arch/alpha/kernel/osf_sys.c if (get_tv32(&tv[0], &tvs[0]) || tv 1090 arch/alpha/kernel/osf_sys.c get_tv32(&tv[1], &tvs[1])) tv 1093 arch/alpha/kernel/osf_sys.c if (tv[0].tv_nsec < 0 || tv[0].tv_nsec >= 1000000000 || tv 1094 arch/alpha/kernel/osf_sys.c tv[1].tv_nsec < 0 || tv[1].tv_nsec >= 1000000000) tv 1098 arch/alpha/kernel/osf_sys.c return do_utimes(AT_FDCWD, filename, tvs ? tv : NULL, 0); tv 1106 arch/alpha/kernel/osf_sys.c struct timespec64 tv; tv 1109 arch/alpha/kernel/osf_sys.c if (get_tv32(&tv, tvp)) tv 1112 arch/alpha/kernel/osf_sys.c if (tv.tv_sec < 0 || tv.tv_nsec < 0) tv 1115 arch/alpha/kernel/osf_sys.c if (poll_select_set_timeout(to, tv.tv_sec, tv.tv_nsec)) tv 222 arch/arm/vdso/vgettimeofday.c register struct timeval *tv asm("r0") = _tv; tv 229 arch/arm/vdso/vgettimeofday.c : "r" (tv), "r" (tz), "r" (nr) tv 235 arch/arm/vdso/vgettimeofday.c notrace int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) tv 245 arch/arm/vdso/vgettimeofday.c return gettimeofday_fallback(tv, tz); tv 247 arch/arm/vdso/vgettimeofday.c if (tv) { tv 248 arch/arm/vdso/vgettimeofday.c tv->tv_sec = ts.tv_sec; tv 249 arch/arm/vdso/vgettimeofday.c tv->tv_usec = ts.tv_nsec / 1000; tv 26 arch/arm64/include/asm/vdso/compat_gettimeofday.h register struct __kernel_old_timeval *tv asm("r0") = _tv; tv 33 arch/arm64/include/asm/vdso/compat_gettimeofday.h : "r" (tv), "r" (tz), "r" (nr) tv 22 arch/arm64/include/asm/vdso/gettimeofday.h register struct __kernel_old_timeval *tv asm("x0") = _tv; tv 29 arch/arm64/include/asm/vdso/gettimeofday.h : "r" (tv), "r" (tz), "r" (nr) tv 17 arch/arm64/kernel/vdso/vgettimeofday.c int __kernel_gettimeofday(struct __kernel_old_timeval *tv, tv 20 arch/arm64/kernel/vdso/vgettimeofday.c return __cvdso_gettimeofday(tv, tz); tv 31 arch/arm64/kernel/vdso32/vgettimeofday.c int __vdso_gettimeofday(struct __kernel_old_timeval *tv, tv 34 arch/arm64/kernel/vdso32/vgettimeofday.c return __cvdso_gettimeofday(tv, tz); tv 522 arch/ia64/include/asm/pal.h tv : 1, /* Target address tv 559 arch/ia64/include/asm/pal.h tv : 1, /* Target address tv 595 arch/ia64/include/asm/pal.h tv : 1, /* Target address tv 655 arch/ia64/include/asm/pal.h tv : 1, /* Target address tv 724 arch/ia64/include/asm/pal.h #define pmci_cache_target_address_valid pme_cache.tv tv 738 arch/ia64/include/asm/pal.h #define pmci_bus_target_address_valid pme_bus.tv tv 34 arch/mips/include/asm/vdso/gettimeofday.h register struct __kernel_old_timeval *tv asm("a0") = _tv; tv 42 arch/mips/include/asm/vdso/gettimeofday.h : "r" (tv), "r" (tz), "r" (nr) tv 28 arch/mips/vdso/vgettimeofday.c int __vdso_gettimeofday(struct __kernel_old_timeval *tv, tv 31 arch/mips/vdso/vgettimeofday.c return __cvdso_gettimeofday(tv, tz); tv 64 arch/mips/vdso/vgettimeofday.c int __vdso_gettimeofday(struct __kernel_old_timeval *tv, tv 67 arch/mips/vdso/vgettimeofday.c return __cvdso_gettimeofday(tv, tz); tv 236 arch/nds32/kernel/vdso/gettimeofday.c register struct timeval *tv asm("$r0") = _tv; tv 243 arch/nds32/kernel/vdso/gettimeofday.c :"r"(tv), "r"(tz), "i"(__NR_gettimeofday) tv 249 arch/nds32/kernel/vdso/gettimeofday.c notrace int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) tv 258 arch/nds32/kernel/vdso/gettimeofday.c return gettimeofday_fallback(tv, tz); tv 262 arch/nds32/kernel/vdso/gettimeofday.c if (tv) { tv 263 arch/nds32/kernel/vdso/gettimeofday.c tv->tv_sec = ts.tv_sec; tv 264 arch/nds32/kernel/vdso/gettimeofday.c tv->tv_usec = ts.tv_nsec / 1000; tv 77 arch/sparc/vdso/vclock_gettime.c notrace static long vdso_fallback_gettimeofday(struct timeval *tv, struct timezone *tz) tv 80 arch/sparc/vdso/vclock_gettime.c register long o0 __asm__("o0") = (long) tv; tv 307 arch/sparc/vdso/vclock_gettime.c __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) tv 312 arch/sparc/vdso/vclock_gettime.c if (likely(tv != NULL)) { tv 315 arch/sparc/vdso/vclock_gettime.c struct timeval tv; tv 316 arch/sparc/vdso/vclock_gettime.c } *tstv = (union tstv_t *) tv; tv 326 arch/sparc/vdso/vclock_gettime.c tstv->tv.tv_usec = tstv->ts.tv_nsec; tv 327 arch/sparc/vdso/vclock_gettime.c tstv->tv.tv_usec /= 1000; tv 336 arch/sparc/vdso/vclock_gettime.c return vdso_fallback_gettimeofday(tv, tz); tv 343 arch/sparc/vdso/vclock_gettime.c __vdso_gettimeofday_stick(struct timeval *tv, struct timezone *tz) tv 348 arch/sparc/vdso/vclock_gettime.c if (likely(tv != NULL)) { tv 351 arch/sparc/vdso/vclock_gettime.c struct timeval tv; tv 352 arch/sparc/vdso/vclock_gettime.c } *tstv = (union tstv_t *) tv; tv 362 arch/sparc/vdso/vclock_gettime.c tstv->tv.tv_usec = tstv->ts.tv_nsec; tv 363 arch/sparc/vdso/vclock_gettime.c tstv->tv.tv_usec /= 1000; tv 372 arch/sparc/vdso/vclock_gettime.c return vdso_fallback_gettimeofday(tv, tz); tv 128 arch/um/drivers/daemon_user.c struct timeval tv; tv 140 arch/um/drivers/daemon_user.c gettimeofday(&tv, NULL); tv 141 arch/um/drivers/daemon_user.c name.usecs = tv.tv_usec; tv 21 arch/um/os-Linux/time.c static inline long long timeval_to_ns(const struct timeval *tv) tv 23 arch/um/os-Linux/time.c return ((long long) tv->tv_sec * UM_NSEC_PER_SEC) + tv 24 arch/um/os-Linux/time.c tv->tv_usec * UM_NSEC_PER_USEC; tv 17 arch/x86/entry/vdso/vclock_gettime.c extern int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz); tv 20 arch/x86/entry/vdso/vclock_gettime.c int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) tv 22 arch/x86/entry/vdso/vclock_gettime.c return __cvdso_gettimeofday(tv, tz); tv 28 arch/x86/um/vdso/um_vdso.c int __vdso_gettimeofday(struct timeval *tv, struct timezone *tz) tv 33 arch/x86/um/vdso/um_vdso.c "0" (__NR_gettimeofday), "D" (tv), "S" (tz) : "memory"); tv 116 arch/xtensa/platforms/iss/include/platform/simcall.h struct timeval tv = { .tv_sec = 0, .tv_usec = 0 }; tv 118 arch/xtensa/platforms/iss/include/platform/simcall.h return __simc(SYS_select_one, fd, XTISS_SELECT_ONE_READ, (int)&tv); tv 3877 crypto/testmgr.c #define __VECS(tv) { .vecs = tv, .count = ARRAY_SIZE(tv) } tv 591 drivers/block/sx8.c time64_t tv = ktime_get_real_seconds(); tv 597 drivers/block/sx8.c st->timestamp = cpu_to_le32(tv); tv 582 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c ctx->kfd_bo.tv.bo = &bo->tbo; tv 583 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c ctx->kfd_bo.tv.num_shared = 1; tv 584 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c list_add(&ctx->kfd_bo.tv.head, &ctx->list); tv 645 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c ctx->kfd_bo.tv.bo = &bo->tbo; tv 646 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c ctx->kfd_bo.tv.num_shared = 1; tv 647 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c list_add(&ctx->kfd_bo.tv.head, &ctx->list); tv 54 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(e->tv.bo); tv 121 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c entry->tv.bo = &bo->tbo; tv 144 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(array[i].tv.bo); tv 149 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(array[i].tv.bo); tv 204 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(e->tv.bo); tv 208 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c list_add_tail(&e->tv.head, &bucket[priority]); tv 35 drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.h struct ttm_validate_buffer tv; tv 54 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->uf_entry.tv.bo = &bo->tbo; tv 56 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->uf_entry.tv.num_shared = 2; tv 238 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c if (p->uf_entry.tv.bo) tv 463 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c for (;&p->evictable->tv.head != &p->validated; tv 464 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->evictable = list_prev_entry(p->evictable, tv.head)) { tv 467 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(candidate->tv.bo); tv 504 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c p->evictable = list_prev_entry(p->evictable, tv.head); tv 505 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c list_move(&candidate->tv.head, &p->validated); tv 537 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c list_for_each_entry(lobj, validated, tv.head) { tv 538 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(lobj->tv.bo); tv 603 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c e->tv.num_shared = 2; tv 612 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c if (p->uf_entry.tv.bo && !ttm_to_amdgpu_bo(p->uf_entry.tv.bo)->parent) tv 613 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c list_add(&p->uf_entry.tv.head, &p->validated); tv 620 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(e->tv.bo); tv 662 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c tv.head); tv 687 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(e->tv.bo); tv 691 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c e->tv.num_shared = 0; tv 708 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c if (!r && p->uf_entry.tv.bo) { tv 709 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_bo *uf = ttm_to_amdgpu_bo(p->uf_entry.tv.bo); tv 727 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c list_for_each_entry(e, &p->validated, tv.head) { tv 728 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(e->tv.bo); tv 777 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c if (parser->uf_entry.tv.bo) { tv 778 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_bo *uf = ttm_to_amdgpu_bo(parser->uf_entry.tv.bo); tv 892 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c bo = ttm_to_amdgpu_bo(e->tv.bo); tv 927 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(e->tv.bo); tv 1300 drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c struct amdgpu_bo *bo = ttm_to_amdgpu_bo(e->tv.bo); tv 164 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct ttm_validate_buffer tv; tv 172 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c tv.bo = &bo->tbo; tv 173 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c tv.num_shared = 1; tv 174 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c list_add(&tv.head, &list); tv 553 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c struct ttm_validate_buffer tv; tv 603 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c tv.bo = &abo->tbo; tv 605 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c tv.num_shared = 1; tv 607 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c tv.num_shared = 0; tv 608 drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c list_add(&tv.head, &list); tv 562 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c entry->tv.bo = &vm->root.base.bo->tbo; tv 564 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c entry->tv.num_shared = 3; tv 566 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c list_add(&entry->tv.head, validated); tv 4495 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c struct ttm_validate_buffer tv; tv 4516 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c tv.bo = &rbo->tbo; tv 4517 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c tv.num_shared = 1; tv 4518 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c list_add(&tv.head, &list); tv 393 drivers/gpu/drm/drm_atomic_state_helper.c state->tv.margins.left = cmdline->tv_margins.left; tv 394 drivers/gpu/drm/drm_atomic_state_helper.c state->tv.margins.right = cmdline->tv_margins.right; tv 395 drivers/gpu/drm/drm_atomic_state_helper.c state->tv.margins.top = cmdline->tv_margins.top; tv 396 drivers/gpu/drm/drm_atomic_state_helper.c state->tv.margins.bottom = cmdline->tv_margins.bottom; tv 694 drivers/gpu/drm/drm_atomic_uapi.c state->tv.subconnector = val; tv 696 drivers/gpu/drm/drm_atomic_uapi.c state->tv.margins.left = val; tv 698 drivers/gpu/drm/drm_atomic_uapi.c state->tv.margins.right = val; tv 700 drivers/gpu/drm/drm_atomic_uapi.c state->tv.margins.top = val; tv 702 drivers/gpu/drm/drm_atomic_uapi.c state->tv.margins.bottom = val; tv 704 drivers/gpu/drm/drm_atomic_uapi.c state->tv.mode = val; tv 706 drivers/gpu/drm/drm_atomic_uapi.c state->tv.brightness = val; tv 708 drivers/gpu/drm/drm_atomic_uapi.c state->tv.contrast = val; tv 710 drivers/gpu/drm/drm_atomic_uapi.c state->tv.flicker_reduction = val; tv 712 drivers/gpu/drm/drm_atomic_uapi.c state->tv.overscan = val; tv 714 drivers/gpu/drm/drm_atomic_uapi.c state->tv.saturation = val; tv 716 drivers/gpu/drm/drm_atomic_uapi.c state->tv.hue = val; tv 798 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.subconnector; tv 800 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.margins.left; tv 802 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.margins.right; tv 804 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.margins.top; tv 806 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.margins.bottom; tv 808 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.mode; tv 810 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.brightness; tv 812 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.contrast; tv 814 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.flicker_reduction; tv 816 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.overscan; tv 818 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.saturation; tv 820 drivers/gpu/drm/drm_atomic_uapi.c *val = state->tv.hue; tv 833 drivers/gpu/drm/drm_vblank.c struct timespec64 tv; tv 838 drivers/gpu/drm/drm_vblank.c tv = ktime_to_timespec64(now); tv 845 drivers/gpu/drm/drm_vblank.c e->event.vbl.tv_sec = tv.tv_sec; tv 846 drivers/gpu/drm/drm_vblank.c e->event.vbl.tv_usec = tv.tv_nsec / 1000; tv 175 drivers/gpu/drm/i915/display/intel_sdvo.c } tv; tv 1182 drivers/gpu/drm/i915/display/intel_sdvo.c format_map = 1 << conn_state->tv.mode; tv 1380 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(sdvo_state->tv.overscan_h, OVERSCAN_H); tv 1383 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(sdvo_state->tv.overscan_v, OVERSCAN_V); tv 1386 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(sdvo_state->tv.hpos, HPOS); tv 1389 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(sdvo_state->tv.vpos, VPOS); tv 1392 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(conn_state->tv.saturation, SATURATION); tv 1395 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(conn_state->tv.contrast, CONTRAST); tv 1398 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(conn_state->tv.hue, HUE); tv 1401 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(conn_state->tv.brightness, BRIGHTNESS); tv 1404 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(sdvo_state->tv.sharpness, SHARPNESS); tv 1407 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(sdvo_state->tv.flicker_filter, FLICKER_FILTER); tv 1410 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(sdvo_state->tv.flicker_filter_2d, FLICKER_FILTER_2D); tv 1413 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(sdvo_state->tv.flicker_filter_adaptive, FLICKER_FILTER_ADAPTIVE); tv 1416 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(sdvo_state->tv.chroma_filter, TV_CHROMA_FILTER); tv 1419 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(sdvo_state->tv.luma_filter, TV_LUMA_FILTER); tv 1422 drivers/gpu/drm/i915/display/intel_sdvo.c UPDATE_PROPERTY(sdvo_state->tv.dot_crawl, DOT_CRAWL); tv 2191 drivers/gpu/drm/i915/display/intel_sdvo.c format_map = 1 << conn_state->tv.mode; tv 2275 drivers/gpu/drm/i915/display/intel_sdvo.c if (state->tv.mode == intel_sdvo_connector->tv_format_supported[i]) { tv 2285 drivers/gpu/drm/i915/display/intel_sdvo.c *val = intel_sdvo_connector->max_vscan - sdvo_state->tv.overscan_v; tv 2288 drivers/gpu/drm/i915/display/intel_sdvo.c *val = intel_sdvo_connector->max_hscan - sdvo_state->tv.overscan_h; tv 2290 drivers/gpu/drm/i915/display/intel_sdvo.c *val = sdvo_state->tv.hpos; tv 2292 drivers/gpu/drm/i915/display/intel_sdvo.c *val = sdvo_state->tv.vpos; tv 2294 drivers/gpu/drm/i915/display/intel_sdvo.c *val = state->tv.saturation; tv 2296 drivers/gpu/drm/i915/display/intel_sdvo.c *val = state->tv.contrast; tv 2298 drivers/gpu/drm/i915/display/intel_sdvo.c *val = state->tv.hue; tv 2300 drivers/gpu/drm/i915/display/intel_sdvo.c *val = state->tv.brightness; tv 2302 drivers/gpu/drm/i915/display/intel_sdvo.c *val = sdvo_state->tv.sharpness; tv 2304 drivers/gpu/drm/i915/display/intel_sdvo.c *val = sdvo_state->tv.flicker_filter; tv 2306 drivers/gpu/drm/i915/display/intel_sdvo.c *val = sdvo_state->tv.flicker_filter_2d; tv 2308 drivers/gpu/drm/i915/display/intel_sdvo.c *val = sdvo_state->tv.flicker_filter_adaptive; tv 2310 drivers/gpu/drm/i915/display/intel_sdvo.c *val = sdvo_state->tv.chroma_filter; tv 2312 drivers/gpu/drm/i915/display/intel_sdvo.c *val = sdvo_state->tv.luma_filter; tv 2314 drivers/gpu/drm/i915/display/intel_sdvo.c *val = sdvo_state->tv.dot_crawl; tv 2331 drivers/gpu/drm/i915/display/intel_sdvo.c state->tv.mode = intel_sdvo_connector->tv_format_supported[val]; tv 2342 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.overscan_v = intel_sdvo_connector->max_vscan - val; tv 2346 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.overscan_h = intel_sdvo_connector->max_hscan - val; tv 2348 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.hpos = val; tv 2350 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.vpos = val; tv 2352 drivers/gpu/drm/i915/display/intel_sdvo.c state->tv.saturation = val; tv 2354 drivers/gpu/drm/i915/display/intel_sdvo.c state->tv.contrast = val; tv 2356 drivers/gpu/drm/i915/display/intel_sdvo.c state->tv.hue = val; tv 2358 drivers/gpu/drm/i915/display/intel_sdvo.c state->tv.brightness = val; tv 2360 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.sharpness = val; tv 2362 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.flicker_filter = val; tv 2364 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.flicker_filter_2d = val; tv 2366 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.flicker_filter_adaptive = val; tv 2368 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.chroma_filter = val; tv 2370 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.luma_filter = val; tv 2372 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.dot_crawl = val; tv 2442 drivers/gpu/drm/i915/display/intel_sdvo.c (memcmp(&old_state->tv, &new_state->tv, sizeof(old_state->tv)) || tv 2443 drivers/gpu/drm/i915/display/intel_sdvo.c memcmp(&old_conn_state->tv, &new_conn_state->tv, sizeof(old_conn_state->tv)))) { tv 2981 drivers/gpu/drm/i915/display/intel_sdvo.c intel_sdvo_connector->base.base.state->tv.mode = intel_sdvo_connector->tv_format_supported[0]; tv 3030 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.overscan_h = response; tv 3064 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.overscan_v = response; tv 3089 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&sdvo_state->tv, hpos, HPOS); tv 3090 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&sdvo_state->tv, vpos, VPOS); tv 3091 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&conn_state->tv, saturation, SATURATION); tv 3092 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&conn_state->tv, contrast, CONTRAST); tv 3093 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&conn_state->tv, hue, HUE); tv 3094 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&conn_state->tv, brightness, BRIGHTNESS); tv 3095 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&sdvo_state->tv, sharpness, SHARPNESS); tv 3096 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&sdvo_state->tv, flicker_filter, FLICKER_FILTER); tv 3097 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&sdvo_state->tv, flicker_filter_adaptive, FLICKER_FILTER_ADAPTIVE); tv 3098 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&sdvo_state->tv, flicker_filter_2d, FLICKER_FILTER_2D); tv 3099 drivers/gpu/drm/i915/display/intel_sdvo.c _ENHANCEMENT(sdvo_state->tv.chroma_filter, tv_chroma_filter, TV_CHROMA_FILTER); tv 3100 drivers/gpu/drm/i915/display/intel_sdvo.c _ENHANCEMENT(sdvo_state->tv.luma_filter, tv_luma_filter, TV_LUMA_FILTER); tv 3106 drivers/gpu/drm/i915/display/intel_sdvo.c sdvo_state->tv.dot_crawl = response & 0x1; tv 3129 drivers/gpu/drm/i915/display/intel_sdvo.c ENHANCEMENT(&connector->state->tv, brightness, BRIGHTNESS); tv 945 drivers/gpu/drm/i915/display/intel_tv.c int format = conn_state->tv.mode; tv 1177 drivers/gpu/drm/i915/display/intel_tv.c conn_state->tv.margins.top - tv 1178 drivers/gpu/drm/i915/display/intel_tv.c conn_state->tv.margins.bottom != tv 1226 drivers/gpu/drm/i915/display/intel_tv.c top = conn_state->tv.margins.top; tv 1227 drivers/gpu/drm/i915/display/intel_tv.c bottom = conn_state->tv.margins.bottom; tv 1246 drivers/gpu/drm/i915/display/intel_tv.c tv_conn_state->margins.top = conn_state->tv.margins.top; tv 1247 drivers/gpu/drm/i915/display/intel_tv.c tv_conn_state->margins.bottom = conn_state->tv.margins.bottom; tv 1321 drivers/gpu/drm/i915/display/intel_tv.c conn_state->tv.margins.left, tv 1322 drivers/gpu/drm/i915/display/intel_tv.c conn_state->tv.margins.right); tv 1542 drivers/gpu/drm/i915/display/intel_tv.c xpos = conn_state->tv.margins.left; tv 1544 drivers/gpu/drm/i915/display/intel_tv.c xsize -= (conn_state->tv.margins.left + tv 1545 drivers/gpu/drm/i915/display/intel_tv.c conn_state->tv.margins.right); tv 1685 drivers/gpu/drm/i915/display/intel_tv.c connector->state->tv.mode = i; tv 1837 drivers/gpu/drm/i915/display/intel_tv.c if (old_state->tv.mode != new_state->tv.mode || tv 1838 drivers/gpu/drm/i915/display/intel_tv.c old_state->tv.margins.left != new_state->tv.margins.left || tv 1839 drivers/gpu/drm/i915/display/intel_tv.c old_state->tv.margins.right != new_state->tv.margins.right || tv 1840 drivers/gpu/drm/i915/display/intel_tv.c old_state->tv.margins.top != new_state->tv.margins.top || tv 1841 drivers/gpu/drm/i915/display/intel_tv.c old_state->tv.margins.bottom != new_state->tv.margins.bottom) { tv 1957 drivers/gpu/drm/i915/display/intel_tv.c state->tv.margins.left = 54; tv 1958 drivers/gpu/drm/i915/display/intel_tv.c state->tv.margins.top = 36; tv 1959 drivers/gpu/drm/i915/display/intel_tv.c state->tv.margins.right = 46; tv 1960 drivers/gpu/drm/i915/display/intel_tv.c state->tv.margins.bottom = 37; tv 1962 drivers/gpu/drm/i915/display/intel_tv.c state->tv.mode = initial_mode; tv 1980 drivers/gpu/drm/i915/display/intel_tv.c state->tv.mode); tv 1983 drivers/gpu/drm/i915/display/intel_tv.c state->tv.margins.left); tv 1986 drivers/gpu/drm/i915/display/intel_tv.c state->tv.margins.top); tv 1989 drivers/gpu/drm/i915/display/intel_tv.c state->tv.margins.right); tv 1992 drivers/gpu/drm/i915/display/intel_tv.c state->tv.margins.bottom); tv 1193 drivers/gpu/drm/nouveau/nouveau_bios.c bios->legacy.i2c_indices.tv = bios->data[legacy_i2c_offset + 1]; tv 1771 drivers/gpu/drm/nouveau/nouveau_bios.c if (nv04_tv_identify(dev, bios->legacy.i2c_indices.tv) >= 0) tv 1773 drivers/gpu/drm/nouveau/nouveau_bios.c bios->legacy.i2c_indices.tv, tv 149 drivers/gpu/drm/nouveau/nouveau_bios.h uint8_t crt, tv, panel; tv 105 drivers/gpu/drm/qxl/qxl_drv.h struct ttm_validate_buffer tv; tv 167 drivers/gpu/drm/qxl/qxl_release.c struct qxl_bo_list, tv.head); tv 168 drivers/gpu/drm/qxl/qxl_release.c bo = to_qxl_bo(entry->tv.bo); tv 170 drivers/gpu/drm/qxl/qxl_release.c list_del(&entry->tv.head); tv 213 drivers/gpu/drm/qxl/qxl_release.c list_for_each_entry(entry, &release->bos, tv.head) { tv 214 drivers/gpu/drm/qxl/qxl_release.c if (entry->tv.bo == &bo->tbo) tv 223 drivers/gpu/drm/qxl/qxl_release.c entry->tv.bo = &bo->tbo; tv 224 drivers/gpu/drm/qxl/qxl_release.c entry->tv.num_shared = 0; tv 225 drivers/gpu/drm/qxl/qxl_release.c list_add_tail(&entry->tv.head, &release->bos); tv 267 drivers/gpu/drm/qxl/qxl_release.c list_for_each_entry(entry, &release->bos, tv.head) { tv 268 drivers/gpu/drm/qxl/qxl_release.c struct qxl_bo *bo = to_qxl_bo(entry->tv.bo); tv 462 drivers/gpu/drm/radeon/radeon.h struct ttm_validate_buffer tv; tv 186 drivers/gpu/drm/radeon/radeon_cs.c p->relocs[i].tv.bo = &p->relocs[i].robj->tbo; tv 187 drivers/gpu/drm/radeon/radeon_cs.c p->relocs[i].tv.num_shared = !r->write_domain; tv 189 drivers/gpu/drm/radeon/radeon_cs.c radeon_cs_buckets_add(&buckets, &p->relocs[i].tv.head, tv 257 drivers/gpu/drm/radeon/radeon_cs.c list_for_each_entry(reloc, &p->validated, tv.head) { tv 262 drivers/gpu/drm/radeon/radeon_cs.c reloc->tv.num_shared); tv 400 drivers/gpu/drm/radeon/radeon_cs.c struct radeon_bo_list *la = list_entry(a, struct radeon_bo_list, tv.head); tv 401 drivers/gpu/drm/radeon/radeon_cs.c struct radeon_bo_list *lb = list_entry(b, struct radeon_bo_list, tv.head); tv 241 drivers/gpu/drm/radeon/radeon_drv.c MODULE_PARM_DESC(tv, "TV enable (0 = disable)"); tv 242 drivers/gpu/drm/radeon/radeon_drv.c module_param_named(tv, radeon_tv, int, 0444); tv 552 drivers/gpu/drm/radeon/radeon_gem.c struct ttm_validate_buffer tv, *entry; tv 561 drivers/gpu/drm/radeon/radeon_gem.c tv.bo = &bo_va->bo->tbo; tv 562 drivers/gpu/drm/radeon/radeon_gem.c tv.num_shared = 1; tv 563 drivers/gpu/drm/radeon/radeon_gem.c list_add(&tv.head, &list); tv 396 drivers/gpu/drm/radeon/radeon_legacy_tv.c WREG32(RADEON_TV_UV_ADR, tv_dac->tv.tv_uv_adr); tv 397 drivers/gpu/drm/radeon/radeon_legacy_tv.c h_table = radeon_get_htiming_tables_addr(tv_dac->tv.tv_uv_adr); tv 398 drivers/gpu/drm/radeon/radeon_legacy_tv.c v_table = radeon_get_vtiming_tables_addr(tv_dac->tv.tv_uv_adr); tv 401 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = ((uint32_t)tv_dac->tv.h_code_timing[i] << 14) | ((uint32_t)tv_dac->tv.h_code_timing[i+1]); tv 403 drivers/gpu/drm/radeon/radeon_legacy_tv.c if (tv_dac->tv.h_code_timing[i] == 0 || tv_dac->tv.h_code_timing[i + 1] == 0) tv 407 drivers/gpu/drm/radeon/radeon_legacy_tv.c tmp = ((uint32_t)tv_dac->tv.v_code_timing[i+1] << 14) | ((uint32_t)tv_dac->tv.v_code_timing[i]); tv 409 drivers/gpu/drm/radeon/radeon_legacy_tv.c if (tv_dac->tv.v_code_timing[i] == 0 || tv_dac->tv.v_code_timing[i + 1] == 0) tv 419 drivers/gpu/drm/radeon/radeon_legacy_tv.c WREG32(RADEON_TV_FRESTART, tv_dac->tv.frestart); tv 420 drivers/gpu/drm/radeon/radeon_legacy_tv.c WREG32(RADEON_TV_HRESTART, tv_dac->tv.hrestart); tv 421 drivers/gpu/drm/radeon/radeon_legacy_tv.c WREG32(RADEON_TV_VRESTART, tv_dac->tv.vrestart); tv 467 drivers/gpu/drm/radeon/radeon_legacy_tv.c h_changed = (p1 != tv_dac->tv.h_code_timing[H_TABLE_POS1] || tv 468 drivers/gpu/drm/radeon/radeon_legacy_tv.c p2 != tv_dac->tv.h_code_timing[H_TABLE_POS2]); tv 470 drivers/gpu/drm/radeon/radeon_legacy_tv.c tv_dac->tv.h_code_timing[H_TABLE_POS1] = p1; tv 471 drivers/gpu/drm/radeon/radeon_legacy_tv.c tv_dac->tv.h_code_timing[H_TABLE_POS2] = p2; tv 495 drivers/gpu/drm/radeon/radeon_legacy_tv.c tv_dac->tv.hrestart = restart % h_total; tv 497 drivers/gpu/drm/radeon/radeon_legacy_tv.c tv_dac->tv.vrestart = restart % v_total; tv 499 drivers/gpu/drm/radeon/radeon_legacy_tv.c tv_dac->tv.frestart = restart % f_total; tv 502 drivers/gpu/drm/radeon/radeon_legacy_tv.c (unsigned)tv_dac->tv.frestart, tv 503 drivers/gpu/drm/radeon/radeon_legacy_tv.c (unsigned)tv_dac->tv.vrestart, tv 504 drivers/gpu/drm/radeon/radeon_legacy_tv.c (unsigned)tv_dac->tv.hrestart); tv 516 drivers/gpu/drm/radeon/radeon_legacy_tv.c tv_dac->tv.timing_cntl = (tv_dac->tv.timing_cntl & ~RADEON_H_INC_MASK) | tv 665 drivers/gpu/drm/radeon/radeon_legacy_tv.c tv_dac->tv.timing_cntl = tmp; tv 718 drivers/gpu/drm/radeon/radeon_legacy_tv.c tv_dac->tv.tv_uv_adr = 0xc8; tv 734 drivers/gpu/drm/radeon/radeon_legacy_tv.c if ((tv_dac->tv.h_code_timing[i] = hor_timing[i]) == 0) tv 739 drivers/gpu/drm/radeon/radeon_legacy_tv.c if ((tv_dac->tv.v_code_timing[i] = vert_timing[i]) == 0) tv 809 drivers/gpu/drm/radeon/radeon_legacy_tv.c WREG32(RADEON_TV_TIMING_CNTL, tv_dac->tv.timing_cntl); tv 411 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_tv_regs tv; tv 550 drivers/gpu/drm/radeon/radeon_object.c list_for_each_entry(lobj, head, tv.head) { tv 597 drivers/gpu/drm/radeon/radeon_object.c list_for_each_entry(lobj, &duplicates, tv.head) { tv 144 drivers/gpu/drm/radeon/radeon_vm.c list[0].tv.bo = &vm->page_directory->tbo; tv 145 drivers/gpu/drm/radeon/radeon_vm.c list[0].tv.num_shared = 1; tv 147 drivers/gpu/drm/radeon/radeon_vm.c list_add(&list[0].tv.head, head); tv 156 drivers/gpu/drm/radeon/radeon_vm.c list[idx].tv.bo = &list[idx].robj->tbo; tv 157 drivers/gpu/drm/radeon/radeon_vm.c list[idx].tv.num_shared = 1; tv 159 drivers/gpu/drm/radeon/radeon_vm.c list_add(&list[idx++].tv.head, head); tv 343 drivers/gpu/drm/sun4i/sun4i_tv.c struct sun4i_tv *tv = drm_encoder_to_sun4i_tv(encoder); tv 348 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_update_bits(tv->regs, SUN4I_TVE_EN_REG, tv 357 drivers/gpu/drm/sun4i/sun4i_tv.c struct sun4i_tv *tv = drm_encoder_to_sun4i_tv(encoder); tv 364 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_update_bits(tv->regs, SUN4I_TVE_EN_REG, tv 373 drivers/gpu/drm/sun4i/sun4i_tv.c struct sun4i_tv *tv = drm_encoder_to_sun4i_tv(encoder); tv 377 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_update_bits(tv->regs, SUN4I_TVE_EN_REG, tv 385 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_CFG0_REG, tv 394 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_DAC0_REG, tv 405 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_NOTCH_REG, tv 409 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_CHROMA_FREQ_REG, tv 413 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_PORCH_REG, tv 418 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_LINE_REG, tv 422 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_LEVEL_REG, tv 426 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_DAC1_REG, tv 432 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_CB_CR_LVL_REG, tv 437 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_BURST_WIDTH_REG, tv 442 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_CB_CR_GAIN_REG, tv 446 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_SYNC_VBI_REG, tv 450 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_ACTIVE_LINE_REG, tv 454 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_CHROMA_REG, tv 457 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_12C_REG, tv 461 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_RESYNC_REG, tv 467 drivers/gpu/drm/sun4i/sun4i_tv.c regmap_write(tv->regs, SUN4I_TVE_SLAVE_REG, 0); tv 548 drivers/gpu/drm/sun4i/sun4i_tv.c struct sun4i_tv *tv; tv 553 drivers/gpu/drm/sun4i/sun4i_tv.c tv = devm_kzalloc(dev, sizeof(*tv), GFP_KERNEL); tv 554 drivers/gpu/drm/sun4i/sun4i_tv.c if (!tv) tv 556 drivers/gpu/drm/sun4i/sun4i_tv.c tv->drv = drv; tv 557 drivers/gpu/drm/sun4i/sun4i_tv.c dev_set_drvdata(dev, tv); tv 566 drivers/gpu/drm/sun4i/sun4i_tv.c tv->regs = devm_regmap_init_mmio(dev, regs, tv 568 drivers/gpu/drm/sun4i/sun4i_tv.c if (IS_ERR(tv->regs)) { tv 570 drivers/gpu/drm/sun4i/sun4i_tv.c return PTR_ERR(tv->regs); tv 573 drivers/gpu/drm/sun4i/sun4i_tv.c tv->reset = devm_reset_control_get(dev, NULL); tv 574 drivers/gpu/drm/sun4i/sun4i_tv.c if (IS_ERR(tv->reset)) { tv 576 drivers/gpu/drm/sun4i/sun4i_tv.c return PTR_ERR(tv->reset); tv 579 drivers/gpu/drm/sun4i/sun4i_tv.c ret = reset_control_deassert(tv->reset); tv 585 drivers/gpu/drm/sun4i/sun4i_tv.c tv->clk = devm_clk_get(dev, NULL); tv 586 drivers/gpu/drm/sun4i/sun4i_tv.c if (IS_ERR(tv->clk)) { tv 588 drivers/gpu/drm/sun4i/sun4i_tv.c ret = PTR_ERR(tv->clk); tv 591 drivers/gpu/drm/sun4i/sun4i_tv.c clk_prepare_enable(tv->clk); tv 593 drivers/gpu/drm/sun4i/sun4i_tv.c drm_encoder_helper_add(&tv->encoder, tv 596 drivers/gpu/drm/sun4i/sun4i_tv.c &tv->encoder, tv 605 drivers/gpu/drm/sun4i/sun4i_tv.c tv->encoder.possible_crtcs = drm_of_find_possible_crtcs(drm, tv 607 drivers/gpu/drm/sun4i/sun4i_tv.c if (!tv->encoder.possible_crtcs) { tv 612 drivers/gpu/drm/sun4i/sun4i_tv.c drm_connector_helper_add(&tv->connector, tv 614 drivers/gpu/drm/sun4i/sun4i_tv.c ret = drm_connector_init(drm, &tv->connector, tv 622 drivers/gpu/drm/sun4i/sun4i_tv.c tv->connector.interlace_allowed = true; tv 624 drivers/gpu/drm/sun4i/sun4i_tv.c drm_connector_attach_encoder(&tv->connector, &tv->encoder); tv 629 drivers/gpu/drm/sun4i/sun4i_tv.c drm_encoder_cleanup(&tv->encoder); tv 631 drivers/gpu/drm/sun4i/sun4i_tv.c clk_disable_unprepare(tv->clk); tv 633 drivers/gpu/drm/sun4i/sun4i_tv.c reset_control_assert(tv->reset); tv 640 drivers/gpu/drm/sun4i/sun4i_tv.c struct sun4i_tv *tv = dev_get_drvdata(dev); tv 642 drivers/gpu/drm/sun4i/sun4i_tv.c drm_connector_cleanup(&tv->connector); tv 643 drivers/gpu/drm/sun4i/sun4i_tv.c drm_encoder_cleanup(&tv->encoder); tv 644 drivers/gpu/drm/sun4i/sun4i_tv.c clk_disable_unprepare(tv->clk); tv 617 drivers/gpu/drm/vc4/vc4_crtc.c *left = conn_state->tv.margins.left; tv 618 drivers/gpu/drm/vc4/vc4_crtc.c *right = conn_state->tv.margins.right; tv 619 drivers/gpu/drm/vc4/vc4_crtc.c *top = conn_state->tv.margins.top; tv 620 drivers/gpu/drm/vc4/vc4_crtc.c *bottom = conn_state->tv.margins.bottom; tv 672 drivers/gpu/drm/vc4/vc4_crtc.c vc4_state->margins.left = conn_state->tv.margins.left; tv 673 drivers/gpu/drm/vc4/vc4_crtc.c vc4_state->margins.right = conn_state->tv.margins.right; tv 674 drivers/gpu/drm/vc4/vc4_crtc.c vc4_state->margins.top = conn_state->tv.margins.top; tv 675 drivers/gpu/drm/vc4/vc4_crtc.c vc4_state->margins.bottom = conn_state->tv.margins.bottom; tv 401 drivers/gpu/drm/vc4/vc4_hdmi.c frame.avi.right_bar = cstate->tv.margins.right; tv 402 drivers/gpu/drm/vc4/vc4_hdmi.c frame.avi.left_bar = cstate->tv.margins.left; tv 403 drivers/gpu/drm/vc4/vc4_hdmi.c frame.avi.top_bar = cstate->tv.margins.top; tv 404 drivers/gpu/drm/vc4/vc4_hdmi.c frame.avi.bottom_bar = cstate->tv.margins.bottom; tv 322 drivers/gpu/drm/vc4/vc4_vec.c vc4_vec_tv_modes[state->tv.mode].mode); tv 487 drivers/gpu/drm/vc4/vc4_vec.c vec->tv_mode = &vc4_vec_tv_modes[conn_state->tv.mode]; tv 496 drivers/gpu/drm/vc4/vc4_vec.c vec_mode = &vc4_vec_tv_modes[conn_state->tv.mode]; tv 436 drivers/input/misc/hp_sdc_rtc.c struct timespec64 tv; tv 450 drivers/input/misc/hp_sdc_rtc.c if (hp_sdc_rtc_read_rt(&tv)) { tv 454 drivers/input/misc/hp_sdc_rtc.c (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); tv 457 drivers/input/misc/hp_sdc_rtc.c if (hp_sdc_rtc_read_fhs(&tv)) { tv 461 drivers/input/misc/hp_sdc_rtc.c (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); tv 464 drivers/input/misc/hp_sdc_rtc.c if (hp_sdc_rtc_read_mt(&tv)) { tv 468 drivers/input/misc/hp_sdc_rtc.c (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); tv 471 drivers/input/misc/hp_sdc_rtc.c if (hp_sdc_rtc_read_dt(&tv)) { tv 475 drivers/input/misc/hp_sdc_rtc.c (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); tv 478 drivers/input/misc/hp_sdc_rtc.c if (hp_sdc_rtc_read_ct(&tv)) { tv 482 drivers/input/misc/hp_sdc_rtc.c (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); tv 97 drivers/isdn/mISDN/socket.c struct __kernel_old_timeval tv; tv 100 drivers/isdn/mISDN/socket.c skb_get_timestamp(skb, &tv); tv 101 drivers/isdn/mISDN/socket.c put_cmsg(msg, SOL_MISDN, MISDN_TIME_STAMP, sizeof(tv), &tv); tv 2601 drivers/media/dvb-core/dvb_frontend.c ktime_t tv[10]; tv 2610 drivers/media/dvb-core/dvb_frontend.c tv[0] = nexttime; tv 2619 drivers/media/dvb-core/dvb_frontend.c tv[i + 1] = ktime_get_boottime(); tv 2634 drivers/media/dvb-core/dvb_frontend.c (int)ktime_us_delta(tv[i], tv[i - 1])); tv 400 drivers/media/dvb-frontends/stv0299.c ktime_t tv[10]; tv 415 drivers/media/dvb-frontends/stv0299.c tv[0] = nexttime; tv 422 drivers/media/dvb-frontends/stv0299.c tv[i+1] = ktime_get_boottime(); tv 439 drivers/media/dvb-frontends/stv0299.c (int) ktime_us_delta(tv[i], tv[i-1])); tv 3713 drivers/media/pci/bt8xx/bttv-cards.c struct tveeprom tv; tv 3715 drivers/media/pci/bt8xx/bttv-cards.c tveeprom_hauppauge_analog(&tv, eeprom_data); tv 3716 drivers/media/pci/bt8xx/bttv-cards.c btv->tuner_type = tv.tuner_type; tv 3717 drivers/media/pci/bt8xx/bttv-cards.c btv->has_radio = tv.has_radio; tv 3720 drivers/media/pci/bt8xx/bttv-cards.c btv->c.nr, tv.model); tv 3726 drivers/media/pci/bt8xx/bttv-cards.c if(tv.model == 64900) { tv 3735 drivers/media/pci/bt8xx/bttv-cards.c if (tv.model == 61334) tv 186 drivers/media/pci/bt8xx/bttv-input.c ktime_t tv; tv 191 drivers/media/pci/bt8xx/bttv-input.c tv = ktime_get(); tv 193 drivers/media/pci/bt8xx/bttv-input.c gap = ktime_to_us(ktime_sub(tv, ir->base_time)); tv 238 drivers/media/pci/bt8xx/bttv-input.c ktime_t tv; tv 248 drivers/media/pci/bt8xx/bttv-input.c tv = ktime_get(); tv 250 drivers/media/pci/bt8xx/bttv-input.c gap = ktime_to_us(ktime_sub(tv, ir->base_time)); tv 276 drivers/media/pci/bt8xx/bttv-input.c ir->base_time = tv; tv 25 drivers/media/pci/cx18/cx18-cards.c .tv = { 0x61, 0x60, I2C_CLIENT_END }, tv 35 drivers/media/pci/cx18/cx18-cards.c .tv = { 0x61, 0x60, I2C_CLIENT_END }, tv 95 drivers/media/pci/cx18/cx18-cards.h unsigned short tv[4]; /* tv tuner i2c addresses to probe */ tv 311 drivers/media/pci/cx18/cx18-driver.c void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv) tv 316 drivers/media/pci/cx18/cx18-driver.c memset(tv, 0, sizeof(*tv)); tv 333 drivers/media/pci/cx18/cx18-driver.c tveeprom_hauppauge_analog(tv, eedata); tv 337 drivers/media/pci/cx18/cx18-driver.c tv->model = 0x718; tv 343 drivers/media/pci/cx18/cx18-driver.c tv->model = 0xffffffff; tv 354 drivers/media/pci/cx18/cx18-driver.c struct tveeprom tv; tv 356 drivers/media/pci/cx18/cx18-driver.c cx18_read_eeprom(cx, &tv); tv 363 drivers/media/pci/cx18/cx18-driver.c switch (tv.model) { tv 395 drivers/media/pci/cx18/cx18-driver.c tv.model); tv 406 drivers/media/pci/cx18/cx18-driver.c if (tv.tuner_type == TUNER_ABSENT) tv 410 drivers/media/pci/cx18/cx18-driver.c cx->options.tuner = tv.tuner_type; tv 412 drivers/media/pci/cx18/cx18-driver.c cx->options.radio = (tv.has_radio != 0); tv 424 drivers/media/pci/cx18/cx18-driver.c if ((tv.tuner_formats & TVEEPROM_TUNER_FORMAT_ALL) tv 428 drivers/media/pci/cx18/cx18-driver.c } else if (tv.tuner_formats & V4L2_STD_PAL) { tv 431 drivers/media/pci/cx18/cx18-driver.c } else if (tv.tuner_formats & V4L2_STD_NTSC) { tv 434 drivers/media/pci/cx18/cx18-driver.c } else if (tv.tuner_formats & V4L2_STD_SECAM) { tv 682 drivers/media/pci/cx18/cx18-driver.h void cx18_read_eeprom(struct cx18 *cx, struct tveeprom *tv); tv 114 drivers/media/pci/cx18/cx18-i2c.c adap, type, 0, cx->card_i2c->tv); tv 1010 drivers/media/pci/cx18/cx18-ioctl.c struct tveeprom tv; tv 1012 drivers/media/pci/cx18/cx18-ioctl.c cx18_read_eeprom(cx, &tv); tv 1204 drivers/media/pci/cx23885/cx23885-cards.c struct tveeprom tv; tv 1206 drivers/media/pci/cx23885/cx23885-cards.c tveeprom_hauppauge_analog(&tv, eeprom_data); tv 1209 drivers/media/pci/cx23885/cx23885-cards.c switch (tv.model) { tv 1375 drivers/media/pci/cx23885/cx23885-cards.c dev->name, tv.model); tv 1380 drivers/media/pci/cx23885/cx23885-cards.c dev->name, tv.model); tv 2846 drivers/media/pci/cx88/cx88-cards.c struct tveeprom tv; tv 2848 drivers/media/pci/cx88/cx88-cards.c tveeprom_hauppauge_analog(&tv, eeprom_data); tv 2849 drivers/media/pci/cx88/cx88-cards.c core->board.tuner_type = tv.tuner_type; tv 2850 drivers/media/pci/cx88/cx88-cards.c core->tuner_formats = tv.tuner_formats; tv 2851 drivers/media/pci/cx88/cx88-cards.c core->board.radio.type = tv.has_radio ? CX88_RADIO : 0; tv 2852 drivers/media/pci/cx88/cx88-cards.c core->model = tv.model; tv 2855 drivers/media/pci/cx88/cx88-cards.c switch (tv.model) { tv 2896 drivers/media/pci/cx88/cx88-cards.c pr_warn("warning: unknown hauppauge model #%d\n", tv.model); tv 2900 drivers/media/pci/cx88/cx88-cards.c pr_info("hauppauge eeprom: model=%d\n", tv.model); tv 37 drivers/media/pci/ivtv/ivtv-cards.c .tv = { 0x61, 0x60, I2C_CLIENT_END }, tv 44 drivers/media/pci/ivtv/ivtv-cards.c .tv = { 0x61, I2C_CLIENT_END }, tv 51 drivers/media/pci/ivtv/ivtv-cards.c .tv = { 0x4b, I2C_CLIENT_END }, tv 243 drivers/media/pci/ivtv/ivtv-cards.h unsigned short tv[4]; /* tv tuner i2c addresses to probe */ tv 406 drivers/media/pci/ivtv/ivtv-driver.c void ivtv_read_eeprom(struct ivtv *itv, struct tveeprom *tv) tv 412 drivers/media/pci/ivtv/ivtv-driver.c tveeprom_hauppauge_analog(tv, eedata); tv 417 drivers/media/pci/ivtv/ivtv-driver.c struct tveeprom tv; tv 420 drivers/media/pci/ivtv/ivtv-driver.c ivtv_read_eeprom(itv, &tv); tv 424 drivers/media/pci/ivtv/ivtv-driver.c switch (tv.model) { tv 447 drivers/media/pci/ivtv/ivtv-driver.c IVTV_ERR("Unknown model %d, defaulting to PVR-150\n", tv.model); tv 452 drivers/media/pci/ivtv/ivtv-driver.c switch (tv.model) { tv 481 drivers/media/pci/ivtv/ivtv-driver.c if (tv.model / 1000 == 23) { tv 485 drivers/media/pci/ivtv/ivtv-driver.c .tv = { 0x61, I2C_CLIENT_END }, tv 497 drivers/media/pci/ivtv/ivtv-driver.c tv.has_radio = 0; tv 503 drivers/media/pci/ivtv/ivtv-driver.c switch (tv.tuner_hauppauge_model) { tv 512 drivers/media/pci/ivtv/ivtv-driver.c if (tv.tuner_type == TUNER_ABSENT) tv 516 drivers/media/pci/ivtv/ivtv-driver.c itv->options.tuner = tv.tuner_type; tv 518 drivers/media/pci/ivtv/ivtv-driver.c itv->options.radio = (tv.has_radio != 0); tv 520 drivers/media/pci/ivtv/ivtv-driver.c if (itv->options.newi2c == -1 && tv.has_ir) { tv 521 drivers/media/pci/ivtv/ivtv-driver.c itv->options.newi2c = (tv.has_ir & 4) ? 1 : 0; tv 534 drivers/media/pci/ivtv/ivtv-driver.c if (tv.tuner_formats & V4L2_STD_PAL) { tv 537 drivers/media/pci/ivtv/ivtv-driver.c } else if (tv.tuner_formats & V4L2_STD_NTSC) { tv 540 drivers/media/pci/ivtv/ivtv-driver.c } else if (tv.tuner_formats & V4L2_STD_SECAM) { tv 791 drivers/media/pci/ivtv/ivtv-driver.h void ivtv_read_eeprom(struct ivtv *itv, struct tveeprom *tv); tv 259 drivers/media/pci/ivtv/ivtv-i2c.c itv->card_i2c->tv); tv 1509 drivers/media/pci/ivtv/ivtv-ioctl.c struct tveeprom tv; tv 1511 drivers/media/pci/ivtv/ivtv-ioctl.c ivtv_read_eeprom(itv, &tv); tv 7326 drivers/media/pci/saa7134/saa7134-cards.c struct tveeprom tv; tv 7328 drivers/media/pci/saa7134/saa7134-cards.c tveeprom_hauppauge_analog(&tv, eeprom_data); tv 7331 drivers/media/pci/saa7134/saa7134-cards.c switch (tv.model) { tv 7347 drivers/media/pci/saa7134/saa7134-cards.c dev->name, tv.model); tv 7352 drivers/media/pci/saa7134/saa7134-cards.c dev->name, tv.model); tv 771 drivers/media/pci/saa7164/saa7164-cards.c struct tveeprom tv; tv 773 drivers/media/pci/saa7164/saa7164-cards.c tveeprom_hauppauge_analog(&tv, eeprom_data); tv 776 drivers/media/pci/saa7164/saa7164-cards.c switch (tv.model) { tv 819 drivers/media/pci/saa7164/saa7164-cards.c dev->name, tv.model); tv 824 drivers/media/pci/saa7164/saa7164-cards.c tv.model); tv 144 drivers/media/usb/au0828/au0828-cards.c struct tveeprom tv; tv 146 drivers/media/usb/au0828/au0828-cards.c tveeprom_hauppauge_analog(&tv, eeprom_data); tv 147 drivers/media/usb/au0828/au0828-cards.c dev->board.tuner_type = tv.tuner_type; tv 150 drivers/media/usb/au0828/au0828-cards.c switch (tv.model) { tv 168 drivers/media/usb/au0828/au0828-cards.c __func__, tv.model); tv 173 drivers/media/usb/au0828/au0828-cards.c __func__, tv.model); tv 948 drivers/media/usb/dvb-usb-v2/mxl111sf.c tveeprom_hauppauge_analog(&state->tv, (0x84 == eeprom[0xa0]) ? tv 951 drivers/media/usb/dvb-usb-v2/mxl111sf.c switch (state->tv.model) { tv 958 drivers/media/usb/dvb-usb-v2/mxl111sf.c __func__, state->tv.model); tv 90 drivers/media/usb/dvb-usb-v2/mxl111sf.h struct tveeprom tv; tv 3100 drivers/media/usb/em28xx/em28xx-cards.c struct tveeprom tv; tv 3109 drivers/media/usb/em28xx/em28xx-cards.c tveeprom_hauppauge_analog(&tv, dev->eedata); tv 3111 drivers/media/usb/em28xx/em28xx-cards.c dev->tuner_type = tv.tuner_type; tv 3113 drivers/media/usb/em28xx/em28xx-cards.c if (tv.audio_processor == TVEEPROM_AUDPROC_MSP) { tv 587 drivers/media/v4l2-core/tuner-core.c struct tuner **radio, struct tuner **tv) tv 592 drivers/media/v4l2-core/tuner-core.c *tv = NULL; tv 607 drivers/media/v4l2-core/tuner-core.c else if (*tv == NULL && pos->type != TUNER_TDA9887 && tv 609 drivers/media/v4l2-core/tuner-core.c *tv = pos; tv 633 drivers/media/v4l2-core/tuner-core.c struct tuner *tv; tv 669 drivers/media/v4l2-core/tuner-core.c tuner_lookup(t->i2c->adapter, &radio, &tv); tv 670 drivers/media/v4l2-core/tuner-core.c if (tv) tv 671 drivers/media/v4l2-core/tuner-core.c tv->mode_mask &= ~T_RADIO; tv 700 drivers/media/v4l2-core/tuner-core.c tuner_lookup(t->i2c->adapter, &radio, &tv); tv 701 drivers/media/v4l2-core/tuner-core.c if (tv) tv 702 drivers/media/v4l2-core/tuner-core.c tv->mode_mask &= ~T_RADIO; tv 717 drivers/media/v4l2-core/tuner-core.c tuner_lookup(t->i2c->adapter, &radio, &tv); tv 718 drivers/media/v4l2-core/tuner-core.c if (tv == NULL) { tv 562 drivers/mmc/host/mtk-sd.c unsigned int tv = readl(reg); tv 564 drivers/mmc/host/mtk-sd.c tv &= ~field; tv 565 drivers/mmc/host/mtk-sd.c tv |= ((val) << (ffs((unsigned int)field) - 1)); tv 566 drivers/mmc/host/mtk-sd.c writel(tv, reg); tv 571 drivers/mmc/host/mtk-sd.c unsigned int tv = readl(reg); tv 573 drivers/mmc/host/mtk-sd.c *val = ((tv & field) >> (ffs((unsigned int)field) - 1)); tv 146 drivers/net/can/usb/peak_usb/pcan_usb_core.h void peak_usb_get_ts_time(struct peak_time_ref *time_ref, u32 ts, ktime_t *tv); tv 208 drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c dev_info(dev, "(TX)tv: %u\n", tx_desc->tx.tv); tv 262 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h __le16 tv; tv 32 drivers/scsi/bfa/bfa_plog.h u64 tv; /* timestamp */ tv 303 drivers/scsi/bfa/bfa_svc.c pl_recp->tv = ktime_get_real_seconds(); tv 1319 drivers/staging/comedi/comedi_fops.c struct timespec64 tv; tv 1326 drivers/staging/comedi/comedi_fops.c ktime_get_real_ts64(&tv); tv 1328 drivers/staging/comedi/comedi_fops.c data[0] = (unsigned int)tv.tv_sec; tv 1329 drivers/staging/comedi/comedi_fops.c data[1] = tv.tv_nsec / NSEC_PER_USEC; tv 37 drivers/usb/misc/trancevibrator.c struct trancevibrator *tv = usb_get_intfdata(intf); tv 39 drivers/usb/misc/trancevibrator.c return sprintf(buf, "%d\n", tv->speed); tv 46 drivers/usb/misc/trancevibrator.c struct trancevibrator *tv = usb_get_intfdata(intf); tv 56 drivers/usb/misc/trancevibrator.c old = tv->speed; tv 57 drivers/usb/misc/trancevibrator.c tv->speed = temp; tv 59 drivers/usb/misc/trancevibrator.c dev_dbg(&tv->udev->dev, "speed = %d\n", tv->speed); tv 62 drivers/usb/misc/trancevibrator.c retval = usb_control_msg(tv->udev, usb_sndctrlpipe(tv->udev, 0), tv 65 drivers/usb/misc/trancevibrator.c tv->speed, /* speed value */ tv 68 drivers/usb/misc/trancevibrator.c tv->speed = old; tv 69 drivers/usb/misc/trancevibrator.c dev_dbg(&tv->udev->dev, "retval = %d\n", retval); tv 80 drivers/usb/misc/trancevibrator.c ATTRIBUTE_GROUPS(tv); tv 167 fs/adfs/inode.c adfs_adfs2unix_time(struct timespec64 *tv, struct inode *inode) tv 195 fs/adfs/inode.c *tv = ns_to_timespec64(nsec); tv 199 fs/adfs/inode.c *tv = current_time(inode); tv 203 fs/adfs/inode.c tv->tv_sec = tv->tv_nsec = 0; tv 1038 fs/dlm/lowcomms.c struct timeval tv = { .tv_sec = 5, .tv_usec = 0 }; tv 1090 fs/dlm/lowcomms.c kernel_setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO_OLD, (char *)&tv, tv 1091 fs/dlm/lowcomms.c sizeof(tv)); tv 1094 fs/dlm/lowcomms.c memset(&tv, 0, sizeof(tv)); tv 1095 fs/dlm/lowcomms.c kernel_setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO_OLD, (char *)&tv, tv 1096 fs/dlm/lowcomms.c sizeof(tv)); tv 874 fs/gfs2/dir.c struct timespec64 tv = current_time(inode); tv 893 fs/gfs2/dir.c leaf->lf_nsec = cpu_to_be32(tv.tv_nsec); tv 894 fs/gfs2/dir.c leaf->lf_sec = cpu_to_be64(tv.tv_sec); tv 1802 fs/gfs2/dir.c struct timespec64 tv; tv 1818 fs/gfs2/dir.c tv = current_time(&ip->i_inode); tv 1822 fs/gfs2/dir.c leaf->lf_nsec = cpu_to_be32(tv.tv_nsec); tv 1823 fs/gfs2/dir.c leaf->lf_sec = cpu_to_be64(tv.tv_sec); tv 1829 fs/gfs2/dir.c ip->i_inode.i_mtime = ip->i_inode.i_ctime = tv; tv 1880 fs/gfs2/dir.c struct timespec64 tv = current_time(&dip->i_inode); tv 1906 fs/gfs2/dir.c leaf->lf_nsec = cpu_to_be32(tv.tv_nsec); tv 1907 fs/gfs2/dir.c leaf->lf_sec = cpu_to_be64(tv.tv_sec); tv 1914 fs/gfs2/dir.c dip->i_inode.i_mtime = dip->i_inode.i_ctime = tv; tv 695 fs/gfs2/log.c struct timespec64 tv; tv 714 fs/gfs2/log.c ktime_get_coarse_real_ts64(&tv); tv 715 fs/gfs2/log.c lh->lh_nsec = cpu_to_be32(tv.tv_nsec); tv 716 fs/gfs2/log.c lh->lh_sec = cpu_to_be64(tv.tv_sec); tv 37 fs/jffs2/os-linux.h #define I_SEC(tv) JFFS2_CLAMP_TIME((tv).tv_sec) tv 281 fs/nfsd/nfs4xdr.c nfsd4_decode_time(struct nfsd4_compoundargs *argp, struct timespec64 *tv) tv 286 fs/nfsd/nfs4xdr.c p = xdr_decode_hyper(p, &tv->tv_sec); tv 287 fs/nfsd/nfs4xdr.c tv->tv_nsec = be32_to_cpup(p++); tv 288 fs/nfsd/nfs4xdr.c if (tv->tv_nsec >= (u32)1000000000) tv 52 fs/select.c static long __estimate_accuracy(struct timespec64 *tv) tv 57 fs/select.c if (tv->tv_sec < 0) tv 63 fs/select.c if (tv->tv_sec > MAX_SLACK / (NSEC_PER_SEC/divfactor)) tv 66 fs/select.c slack = tv->tv_nsec / divfactor; tv 67 fs/select.c slack += tv->tv_sec * (NSEC_PER_SEC/divfactor); tv 75 fs/select.c u64 select_estimate_accuracy(struct timespec64 *tv) tv 88 fs/select.c now = timespec64_sub(*tv, now); tv 704 fs/select.c struct timeval tv; tv 708 fs/select.c if (copy_from_user(&tv, tvp, sizeof(tv))) tv 713 fs/select.c tv.tv_sec + (tv.tv_usec / USEC_PER_SEC), tv 714 fs/select.c (tv.tv_usec % USEC_PER_SEC) * NSEC_PER_USEC)) tv 1250 fs/select.c struct old_timeval32 tv; tv 1254 fs/select.c if (copy_from_user(&tv, tvp, sizeof(tv))) tv 1259 fs/select.c tv.tv_sec + (tv.tv_usec / USEC_PER_SEC), tv 1260 fs/select.c (tv.tv_usec % USEC_PER_SEC) * NSEC_PER_USEC)) tv 206 fs/utimes.c struct timespec64 tv[2]; tv 209 fs/utimes.c if (get_user(tv[0].tv_sec, ×->actime) || tv 210 fs/utimes.c get_user(tv[1].tv_sec, ×->modtime)) tv 212 fs/utimes.c tv[0].tv_nsec = 0; tv 213 fs/utimes.c tv[1].tv_nsec = 0; tv 215 fs/utimes.c return do_utimes(AT_FDCWD, filename, times ? tv : NULL, 0); tv 228 fs/utimes.c struct timespec64 tv[2]; tv 231 fs/utimes.c if (get_user(tv[0].tv_sec, &t->actime) || tv 232 fs/utimes.c get_user(tv[1].tv_sec, &t->modtime)) tv 234 fs/utimes.c tv[0].tv_nsec = 0; tv 235 fs/utimes.c tv[1].tv_nsec = 0; tv 237 fs/utimes.c return do_utimes(AT_FDCWD, filename, t ? tv : NULL, 0); tv 243 fs/utimes.c struct timespec64 tv[2]; tv 246 fs/utimes.c if (get_old_timespec32(&tv[0], &t[0]) || tv 247 fs/utimes.c get_old_timespec32(&tv[1], &t[1])) tv 250 fs/utimes.c if (tv[0].tv_nsec == UTIME_OMIT && tv[1].tv_nsec == UTIME_OMIT) tv 253 fs/utimes.c return do_utimes(dfd, filename, t ? tv : NULL, flags); tv 260 fs/utimes.c struct timespec64 tv[2]; tv 263 fs/utimes.c if (get_user(tv[0].tv_sec, &t[0].tv_sec) || tv 264 fs/utimes.c get_user(tv[0].tv_nsec, &t[0].tv_usec) || tv 265 fs/utimes.c get_user(tv[1].tv_sec, &t[1].tv_sec) || tv 266 fs/utimes.c get_user(tv[1].tv_nsec, &t[1].tv_usec)) tv 268 fs/utimes.c if (tv[0].tv_nsec >= 1000000 || tv[0].tv_nsec < 0 || tv 269 fs/utimes.c tv[1].tv_nsec >= 1000000 || tv[1].tv_nsec < 0) tv 271 fs/utimes.c tv[0].tv_nsec *= 1000; tv 272 fs/utimes.c tv[1].tv_nsec *= 1000; tv 274 fs/utimes.c return do_utimes(dfd, filename, t ? tv : NULL, 0); tv 58 fs/xfs/libxfs/xfs_trans_inode.c struct timespec64 tv; tv 63 fs/xfs/libxfs/xfs_trans_inode.c tv = current_time(inode); tv 66 fs/xfs/libxfs/xfs_trans_inode.c inode->i_mtime = tv; tv 68 fs/xfs/libxfs/xfs_trans_inode.c inode->i_ctime = tv; tv 70 fs/xfs/libxfs/xfs_trans_inode.c ip->i_d.di_crtime.t_sec = (int32_t)tv.tv_sec; tv 71 fs/xfs/libxfs/xfs_trans_inode.c ip->i_d.di_crtime.t_nsec = (int32_t)tv.tv_nsec; tv 758 fs/xfs/xfs_inode.c struct timespec64 tv; tv 834 fs/xfs/xfs_inode.c tv = current_time(inode); tv 835 fs/xfs/xfs_inode.c inode->i_mtime = tv; tv 836 fs/xfs/xfs_inode.c inode->i_atime = tv; tv 837 fs/xfs/xfs_inode.c inode->i_ctime = tv; tv 848 fs/xfs/xfs_inode.c ip->i_d.di_crtime.t_sec = (int32_t)tv.tv_sec; tv 849 fs/xfs/xfs_inode.c ip->i_d.di_crtime.t_nsec = (int32_t)tv.tv_nsec; tv 572 include/drm/drm_connector.h struct drm_tv_connector_state tv; tv 200 include/linux/ceph/decode.h const struct ceph_timespec *tv) tv 208 include/linux/ceph/decode.h ts->tv_sec = (time64_t)le32_to_cpu(tv->tv_sec); tv 209 include/linux/ceph/decode.h ts->tv_nsec = (long)le32_to_cpu(tv->tv_nsec); tv 211 include/linux/ceph/decode.h static inline void ceph_encode_timespec64(struct ceph_timespec *tv, tv 214 include/linux/ceph/decode.h tv->tv_sec = cpu_to_le32((u32)ts->tv_sec); tv 215 include/linux/ceph/decode.h tv->tv_nsec = cpu_to_le32((u32)ts->tv_nsec); tv 732 include/linux/compat.h asmlinkage long compat_sys_gettimeofday(struct old_timeval32 __user *tv, tv 734 include/linux/compat.h asmlinkage long compat_sys_settimeofday(struct old_timeval32 __user *tv, tv 938 include/linux/compat.h struct timeval tv; tv 941 include/linux/compat.h tv = ns_to_timeval(nsec); tv 942 include/linux/compat.h ctv.tv_sec = tv.tv_sec; tv 943 include/linux/compat.h ctv.tv_usec = tv.tv_usec; tv 82 include/linux/ktime.h static inline ktime_t timeval_to_ktime(struct timeval tv) tv 84 include/linux/ktime.h return ktime_set(tv.tv_sec, tv.tv_usec * NSEC_PER_USEC); tv 115 include/linux/poll.h extern u64 select_estimate_accuracy(struct timespec64 *tv); tv 186 include/linux/raid/pq.h struct timeval tv; tv 187 include/linux/raid/pq.h gettimeofday(&tv, NULL); tv 188 include/linux/raid/pq.h return tv.tv_sec*1000 + tv.tv_usec/1000; tv 735 include/linux/syscalls.h asmlinkage long sys_gettimeofday(struct timeval __user *tv, tv 737 include/linux/syscalls.h asmlinkage long sys_settimeofday(struct timeval __user *tv, tv 185 include/linux/time32.h static inline bool timeval_valid(const struct timeval *tv) tv 188 include/linux/time32.h if (tv->tv_sec < 0) tv 192 include/linux/time32.h if (tv->tv_usec < 0 || tv->tv_usec >= USEC_PER_SEC) tv 205 include/linux/time32.h static inline s64 timeval_to_ns(const struct timeval *tv) tv 207 include/linux/time32.h return ((s64) tv->tv_sec * NSEC_PER_SEC) + tv 208 include/linux/time32.h tv->tv_usec * NSEC_PER_USEC; tv 20 include/linux/timekeeping.h extern int do_sys_settimeofday64(const struct timespec64 *tv, tv 43 include/linux/timekeeping.h extern void ktime_get_real_ts64(struct timespec64 *tv); tv 1159 include/sound/pcm.h struct timespec *tv) tv 1163 include/sound/pcm.h ktime_get_ts(tv); tv 1166 include/sound/pcm.h getrawmonotonic(tv); tv 1169 include/sound/pcm.h getnstimeofday(tv); tv 1020 include/uapi/linux/videodev2.h static inline __u64 v4l2_timeval_to_ns(const struct timeval *tv) tv 1022 include/uapi/linux/videodev2.h return (__u64)tv->tv_sec * 1000000000ULL + tv->tv_usec * 1000; tv 29 kernel/compat.c static int __compat_get_timeval(struct timeval *tv, const struct old_timeval32 __user *ctv) tv 32 kernel/compat.c __get_user(tv->tv_sec, &ctv->tv_sec) || tv 33 kernel/compat.c __get_user(tv->tv_usec, &ctv->tv_usec)) ? -EFAULT : 0; tv 36 kernel/compat.c static int __compat_put_timeval(const struct timeval *tv, struct old_timeval32 __user *ctv) tv 39 kernel/compat.c __put_user(tv->tv_sec, &ctv->tv_sec) || tv 40 kernel/compat.c __put_user(tv->tv_usec, &ctv->tv_usec)) ? -EFAULT : 0; tv 57 kernel/compat.c int compat_get_timeval(struct timeval *tv, const void __user *utv) tv 60 kernel/compat.c return copy_from_user(tv, utv, sizeof(*tv)) ? -EFAULT : 0; tv 62 kernel/compat.c return __compat_get_timeval(tv, utv); tv 66 kernel/compat.c int compat_put_timeval(const struct timeval *tv, void __user *utv) tv 69 kernel/compat.c return copy_to_user(utv, tv, sizeof(*tv)) ? -EFAULT : 0; tv 71 kernel/compat.c return __compat_put_timeval(tv, utv); tv 83 kernel/time/time.c struct timespec64 tv; tv 86 kernel/time/time.c if (get_user(tv.tv_sec, tptr)) tv 89 kernel/time/time.c tv.tv_nsec = 0; tv 91 kernel/time/time.c err = security_settime64(&tv, NULL); tv 95 kernel/time/time.c do_settimeofday64(&tv); tv 121 kernel/time/time.c struct timespec64 tv; tv 124 kernel/time/time.c if (get_user(tv.tv_sec, tptr)) tv 127 kernel/time/time.c tv.tv_nsec = 0; tv 129 kernel/time/time.c err = security_settime64(&tv, NULL); tv 133 kernel/time/time.c do_settimeofday64(&tv); tv 140 kernel/time/time.c SYSCALL_DEFINE2(gettimeofday, struct timeval __user *, tv, tv 143 kernel/time/time.c if (likely(tv != NULL)) { tv 147 kernel/time/time.c if (put_user(ts.tv_sec, &tv->tv_sec) || tv 148 kernel/time/time.c put_user(ts.tv_nsec / 1000, &tv->tv_usec)) tv 169 kernel/time/time.c int do_sys_settimeofday64(const struct timespec64 *tv, const struct timezone *tz) tv 174 kernel/time/time.c if (tv && !timespec64_valid_settod(tv)) tv 177 kernel/time/time.c error = security_settime64(tv, tz); tv 190 kernel/time/time.c if (!tv) tv 194 kernel/time/time.c if (tv) tv 195 kernel/time/time.c return do_settimeofday64(tv); tv 199 kernel/time/time.c SYSCALL_DEFINE2(settimeofday, struct timeval __user *, tv, tv 206 kernel/time/time.c if (tv) { tv 207 kernel/time/time.c if (copy_from_user(&user_tv, tv, sizeof(*tv))) tv 221 kernel/time/time.c return do_sys_settimeofday64(tv ? &new_ts : NULL, tz ? &new_tz : NULL); tv 225 kernel/time/time.c COMPAT_SYSCALL_DEFINE2(gettimeofday, struct old_timeval32 __user *, tv, tv 228 kernel/time/time.c if (tv) { tv 232 kernel/time/time.c if (put_user(ts.tv_sec, &tv->tv_sec) || tv 233 kernel/time/time.c put_user(ts.tv_nsec / 1000, &tv->tv_usec)) tv 244 kernel/time/time.c COMPAT_SYSCALL_DEFINE2(settimeofday, struct old_timeval32 __user *, tv, tv 251 kernel/time/time.c if (tv) { tv 252 kernel/time/time.c if (compat_get_timeval(&user_tv, tv)) tv 266 kernel/time/time.c return do_sys_settimeofday64(tv ? &new_ts : NULL, tz ? &new_tz : NULL); tv 488 kernel/time/time.c struct timeval tv; tv 490 kernel/time/time.c tv.tv_sec = ts.tv_sec; tv 491 kernel/time/time.c tv.tv_usec = (suseconds_t) ts.tv_nsec / 1000; tv 493 kernel/time/time.c return tv; tv 500 kernel/time/time.c struct __kernel_old_timeval tv; tv 502 kernel/time/time.c tv.tv_sec = ts.tv_sec; tv 503 kernel/time/time.c tv.tv_usec = (suseconds_t)ts.tv_nsec / 1000; tv 505 kernel/time/time.c return tv; tv 144 lib/vdso/gettimeofday.c __cvdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) tv 148 lib/vdso/gettimeofday.c if (likely(tv != NULL)) { tv 152 lib/vdso/gettimeofday.c return gettimeofday_fallback(tv, tz); tv 154 lib/vdso/gettimeofday.c tv->tv_sec = ts.tv_sec; tv 155 lib/vdso/gettimeofday.c tv->tv_usec = (u32)ts.tv_nsec / NSEC_PER_USEC; tv 1390 net/bluetooth/hci_sock.c struct __kernel_old_timeval tv; tv 1394 net/bluetooth/hci_sock.c skb_get_timestamp(skb, &tv); tv 1396 net/bluetooth/hci_sock.c data = &tv; tv 1397 net/bluetooth/hci_sock.c len = sizeof(tv); tv 1401 net/bluetooth/hci_sock.c ctv.tv_sec = tv.tv_sec; tv 1402 net/bluetooth/hci_sock.c ctv.tv_usec = tv.tv_usec; tv 141 net/can/bcm.c static inline ktime_t bcm_timeval_to_ktime(struct bcm_timeval tv) tv 143 net/can/bcm.c return ktime_set(tv.tv_sec, tv.tv_usec * NSEC_PER_USEC); tv 225 net/compat.c struct __kernel_old_timeval *tv = (struct __kernel_old_timeval *)data; tv 226 net/compat.c ctv.tv_sec = tv->tv_sec; tv 227 net/compat.c ctv.tv_usec = tv->tv_usec; tv 335 net/core/sock.c struct __kernel_sock_timeval tv; tv 339 net/core/sock.c tv.tv_sec = 0; tv 340 net/core/sock.c tv.tv_usec = 0; tv 342 net/core/sock.c tv.tv_sec = timeo / HZ; tv 343 net/core/sock.c tv.tv_usec = ((timeo % HZ) * USEC_PER_SEC) / HZ; tv 347 net/core/sock.c struct old_timeval32 tv32 = { tv.tv_sec, tv.tv_usec }; tv 354 net/core/sock.c old_tv.tv_sec = tv.tv_sec; tv 355 net/core/sock.c old_tv.tv_usec = tv.tv_usec; tv 359 net/core/sock.c *(struct __kernel_sock_timeval *)optval = tv; tv 360 net/core/sock.c size = sizeof(tv); tv 368 net/core/sock.c struct __kernel_sock_timeval tv; tv 378 net/core/sock.c tv.tv_sec = tv32.tv_sec; tv 379 net/core/sock.c tv.tv_usec = tv32.tv_usec; tv 387 net/core/sock.c tv.tv_sec = old_tv.tv_sec; tv 388 net/core/sock.c tv.tv_usec = old_tv.tv_usec; tv 390 net/core/sock.c if (optlen < sizeof(tv)) tv 392 net/core/sock.c if (copy_from_user(&tv, optval, sizeof(tv))) tv 395 net/core/sock.c if (tv.tv_usec < 0 || tv.tv_usec >= USEC_PER_SEC) tv 398 net/core/sock.c if (tv.tv_sec < 0) { tv 410 net/core/sock.c if (tv.tv_sec == 0 && tv.tv_usec == 0) tv 412 net/core/sock.c if (tv.tv_sec < (MAX_SCHEDULE_TIMEOUT / HZ - 1)) tv 413 net/core/sock.c *timeo_p = tv.tv_sec * HZ + DIV_ROUND_UP((unsigned long)tv.tv_usec, USEC_PER_SEC / HZ); tv 3035 net/core/sock.c struct __kernel_old_timeval __user tv = { tv 3039 net/core/sock.c if (copy_to_user(userstamp, &tv, sizeof(tv))) tv 218 net/ipv4/igmp.c int tv = prandom_u32() % max_delay; tv 221 net/ipv4/igmp.c if (!mod_timer(&im->timer, jiffies+tv+2)) tv 227 net/ipv4/igmp.c int tv = prandom_u32() % in_dev->mr_maxdelay; tv 228 net/ipv4/igmp.c unsigned long exp = jiffies + tv + 2; tv 241 net/ipv4/igmp.c int tv = prandom_u32() % delay; tv 243 net/ipv4/igmp.c if (!mod_timer(&in_dev->mr_ifc_timer, jiffies+tv+2)) tv 1893 net/ipv4/tcp.c struct __kernel_old_timeval tv; tv 1895 net/ipv4/tcp.c tv.tv_sec = tss->ts[0].tv_sec; tv 1896 net/ipv4/tcp.c tv.tv_usec = tss->ts[0].tv_nsec / 1000; tv 1898 net/ipv4/tcp.c sizeof(tv), &tv); tv 1035 net/ipv6/mcast.c unsigned long tv = prandom_u32() % idev->mc_maxdelay; tv 1038 net/ipv6/mcast.c if (!mod_timer(&idev->mc_gq_timer, jiffies+tv+2)) tv 1051 net/ipv6/mcast.c unsigned long tv = prandom_u32() % delay; tv 1053 net/ipv6/mcast.c if (!mod_timer(&idev->mc_ifc_timer, jiffies+tv+2)) tv 1066 net/ipv6/mcast.c unsigned long tv = prandom_u32() % delay; tv 1068 net/ipv6/mcast.c if (!mod_timer(&idev->mc_dad_timer, jiffies+tv+2)) tv 553 net/rds/recv.c struct __kernel_old_timeval tv = tv 558 net/rds/recv.c sizeof(tv), &tv); tv 562 net/rds/recv.c sk_tv.tv_sec = tv.tv_sec; tv 563 net/rds/recv.c sk_tv.tv_usec = tv.tv_usec; tv 776 net/socket.c struct __kernel_sock_timeval tv; tv 778 net/socket.c skb_get_new_timestamp(skb, &tv); tv 780 net/socket.c sizeof(tv), &tv); tv 782 net/socket.c struct __kernel_old_timeval tv; tv 784 net/socket.c skb_get_timestamp(skb, &tv); tv 786 net/socket.c sizeof(tv), &tv); tv 1418 net/vmw_vsock/af_vsock.c struct __kernel_old_timeval tv; tv 1419 net/vmw_vsock/af_vsock.c COPY_IN(tv); tv 1420 net/vmw_vsock/af_vsock.c if (tv.tv_sec >= 0 && tv.tv_usec < USEC_PER_SEC && tv 1421 net/vmw_vsock/af_vsock.c tv.tv_sec < (MAX_SCHEDULE_TIMEOUT / HZ - 1)) { tv 1422 net/vmw_vsock/af_vsock.c vsk->connect_timeout = tv.tv_sec * HZ + tv 1423 net/vmw_vsock/af_vsock.c DIV_ROUND_UP(tv.tv_usec, (1000000 / HZ)); tv 1496 net/vmw_vsock/af_vsock.c struct __kernel_old_timeval tv; tv 1497 net/vmw_vsock/af_vsock.c tv.tv_sec = vsk->connect_timeout / HZ; tv 1498 net/vmw_vsock/af_vsock.c tv.tv_usec = tv 1500 net/vmw_vsock/af_vsock.c tv.tv_sec * HZ) * (1000000 / HZ); tv 1501 net/vmw_vsock/af_vsock.c COPY_OUT(tv); tv 175 samples/mei/mei-amt-version.c struct timeval tv; tv 180 samples/mei/mei-amt-version.c tv.tv_sec = timeout / 1000; tv 181 samples/mei/mei-amt-version.c tv.tv_usec = (timeout % 1000) * 1000000; tv 195 samples/mei/mei-amt-version.c rc = select(me->fd + 1 , &set, NULL, NULL, &tv); tv 1548 tools/include/nolibc/nolibc.h int sys_gettimeofday(struct timeval *tv, struct timezone *tz) tv 1550 tools/include/nolibc/nolibc.h return my_syscall2(__NR_gettimeofday, tv, tz); tv 1940 tools/include/nolibc/nolibc.h int gettimeofday(struct timeval *tv, struct timezone *tz) tv 1942 tools/include/nolibc/nolibc.h int ret = sys_gettimeofday(tv, tz); tv 593 tools/perf/builtin-kvm.c struct timeval tv; tv 596 tools/perf/builtin-kvm.c gettimeofday(&tv, NULL); tv 597 tools/perf/builtin-kvm.c if (localtime_r(&tv.tv_sec, <ime)) { tv 599 tools/perf/builtin-kvm.c pr_info("%s.%06ld", date, tv.tv_usec); tv 546 tools/perf/util/time-utils.c struct timeval tv; tv 550 tools/perf/util/time-utils.c if (gettimeofday(&tv, NULL) || !localtime_r(&tv.tv_sec, &tm)) tv 556 tools/perf/util/time-utils.c scnprintf(buf, sz, "%s%02u", dt, (unsigned)tv.tv_usec / 10000); tv 269 tools/power/acpi/tools/acpidbg/acpidbg.c struct timeval tv; tv 283 tools/power/acpi/tools/acpidbg/acpidbg.c tv.tv_sec = ACPI_AML_SEC_TICK; tv 284 tools/power/acpi/tools/acpidbg/acpidbg.c tv.tv_usec = 0; tv 306 tools/power/acpi/tools/acpidbg/acpidbg.c ret = select(maxfd+1, &rfds, &wfds, NULL, &tv); tv 339 tools/power/acpi/tools/acpidbg/acpidbg.c struct timeval tv; tv 343 tools/power/acpi/tools/acpidbg/acpidbg.c tv.tv_sec = 0; tv 344 tools/power/acpi/tools/acpidbg/acpidbg.c tv.tv_usec = ACPI_AML_USEC_PEEK; tv 347 tools/power/acpi/tools/acpidbg/acpidbg.c ret = select(maxfd+1, &rfds, NULL, NULL, &tv); tv 910 tools/power/x86/turbostat/turbostat.c struct timeval tv; tv 912 tools/power/x86/turbostat/turbostat.c timersub(&t->tv_end, &t->tv_begin, &tv); tv 913 tools/power/x86/turbostat/turbostat.c outp += sprintf(outp, "%5ld\t", tv.tv_sec * 1000000 + tv.tv_usec); tv 91 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c struct timespec tv = {0, 10}; tv 134 tools/testing/selftests/bpf/prog_tests/get_stack_raw_tp.c nanosleep(&tv, NULL); tv 113 tools/testing/selftests/bpf/test_flow_dissector.c struct timeval tv; tv 115 tools/testing/selftests/bpf/test_flow_dissector.c gettimeofday(&tv, NULL); tv 116 tools/testing/selftests/bpf/test_flow_dissector.c return (tv.tv_sec * 1000) + (tv.tv_usec / 1000); tv 1321 tools/testing/selftests/bpf/test_sock_addr.c struct timeval tv; tv 1330 tools/testing/selftests/bpf/test_sock_addr.c tv.tv_sec = 2; tv 1331 tools/testing/selftests/bpf/test_sock_addr.c tv.tv_usec = 0; tv 1333 tools/testing/selftests/bpf/test_sock_addr.c if (select(sockfd + 1, &rfds, NULL, NULL, &tv) <= 0 || tv 341 tools/testing/selftests/net/ip_defrag.c struct timeval tv = { .tv_sec = 1, .tv_usec = 10 }; tv 360 tools/testing/selftests/net/ip_defrag.c if (setsockopt(fd_rx_udp, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) tv 101 tools/testing/selftests/net/msg_zerocopy.c struct timeval tv; tv 103 tools/testing/selftests/net/msg_zerocopy.c gettimeofday(&tv, NULL); tv 104 tools/testing/selftests/net/msg_zerocopy.c return (tv.tv_sec * 1000) + (tv.tv_usec / 1000); tv 1251 tools/testing/selftests/net/nettest.c struct timeval _tv = { .tv_sec = prog_timeout }, *tv = NULL; tv 1260 tools/testing/selftests/net/nettest.c tv = &_tv; tv 1262 tools/testing/selftests/net/nettest.c rc = select(FD_SETSIZE, NULL, &wfd, NULL, tv); tv 253 tools/testing/selftests/net/psock_snd.c struct timeval tv = { .tv_usec = 100 * 1000 }; tv 261 tools/testing/selftests/net/psock_snd.c if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) tv 292 tools/testing/selftests/net/psock_snd.c struct timeval tv = { .tv_usec = 100 * 1000 }; tv 299 tools/testing/selftests/net/psock_snd.c if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) tv 234 tools/testing/selftests/net/so_txtime.c struct timeval tv = { .tv_usec = 100 * 1000 }; tv 244 tools/testing/selftests/net/so_txtime.c if (setsockopt(fd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) tv 573 tools/testing/selftests/net/udpgso.c struct timeval tv = { .tv_usec = 100 * 1000 }; tv 584 tools/testing/selftests/net/udpgso.c if (setsockopt(fdr, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv))) tv 86 tools/testing/selftests/net/udpgso_bench_rx.c struct timeval tv; tv 88 tools/testing/selftests/net/udpgso_bench_rx.c gettimeofday(&tv, NULL); tv 89 tools/testing/selftests/net/udpgso_bench_rx.c return (tv.tv_sec * 1000) + (tv.tv_usec / 1000); tv 97 tools/testing/selftests/net/udpgso_bench_tx.c struct timeval tv; tv 99 tools/testing/selftests/net/udpgso_bench_tx.c gettimeofday(&tv, NULL); tv 100 tools/testing/selftests/net/udpgso_bench_tx.c return (tv.tv_sec * 1000) + (tv.tv_usec / 1000); tv 141 tools/testing/selftests/networking/timestamping/timestamping.c struct timeval tv; tv 242 tools/testing/selftests/networking/timestamping/timestamping.c if (ioctl(sock, SIOCGSTAMP, &tv)) tv 246 tools/testing/selftests/networking/timestamping/timestamping.c (long)tv.tv_sec, tv 247 tools/testing/selftests/networking/timestamping/timestamping.c (long)tv.tv_usec); tv 33 tools/testing/selftests/powerpc/benchmarks/context_switch.c struct timeval tv; tv 57 tools/testing/selftests/powerpc/benchmarks/context_switch.c gettimeofday(&tv, NULL); tv 70 tools/testing/selftests/powerpc/benchmarks/context_switch.c asm volatile("# %0 %1 %2": : "r"(&tv), "r"(&fp), "r"(&c)); tv 90 tools/testing/selftests/rtc/rtctest.c struct timeval tv = { .tv_sec = 2 }; tv 96 tools/testing/selftests/rtc/rtctest.c rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); tv 113 tools/testing/selftests/rtc/rtctest.c struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; tv 146 tools/testing/selftests/rtc/rtctest.c rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); tv 166 tools/testing/selftests/rtc/rtctest.c struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; tv 200 tools/testing/selftests/rtc/rtctest.c rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); tv 215 tools/testing/selftests/rtc/rtctest.c struct timeval tv = { .tv_sec = 62 }; tv 248 tools/testing/selftests/rtc/rtctest.c rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); tv 268 tools/testing/selftests/rtc/rtctest.c struct timeval tv = { .tv_sec = 62 }; tv 302 tools/testing/selftests/rtc/rtctest.c rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); tv 250 tools/testing/selftests/timers/leap-a-day.c struct timeval tv; tv 252 tools/testing/selftests/timers/leap-a-day.c tv.tv_sec = next_leap - 10; tv 253 tools/testing/selftests/timers/leap-a-day.c tv.tv_usec = 0; tv 254 tools/testing/selftests/timers/leap-a-day.c settimeofday(&tv, NULL); tv 255 tools/testing/selftests/timers/leap-a-day.c printf("Setting time to %s", ctime(&tv.tv_sec)); tv 82 tools/testing/selftests/timers/leapcrash.c struct timeval tv; tv 86 tools/testing/selftests/timers/leapcrash.c tv.tv_sec = next_leap - 2; tv 87 tools/testing/selftests/timers/leapcrash.c tv.tv_usec = 0; tv 88 tools/testing/selftests/timers/leapcrash.c if (settimeofday(&tv, NULL)) { tv 41 tools/testing/selftests/timers/set-tz.c struct timeval tv; tv 44 tools/testing/selftests/timers/set-tz.c gettimeofday(&tv, &tz); tv 51 tools/testing/selftests/timers/set-tz.c struct timeval tv; tv 54 tools/testing/selftests/timers/set-tz.c gettimeofday(&tv, &tz); tv 90 tools/testing/selftests/vDSO/vdso_standalone_test_x86.c typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); tv 96 tools/testing/selftests/vDSO/vdso_standalone_test_x86.c struct timeval tv; tv 97 tools/testing/selftests/vDSO/vdso_standalone_test_x86.c long ret = gtod(&tv, 0); tv 101 tools/testing/selftests/vDSO/vdso_standalone_test_x86.c to_base10(buf + 31, tv.tv_sec); tv 102 tools/testing/selftests/vDSO/vdso_standalone_test_x86.c to_base10(buf + 38, tv.tv_usec); tv 48 tools/testing/selftests/vDSO/vdso_test.c typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); tv 56 tools/testing/selftests/vDSO/vdso_test.c struct timeval tv; tv 57 tools/testing/selftests/vDSO/vdso_test.c long ret = gtod(&tv, 0); tv 61 tools/testing/selftests/vDSO/vdso_test.c (long long)tv.tv_sec, (long long)tv.tv_usec); tv 39 tools/testing/selftests/x86/test_vdso.c typedef long (*vgtod_t)(struct timeval *tv, struct timezone *tz); tv 129 tools/testing/selftests/x86/test_vdso.c static inline int sys_gettimeofday(struct timeval *tv, struct timezone *tz) tv 131 tools/testing/selftests/x86/test_vdso.c return syscall(__NR_gettimeofday, tv, tz); tv 55 tools/testing/selftests/x86/test_vsyscall.c typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); tv 159 tools/testing/selftests/x86/test_vsyscall.c static inline long sys_gtod(struct timeval *tv, struct timezone *tz) tv 161 tools/testing/selftests/x86/test_vsyscall.c return syscall(SYS_gettimeofday, tv, tz); tv 492 tools/thermal/tmon/sysfs.c gettimeofday(&trec[next_thermal_record].tv, NULL); tv 42 tools/thermal/tmon/tmon.h struct timeval tv;