| /linux-6.15/drivers/gpu/drm/sun4i/ |
| H A D | sun4i_tv.c | 432 struct sun4i_tv *tv; in sun4i_tv_bind() local 436 tv = devm_kzalloc(dev, sizeof(*tv), GFP_KERNEL); in sun4i_tv_bind() 437 if (!tv) in sun4i_tv_bind() 439 tv->drv = drv; in sun4i_tv_bind() 440 dev_set_drvdata(dev, tv); in sun4i_tv_bind() 450 if (IS_ERR(tv->regs)) { in sun4i_tv_bind() 452 return PTR_ERR(tv->regs); in sun4i_tv_bind() 456 if (IS_ERR(tv->reset)) { in sun4i_tv_bind() 468 if (IS_ERR(tv->clk)) { in sun4i_tv_bind() 470 ret = PTR_ERR(tv->clk); in sun4i_tv_bind() [all …]
|
| /linux-6.15/fs/ |
| H A D | utimes.c | 212 struct timespec64 tv[2]; in SYSCALL_DEFINE2() local 218 tv[0].tv_nsec = 0; in SYSCALL_DEFINE2() 219 tv[1].tv_nsec = 0; in SYSCALL_DEFINE2() 234 struct timespec64 tv[2]; in SYSCALL_DEFINE2() local 240 tv[0].tv_nsec = 0; in SYSCALL_DEFINE2() 241 tv[1].tv_nsec = 0; in SYSCALL_DEFINE2() 256 if (tv[0].tv_nsec == UTIME_OMIT && tv[1].tv_nsec == UTIME_OMIT) in SYSCALL_DEFINE4() 274 if (tv[0].tv_nsec >= 1000000 || tv[0].tv_nsec < 0 || in do_compat_futimesat() 275 tv[1].tv_nsec >= 1000000 || tv[1].tv_nsec < 0) in do_compat_futimesat() 277 tv[0].tv_nsec *= 1000; in do_compat_futimesat() [all …]
|
| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_atomic_state_helper.c | 568 state->tv.hue = val; in drm_atomic_helper_connector_tv_reset() 603 if (old_conn_state->tv.mode != new_conn_state->tv.mode) in drm_atomic_helper_connector_tv_check() 606 if (old_conn_state->tv.margins.left != new_conn_state->tv.margins.left || in drm_atomic_helper_connector_tv_check() 607 old_conn_state->tv.margins.right != new_conn_state->tv.margins.right || in drm_atomic_helper_connector_tv_check() 608 old_conn_state->tv.margins.top != new_conn_state->tv.margins.top || in drm_atomic_helper_connector_tv_check() 610 old_conn_state->tv.mode != new_conn_state->tv.mode || in drm_atomic_helper_connector_tv_check() 611 old_conn_state->tv.brightness != new_conn_state->tv.brightness || in drm_atomic_helper_connector_tv_check() 612 old_conn_state->tv.contrast != new_conn_state->tv.contrast || in drm_atomic_helper_connector_tv_check() 614 old_conn_state->tv.overscan != new_conn_state->tv.overscan || in drm_atomic_helper_connector_tv_check() 615 old_conn_state->tv.saturation != new_conn_state->tv.saturation || in drm_atomic_helper_connector_tv_check() [all …]
|
| /linux-6.15/crypto/ |
| H A D | hkdf.c | 486 if (tv->prk_size != prk_size) { in hkdf_test() 488 tv->test, driver, tv->prk_size, prk_size); in hkdf_test() 493 err = hkdf_extract(tfm, tv->ikm, tv->ikm_size, in hkdf_test() 494 tv->salt, tv->salt_size, prk); in hkdf_test() 501 if (memcmp(prk, tv->prk, tv->prk_size)) { in hkdf_test() 503 tv->test, driver); in hkdf_test() 516 err = crypto_shash_setkey(tfm, tv->prk, tv->prk_size); in hkdf_test() 523 err = hkdf_expand(tfm, tv->info, tv->info_size, in hkdf_test() 524 okm, tv->okm_size); in hkdf_test() 528 } else if (memcmp(okm, tv->okm, tv->okm_size)) { in hkdf_test() [all …]
|
| /linux-6.15/drivers/usb/misc/ |
| H A D | trancevibrator.c | 37 struct trancevibrator *tv = usb_get_intfdata(intf); in speed_show() local 39 return sprintf(buf, "%d\n", tv->speed); in speed_show() 46 struct trancevibrator *tv = usb_get_intfdata(intf); in speed_store() local 56 old = tv->speed; in speed_store() 57 tv->speed = temp; in speed_store() 59 dev_dbg(&tv->udev->dev, "speed = %d\n", tv->speed); in speed_store() 62 retval = usb_control_msg(tv->udev, usb_sndctrlpipe(tv->udev, 0), in speed_store() 65 tv->speed, /* speed value */ in speed_store() 68 tv->speed = old; in speed_store() 69 dev_dbg(&tv->udev->dev, "retval = %d\n", retval); in speed_store() [all …]
|
| /linux-6.15/kernel/time/ |
| H A D | time.c | 83 struct timespec64 tv; in SYSCALL_DEFINE1() local 89 tv.tv_nsec = 0; in SYSCALL_DEFINE1() 121 struct timespec64 tv; in SYSCALL_DEFINE1() local 127 tv.tv_nsec = 0; in SYSCALL_DEFINE1() 174 if (tv && !timespec64_valid_settod(tv)) in do_sys_settimeofday64() 190 if (!tv) in do_sys_settimeofday64() 194 if (tv) in do_sys_settimeofday64() 205 if (tv) { in SYSCALL_DEFINE2() 227 if (tv) { in COMPAT_SYSCALL_DEFINE2() 249 if (tv) { in COMPAT_SYSCALL_DEFINE2() [all …]
|
| /linux-6.15/drivers/input/misc/ |
| H A D | hp_sdc_rtc.c | 273 struct timespec64 tv; in hp_sdc_rtc_proc_show() local 287 if (hp_sdc_rtc_read_rt(&tv)) { in hp_sdc_rtc_proc_show() 291 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show() 294 if (hp_sdc_rtc_read_fhs(&tv)) { in hp_sdc_rtc_proc_show() 298 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show() 301 if (hp_sdc_rtc_read_mt(&tv)) { in hp_sdc_rtc_proc_show() 305 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show() 308 if (hp_sdc_rtc_read_dt(&tv)) { in hp_sdc_rtc_proc_show() 312 (s64)tv.tv_sec, (long)tv.tv_nsec/1000000L); in hp_sdc_rtc_proc_show() 315 if (hp_sdc_rtc_read_ct(&tv)) { in hp_sdc_rtc_proc_show() [all …]
|
| /linux-6.15/tools/testing/selftests/rcutorture/bin/ |
| H A D | mkinitrd.sh | 39 struct timeval tv; 54 if (gettimeofday(&tv, NULL)) 56 tv.tv_sec -= tvb.tv_sec; 57 if (tv.tv_sec > 1) 59 tv.tv_usec += tv.tv_sec * 1000 * 1000; 60 tv.tv_usec -= tvb.tv_usec; 61 } while (tv.tv_usec < 1000);
|
| /linux-6.15/drivers/gpu/drm/radeon/ |
| H A D | radeon_legacy_tv.c | 400 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() 402 if (tv_dac->tv.h_code_timing[i] == 0 || tv_dac->tv.h_code_timing[i + 1] == 0) in radeon_restore_tv_timing_tables() 406 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() 408 if (tv_dac->tv.v_code_timing[i] == 0 || tv_dac->tv.v_code_timing[i + 1] == 0) in radeon_restore_tv_timing_tables() 501 (unsigned)tv_dac->tv.frestart, in radeon_legacy_tv_init_restarts() 502 (unsigned)tv_dac->tv.vrestart, in radeon_legacy_tv_init_restarts() 503 (unsigned)tv_dac->tv.hrestart); in radeon_legacy_tv_init_restarts() 515 tv_dac->tv.timing_cntl = (tv_dac->tv.timing_cntl & ~RADEON_H_INC_MASK) | in radeon_legacy_tv_init_restarts() 664 tv_dac->tv.timing_cntl = tmp; in radeon_legacy_tv_mode_set() 711 tv_dac->tv.tv_uv_adr = 0xc8; in radeon_legacy_tv_mode_set() [all …]
|
| /linux-6.15/drivers/gpu/drm/gud/ |
| H A D | gud_connector.c | 302 if (old_state->tv.margins.left != new_state->tv.margins.left || in gud_connector_atomic_check() 303 old_state->tv.margins.right != new_state->tv.margins.right || in gud_connector_atomic_check() 304 old_state->tv.margins.top != new_state->tv.margins.top || in gud_connector_atomic_check() 305 old_state->tv.margins.bottom != new_state->tv.margins.bottom || in gud_connector_atomic_check() 306 old_state->tv.legacy_mode != new_state->tv.legacy_mode || in gud_connector_atomic_check() 307 old_state->tv.brightness != new_state->tv.brightness || in gud_connector_atomic_check() 308 old_state->tv.contrast != new_state->tv.contrast || in gud_connector_atomic_check() 309 old_state->tv.flicker_reduction != new_state->tv.flicker_reduction || in gud_connector_atomic_check() 310 old_state->tv.overscan != new_state->tv.overscan || in gud_connector_atomic_check() 311 old_state->tv.saturation != new_state->tv.saturation || in gud_connector_atomic_check() [all …]
|
| /linux-6.15/arch/sparc/vdso/ |
| H A D | vclock_gettime.c | 80 register long o0 __asm__("o0") = (long) tv; in vdso_fallback_gettimeofday() 332 if (likely(tv != NULL)) { in __vdso_gettimeofday() 335 struct __kernel_old_timeval tv; in __vdso_gettimeofday() member 336 } *tstv = (union tstv_t *) tv; in __vdso_gettimeofday() 346 tstv->tv.tv_usec = tstv->ts.tv_nsec; in __vdso_gettimeofday() 347 tstv->tv.tv_usec /= 1000; in __vdso_gettimeofday() 368 if (likely(tv != NULL)) { in __vdso_gettimeofday_stick() 371 struct __kernel_old_timeval tv; in __vdso_gettimeofday_stick() member 372 } *tstv = (union tstv_t *) tv; in __vdso_gettimeofday_stick() 382 tstv->tv.tv_usec = tstv->ts.tv_nsec; in __vdso_gettimeofday_stick() [all …]
|
| /linux-6.15/tools/testing/selftests/vDSO/ |
| H A D | vdso_test_gettimeofday.c | 38 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in main() 46 struct timeval tv; in main() local 47 long ret = VDSO_CALL(gtod, 2, &tv, 0); in main() 51 (long long)tv.tv_sec, (long long)tv.tv_usec); in main()
|
| H A D | vdso_standalone_test_x86.c | 38 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in main() 46 struct timeval tv; in main() local 47 long ret = VDSO_CALL(gtod, 2, &tv, 0); in main() 51 (long long)tv.tv_sec, (long long)tv.tv_usec); in main()
|
| /linux-6.15/tools/include/nolibc/ |
| H A D | time.h | 18 struct timeval tv; in time() local 21 sys_gettimeofday(&tv, NULL); in time() 24 *tptr = tv.tv_sec; in time() 25 return tv.tv_sec; in time()
|
| /linux-6.15/arch/mips/vdso/ |
| H A D | vgettimeofday.c | 29 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, in __vdso_gettimeofday() argument 32 return __cvdso_gettimeofday(tv, tz); in __vdso_gettimeofday() 65 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, in __vdso_gettimeofday() argument 68 return __cvdso_gettimeofday(tv, tz); in __vdso_gettimeofday()
|
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_trans_inode.c | 60 struct timespec64 tv; in xfs_trans_ichgtime() local 68 tv = inode_set_ctime_current(inode); in xfs_trans_ichgtime() 70 inode_set_mtime_to_ts(inode, tv); in xfs_trans_ichgtime() 72 inode_set_atime_to_ts(inode, tv); in xfs_trans_ichgtime() 74 ip->i_crtime = tv; in xfs_trans_ichgtime()
|
| /linux-6.15/tools/testing/selftests/timers/ |
| H A D | leapcrash.c | 82 struct timeval tv; in main() local 86 tv.tv_sec = next_leap - 2; in main() 87 tv.tv_usec = 0; in main() 88 if (settimeofday(&tv, NULL)) { in main()
|
| H A D | set-tz.c | 41 struct timeval tv; in get_tz_min() local 44 gettimeofday(&tv, &tz); in get_tz_min() 51 struct timeval tv; in get_tz_dst() local 54 gettimeofday(&tv, &tz); in get_tz_dst()
|
| /linux-6.15/drivers/gpu/drm/i915/display/ |
| H A D | intel_sdvo.c | 177 } tv; member 2403 *val = sdvo_state->tv.hpos; in intel_sdvo_connector_atomic_get_property() 2405 *val = sdvo_state->tv.vpos; in intel_sdvo_connector_atomic_get_property() 2409 *val = state->tv.contrast; in intel_sdvo_connector_atomic_get_property() 2411 *val = state->tv.hue; in intel_sdvo_connector_atomic_get_property() 2461 sdvo_state->tv.hpos = val; in intel_sdvo_connector_atomic_set_property() 2463 sdvo_state->tv.vpos = val; in intel_sdvo_connector_atomic_set_property() 2467 state->tv.contrast = val; in intel_sdvo_connector_atomic_set_property() 2469 state->tv.hue = val; in intel_sdvo_connector_atomic_set_property() 2530 (memcmp(&old_state->tv, &new_state->tv, sizeof(old_state->tv)) || in intel_sdvo_atomic_check() [all …]
|
| H A D | intel_tv.c | 1184 conn_state->tv.margins.top - in intel_tv_vert_scaling() 1185 conn_state->tv.margins.bottom != in intel_tv_vert_scaling() 1340 conn_state->tv.margins.left, in intel_tv_compute_config() 1558 conn_state->tv.margins.right); in intel_tv_pre_enable() 1865 if (old_state->tv.legacy_mode != new_state->tv.legacy_mode || in intel_tv_atomic_check() 1866 old_state->tv.margins.left != new_state->tv.margins.left || in intel_tv_atomic_check() 1867 old_state->tv.margins.right != new_state->tv.margins.right || in intel_tv_atomic_check() 1868 old_state->tv.margins.top != new_state->tv.margins.top || in intel_tv_atomic_check() 1869 old_state->tv.margins.bottom != new_state->tv.margins.bottom) { in intel_tv_atomic_check() 1898 conn_state->tv.margins.top = 36; in intel_tv_add_properties() [all …]
|
| /linux-6.15/arch/alpha/kernel/ |
| H A D | osf_sys.c | 948 struct timeval32 tv; in get_tv32() local 951 o->tv_sec = tv.tv_sec; in get_tv32() 984 if (tv) { in SYSCALL_DEFINE2() 988 if (put_tv32(tv, &kts)) in SYSCALL_DEFINE2() 1004 if (tv) { in SYSCALL_DEFINE2() 1005 if (get_tv32(&kts, tv)) in SYSCALL_DEFINE2() 1026 if (tv[0].tv_nsec < 0 || tv[0].tv_nsec >= 1000000000 || in SYSCALL_DEFINE2() 1027 tv[1].tv_nsec < 0 || tv[1].tv_nsec >= 1000000000) in SYSCALL_DEFINE2() 1039 struct timespec64 tv; in SYSCALL_DEFINE5() local 1045 if (tv.tv_sec < 0 || tv.tv_nsec < 0) in SYSCALL_DEFINE5() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/display/ |
| H A D | allwinner,sun4i-a10-tv-encoder.yaml | 4 $id: http://devicetree.org/schemas/display/allwinner,sun4i-a10-tv-encoder.yaml# 15 const: allwinner,sun4i-a10-tv-encoder 43 tve0: tv-encoder@1c0a000 { 44 compatible = "allwinner,sun4i-a10-tv-encoder";
|
| /linux-6.15/arch/parisc/kernel/vdso64/ |
| H A D | vdso64_generic.c | 11 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz); 15 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, in __vdso_gettimeofday() argument 18 return syscall2(__NR_gettimeofday, (long)tv, (long)tz); in __vdso_gettimeofday()
|
| /linux-6.15/arch/arm64/kernel/vdso/ |
| H A D | vgettimeofday.c | 10 int __kernel_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz); 19 int __kernel_gettimeofday(struct __kernel_old_timeval *tv, in __kernel_gettimeofday() argument 22 return __cvdso_gettimeofday(tv, tz); in __kernel_gettimeofday()
|
| /linux-6.15/arch/parisc/kernel/vdso32/ |
| H A D | vdso32_generic.c | 13 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz); 18 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, in __vdso_gettimeofday() argument 21 return syscall2(__NR_gettimeofday, (long)tv, (long)tz); in __vdso_gettimeofday()
|