Home
last modified time | relevance | path

Searched refs:tv (Results 1 - 25 of 337) sorted by relevance

12345678910>>...14

/kernel/linux/linux-6.6/drivers/gpu/drm/sun4i/
H A Dsun4i_tv.c266 struct sun4i_tv *tv = drm_encoder_to_sun4i_tv(encoder); in sun4i_tv_disable() local
271 regmap_update_bits(tv->regs, SUN4I_TVE_EN_REG, in sun4i_tv_disable()
281 struct sun4i_tv *tv = drm_encoder_to_sun4i_tv(encoder); in sun4i_tv_enable() local
286 struct drm_connector *connector = &tv->connector; in sun4i_tv_enable()
290 sun4i_tv_find_tv_by_mode(conn_state->tv.mode); in sun4i_tv_enable()
295 regmap_update_bits(tv->regs, SUN4I_TVE_EN_REG, in sun4i_tv_enable()
303 regmap_write(tv->regs, SUN4I_TVE_CFG0_REG, in sun4i_tv_enable()
312 regmap_write(tv->regs, SUN4I_TVE_DAC0_REG, in sun4i_tv_enable()
323 regmap_write(tv->regs, SUN4I_TVE_NOTCH_REG, in sun4i_tv_enable()
327 regmap_write(tv in sun4i_tv_enable()
432 struct sun4i_tv *tv; sun4i_tv_bind() local
531 struct sun4i_tv *tv = dev_get_drvdata(dev); sun4i_tv_unbind() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
H A Dsun4i_tv.c344 struct sun4i_tv *tv = drm_encoder_to_sun4i_tv(encoder); in sun4i_tv_disable() local
349 regmap_update_bits(tv->regs, SUN4I_TVE_EN_REG, in sun4i_tv_disable()
358 struct sun4i_tv *tv = drm_encoder_to_sun4i_tv(encoder); in sun4i_tv_enable() local
365 regmap_update_bits(tv->regs, SUN4I_TVE_EN_REG, in sun4i_tv_enable()
374 struct sun4i_tv *tv = drm_encoder_to_sun4i_tv(encoder); in sun4i_tv_mode_set() local
378 regmap_update_bits(tv->regs, SUN4I_TVE_EN_REG, in sun4i_tv_mode_set()
386 regmap_write(tv->regs, SUN4I_TVE_CFG0_REG, in sun4i_tv_mode_set()
395 regmap_write(tv->regs, SUN4I_TVE_DAC0_REG, in sun4i_tv_mode_set()
406 regmap_write(tv->regs, SUN4I_TVE_NOTCH_REG, in sun4i_tv_mode_set()
410 regmap_write(tv in sun4i_tv_mode_set()
540 struct sun4i_tv *tv; sun4i_tv_bind() local
629 struct sun4i_tv *tv = dev_get_drvdata(dev); sun4i_tv_unbind() local
[all...]
/kernel/linux/linux-5.10/fs/
H A Dutimes.c215 struct timespec64 tv[2]; in SYSCALL_DEFINE2() local
218 if (get_user(tv[0].tv_sec, &times->actime) || in SYSCALL_DEFINE2()
219 get_user(tv[1].tv_sec, &times->modtime)) in SYSCALL_DEFINE2()
221 tv[0].tv_nsec = 0; in SYSCALL_DEFINE2()
222 tv[1].tv_nsec = 0; in SYSCALL_DEFINE2()
224 return do_utimes(AT_FDCWD, filename, times ? tv : NULL, 0); in SYSCALL_DEFINE2()
237 struct timespec64 tv[2]; in SYSCALL_DEFINE2() local
240 if (get_user(tv[0].tv_sec, &t->actime) || in SYSCALL_DEFINE2()
241 get_user(tv[1].tv_sec, &t->modtime)) in SYSCALL_DEFINE2()
243 tv[ in SYSCALL_DEFINE2()
252 struct timespec64 tv[2]; SYSCALL_DEFINE4() local
269 struct timespec64 tv[2]; do_compat_futimesat() local
[all...]
/kernel/linux/linux-6.6/fs/
H A Dutimes.c217 struct timespec64 tv[2]; in SYSCALL_DEFINE2() local
220 if (get_user(tv[0].tv_sec, &times->actime) || in SYSCALL_DEFINE2()
221 get_user(tv[1].tv_sec, &times->modtime)) in SYSCALL_DEFINE2()
223 tv[0].tv_nsec = 0; in SYSCALL_DEFINE2()
224 tv[1].tv_nsec = 0; in SYSCALL_DEFINE2()
226 return do_utimes(AT_FDCWD, filename, times ? tv : NULL, 0); in SYSCALL_DEFINE2()
239 struct timespec64 tv[2]; in SYSCALL_DEFINE2() local
242 if (get_user(tv[0].tv_sec, &t->actime) || in SYSCALL_DEFINE2()
243 get_user(tv[1].tv_sec, &t->modtime)) in SYSCALL_DEFINE2()
245 tv[ in SYSCALL_DEFINE2()
254 struct timespec64 tv[2]; SYSCALL_DEFINE4() local
271 struct timespec64 tv[2]; do_compat_futimesat() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_atomic_state_helper.c477 state->tv.margins.left = cmdline->tv_margins.left; in drm_atomic_helper_connector_tv_margins_reset()
478 state->tv.margins.right = cmdline->tv_margins.right; in drm_atomic_helper_connector_tv_margins_reset()
479 state->tv.margins.top = cmdline->tv_margins.top; in drm_atomic_helper_connector_tv_margins_reset()
480 state->tv.margins.bottom = cmdline->tv_margins.bottom; in drm_atomic_helper_connector_tv_margins_reset()
502 state->tv.mode = val; in drm_atomic_helper_connector_tv_reset()
505 state->tv.mode = cmdline->tv_mode; in drm_atomic_helper_connector_tv_reset()
511 state->tv.select_subconnector = val; in drm_atomic_helper_connector_tv_reset()
517 state->tv.subconnector = val; in drm_atomic_helper_connector_tv_reset()
523 state->tv.brightness = val; in drm_atomic_helper_connector_tv_reset()
529 state->tv in drm_atomic_helper_connector_tv_reset()
[all...]
/kernel/linux/linux-5.10/drivers/usb/misc/
H A Dtrancevibrator.c37 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 in speed_store()
80 ATTRIBUTE_GROUPS(tv); global() variable
[all...]
/kernel/linux/linux-6.6/drivers/usb/misc/
H A Dtrancevibrator.c37 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 in speed_store()
80 ATTRIBUTE_GROUPS(tv); global() variable
[all...]
/kernel/linux/linux-5.10/kernel/time/
H A Dtime.c83 struct timespec64 tv; in SYSCALL_DEFINE1() local
86 if (get_user(tv.tv_sec, tptr)) in SYSCALL_DEFINE1()
89 tv.tv_nsec = 0; in SYSCALL_DEFINE1()
91 err = security_settime64(&tv, NULL); in SYSCALL_DEFINE1()
95 do_settimeofday64(&tv); in SYSCALL_DEFINE1()
121 struct timespec64 tv; in SYSCALL_DEFINE1() local
124 if (get_user(tv.tv_sec, tptr)) in SYSCALL_DEFINE1()
127 tv.tv_nsec = 0; in SYSCALL_DEFINE1()
129 err = security_settime64(&tv, NULL); in SYSCALL_DEFINE1()
133 do_settimeofday64(&tv); in SYSCALL_DEFINE1()
169 do_sys_settimeofday64(const struct timespec64 *tv, const struct timezone *tz) do_sys_settimeofday64() argument
455 struct __kernel_old_timeval tv; ns_to_kernel_old_timeval() local
[all...]
/kernel/linux/linux-6.6/kernel/time/
H A Dtime.c83 struct timespec64 tv; in SYSCALL_DEFINE1() local
86 if (get_user(tv.tv_sec, tptr)) in SYSCALL_DEFINE1()
89 tv.tv_nsec = 0; in SYSCALL_DEFINE1()
91 err = security_settime64(&tv, NULL); in SYSCALL_DEFINE1()
95 do_settimeofday64(&tv); in SYSCALL_DEFINE1()
121 struct timespec64 tv; in SYSCALL_DEFINE1() local
124 if (get_user(tv.tv_sec, tptr)) in SYSCALL_DEFINE1()
127 tv.tv_nsec = 0; in SYSCALL_DEFINE1()
129 err = security_settime64(&tv, NULL); in SYSCALL_DEFINE1()
133 do_settimeofday64(&tv); in SYSCALL_DEFINE1()
169 do_sys_settimeofday64(const struct timespec64 *tv, const struct timezone *tz) do_sys_settimeofday64() argument
473 struct __kernel_old_timeval tv; ns_to_kernel_old_timeval() local
[all...]
/kernel/liteos_a/compat/posix/src/
H A Dtime.c82 STATIC INLINE BOOL ValidTimeval(const struct timeval *tv) in ValidTimeval() argument
85 if (tv == NULL) { in ValidTimeval()
90 if ((tv->tv_usec < 0) || (tv->tv_usec >= OS_SYS_US_PER_SECOND) || (tv->tv_sec < 0)) { in ValidTimeval()
97 STATIC INLINE BOOL ValidTimeval64(const struct timeval64 *tv) in ValidTimeval64() argument
100 if (tv == NULL) { in ValidTimeval64()
105 if ((tv->tv_usec < 0) || (tv->tv_usec >= OS_SYS_US_PER_SECOND) || (tv in ValidTimeval64()
285 OsSetTimeOfDay(const struct timeval64 *tv, const struct timezone *tz) OsSetTimeOfDay() argument
320 settimeofday(const struct timeval *tv, const struct timezone *tz) settimeofday() argument
335 settimeofday64(const struct timeval64 *tv, const struct timezone *tz) settimeofday64() argument
347 struct timeval tv = {0}; setlocalseconds() local
355 OsGetTimeOfDay(struct timeval64 *tv, struct timezone *tz) OsGetTimeOfDay() argument
380 gettimeofday64(struct timeval64 *tv, struct timezone *tz) gettimeofday64() argument
391 gettimeofday(struct timeval *tv, void *_tz) gettimeofday() argument
425 struct timeval tv = {0}; clock_settime() local
[all...]
/kernel/linux/linux-5.10/arch/sparc/vdso/
H A Dvclock_gettime.c77 notrace static long vdso_fallback_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) in vdso_fallback_gettimeofday() argument
80 register long o0 __asm__("o0") = (long) tv; in vdso_fallback_gettimeofday()
307 __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) in __vdso_gettimeofday() argument
312 if (likely(tv != NULL)) { in __vdso_gettimeofday()
315 struct __kernel_old_timeval tv; in __vdso_gettimeofday() member
316 } *tstv = (union tstv_t *) tv; in __vdso_gettimeofday()
326 tstv->tv.tv_usec = tstv->ts.tv_nsec; in __vdso_gettimeofday()
327 tstv->tv.tv_usec /= 1000; in __vdso_gettimeofday()
336 return vdso_fallback_gettimeofday(tv, tz); in __vdso_gettimeofday()
343 __vdso_gettimeofday_stick(struct __kernel_old_timeval *tv, struc argument
351 struct __kernel_old_timeval tv; __vdso_gettimeofday_stick() member
[all...]
/kernel/linux/linux-6.6/arch/sparc/vdso/
H A Dvclock_gettime.c77 notrace static long vdso_fallback_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) in vdso_fallback_gettimeofday() argument
80 register long o0 __asm__("o0") = (long) tv; in vdso_fallback_gettimeofday()
307 __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) in __vdso_gettimeofday() argument
312 if (likely(tv != NULL)) { in __vdso_gettimeofday()
315 struct __kernel_old_timeval tv; in __vdso_gettimeofday() member
316 } *tstv = (union tstv_t *) tv; in __vdso_gettimeofday()
326 tstv->tv.tv_usec = tstv->ts.tv_nsec; in __vdso_gettimeofday()
327 tstv->tv.tv_usec /= 1000; in __vdso_gettimeofday()
336 return vdso_fallback_gettimeofday(tv, tz); in __vdso_gettimeofday()
343 __vdso_gettimeofday_stick(struct __kernel_old_timeval *tv, struc argument
351 struct __kernel_old_timeval tv; __vdso_gettimeofday_stick() member
[all...]
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dhp_sdc_rtc.c273 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 in hp_sdc_rtc_proc_show()
[all...]
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dhp_sdc_rtc.c273 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 in hp_sdc_rtc_proc_show()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/gud/
H A Dgud_connector.c34 /* Initial gadget tv state if applicable, applied on state reset */
87 /* Reuse tv.brightness to avoid having to subclass */ in gud_connector_backlight_update_status_work()
88 connector_state->tv.brightness = gconn->backlight->props.brightness; in gud_connector_backlight_update_status_work()
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 in gud_connector_atomic_check()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_legacy_tv.c35 /* tv standard constants */
48 /* tv pll setting for 27 mhz ref clk */
57 /* tv pll setting for 14 mhz ref clk */
168 * Table of all allowed modes for tv output
395 WREG32(RADEON_TV_UV_ADR, tv_dac->tv.tv_uv_adr); in radeon_restore_tv_timing_tables()
396 h_table = radeon_get_htiming_tables_addr(tv_dac->tv.tv_uv_adr); in radeon_restore_tv_timing_tables()
397 v_table = radeon_get_vtiming_tables_addr(tv_dac->tv.tv_uv_adr); in radeon_restore_tv_timing_tables()
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 in radeon_restore_tv_timing_tables()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/vDSO/
H A Dvdso_test_gettimeofday.c46 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in main()
54 struct timeval tv; in main() local
55 long ret = gtod(&tv, 0); in main()
59 (long long)tv.tv_sec, (long long)tv.tv_usec); in main()
H A Dvdso_standalone_test_x86.c88 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in c_main()
94 struct timeval tv; in c_main() local
95 long ret = gtod(&tv, 0); in c_main()
99 to_base10(buf + 31, tv.tv_sec); in c_main()
100 to_base10(buf + 38, tv.tv_usec); in c_main()
/kernel/linux/linux-6.6/tools/testing/selftests/vDSO/
H A Dvdso_test_gettimeofday.c49 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in main()
57 struct timeval tv; in main() local
58 long ret = gtod(&tv, 0); in main()
62 (long long)tv.tv_sec, (long long)tv.tv_usec); in main()
H A Dvdso_standalone_test_x86.c88 typedef long (*gtod_t)(struct timeval *tv, struct timezone *tz); in c_main()
94 struct timeval tv; in c_main() local
95 long ret = gtod(&tv, 0); in c_main()
99 to_base10(buf + 31, tv.tv_sec); in c_main()
100 to_base10(buf + 38, tv.tv_usec); in c_main()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_legacy_tv.c36 /* tv standard constants */
49 /* tv pll setting for 27 mhz ref clk */
58 /* tv pll setting for 14 mhz ref clk */
169 * Table of all allowed modes for tv output
396 WREG32(RADEON_TV_UV_ADR, tv_dac->tv.tv_uv_adr); in radeon_restore_tv_timing_tables()
397 h_table = radeon_get_htiming_tables_addr(tv_dac->tv.tv_uv_adr); in radeon_restore_tv_timing_tables()
398 v_table = radeon_get_vtiming_tables_addr(tv_dac->tv.tv_uv_adr); in radeon_restore_tv_timing_tables()
401 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()
403 if (tv_dac->tv in radeon_restore_tv_timing_tables()
[all...]
/kernel/linux/linux-6.6/tools/include/nolibc/
H A Dtime.h18 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()
/kernel/liteos_a/testsuites/unittest/extended/signal/full/
H A DIt_ipc_fdset_001.cpp41 struct timeval tv; in Testcase() local
45 tv.tv_sec = 1; in Testcase()
46 tv.tv_usec = 50; // 50, overtime setting in Testcase()
57 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
61 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
69 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
H A DIt_ipc_fdzero_001.cpp41 struct timeval tv; in Testcase() local
45 tv.tv_sec = 1; in Testcase()
46 tv.tv_usec = 50; // 50, overtime setting in Testcase()
56 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
60 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
69 ret = select(fdmax + 1, &reads, NULL, NULL, &tv); in Testcase()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_trans_inode.c60 struct timespec64 tv; in xfs_trans_ichgtime() local
65 tv = current_time(inode); in xfs_trans_ichgtime()
68 inode->i_mtime = tv; in xfs_trans_ichgtime()
70 inode_set_ctime_to_ts(inode, tv); in xfs_trans_ichgtime()
72 ip->i_crtime = tv; in xfs_trans_ichgtime()

Completed in 14 milliseconds

12345678910>>...14