/openbmc/linux/arch/csky/kernel/vdso/ |
H A D | vgettimeofday.c | 24 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, 26 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, in __vdso_gettimeofday() argument 29 return __cvdso_gettimeofday(tv, tz); in __vdso_gettimeofday()
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_tv.c | 1186 conn_state->tv.margins.top - in intel_tv_vert_scaling() 1187 conn_state->tv.margins.bottom != in intel_tv_vert_scaling() 1342 conn_state->tv.margins.left, in intel_tv_compute_config() 1566 conn_state->tv.margins.right); in intel_tv_pre_enable() 1868 if (old_state->tv.legacy_mode != new_state->tv.legacy_mode || in intel_tv_atomic_check() 1869 old_state->tv.margins.left != new_state->tv.margins.left || in intel_tv_atomic_check() 1870 old_state->tv.margins.right != new_state->tv.margins.right || in intel_tv_atomic_check() 1871 old_state->tv.margins.top != new_state->tv.margins.top || in intel_tv_atomic_check() 1872 old_state->tv.margins.bottom != new_state->tv.margins.bottom) { in intel_tv_atomic_check() 1901 conn_state->tv.margins.top = 36; in intel_tv_add_properties() [all …]
|
/openbmc/u-boot/tools/gdb/ |
H A D | serial.c | 86 struct timeval tv; in serialreadchar() local 90 tv.tv_sec = timeout; in serialreadchar() 91 tv.tv_usec = 0; in serialreadchar() 98 if ((n = select(fd + 1, &fds, 0, 0, &tv)) < 0) in serialreadchar()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/rocksdb/files/ |
H A D | 0005-Implement-timer-implementation-for-mips-platform.patch | 24 + struct timeval tv; 25 + gettimeofday(&tv, nullptr); 26 + return (uint64_t)tv.tv_sec * 1000000 + tv.tv_usec;
|
H A D | 0006-Implement-timer-for-arm-v6.patch | 18 struct timeval tv; 19 gettimeofday(&tv, nullptr); 20 return (uint64_t)tv.tv_sec * 1000000 + tv.tv_usec;
|
/openbmc/linux/tools/testing/selftests/vDSO/ |
H A D | vdso_test_abi.c | 31 typedef long (*vdso_gettimeofday_t)(struct timeval *tv, struct timezone *tz); 51 struct timeval tv; in vdso_test_gettimeofday() local 52 long ret = vdso_gettimeofday(&tv, 0); in vdso_test_gettimeofday() 56 (long long)tv.tv_sec, (long long)tv.tv_usec); in vdso_test_gettimeofday()
|
/openbmc/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_release.c | 127 struct qxl_bo_list, tv.head); in qxl_release_free_list() 128 bo = to_qxl_bo(entry->tv.bo); in qxl_release_free_list() 130 list_del(&entry->tv.head); in qxl_release_free_list() 175 list_for_each_entry(entry, &release->bos, tv.head) { in qxl_release_list_add() 176 if (entry->tv.bo == &bo->tbo) in qxl_release_list_add() 185 entry->tv.bo = &bo->tbo; in qxl_release_list_add() 186 entry->tv.num_shared = 0; in qxl_release_list_add() 187 list_add_tail(&entry->tv.head, &release->bos); in qxl_release_list_add() 229 list_for_each_entry(entry, &release->bos, tv.head) { in qxl_release_reserve_list() 230 struct qxl_bo *bo = to_qxl_bo(entry->tv.bo); in qxl_release_reserve_list()
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_atomic_uapi.c | 727 state->tv.margins.top = val; in drm_atomic_connector_set_property() 733 state->tv.mode = val; in drm_atomic_connector_set_property() 735 state->tv.brightness = val; in drm_atomic_connector_set_property() 737 state->tv.contrast = val; in drm_atomic_connector_set_property() 741 state->tv.overscan = val; in drm_atomic_connector_set_property() 743 state->tv.saturation = val; in drm_atomic_connector_set_property() 745 state->tv.hue = val; in drm_atomic_connector_set_property() 845 *val = state->tv.mode; in drm_atomic_connector_get_property() 849 *val = state->tv.contrast; in drm_atomic_connector_get_property() 853 *val = state->tv.overscan; in drm_atomic_connector_get_property() [all …]
|
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/ |
H A D | net_handler.cpp | 103 struct timeval tv = {}; in copyFrom() local 104 tv.tv_sec = timeoutS; in copyFrom() 105 if (setsockopt(*connFd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) < 0) in copyFrom()
|
/openbmc/qemu/tests/qtest/ |
H A D | ipmi-bt-test.c | 129 struct timeval tv; in read_emu_data() local 133 tv.tv_sec = 10; in read_emu_data() 134 tv.tv_usec = 0; in read_emu_data() 135 rv = select(emu_fd + 1, &readfds, NULL, NULL, &tv); in read_emu_data() 311 struct timeval tv; in test_connect() local 319 tv.tv_sec = 10; in test_connect() 320 tv.tv_usec = 0; in test_connect() 321 rv = select(emu_lfd + 1, &readfds, NULL, NULL, &tv); in test_connect()
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.h | 37 static inline uint64_t xfs_inode_encode_bigtime(struct timespec64 tv) in xfs_inode_encode_bigtime() argument 39 return xfs_unix_to_bigtime(tv.tv_sec) * NSEC_PER_SEC + tv.tv_nsec; in xfs_inode_encode_bigtime()
|
H A D | xfs_inode_buf.c | 142 struct timespec64 tv; in xfs_inode_decode_bigtime() local 146 tv.tv_nsec = n; in xfs_inode_decode_bigtime() 148 return tv; in xfs_inode_decode_bigtime() 157 struct timespec64 tv; in xfs_inode_from_disk_ts() local 164 tv.tv_sec = (int)be32_to_cpu(lts->t_sec); in xfs_inode_from_disk_ts() 165 tv.tv_nsec = (int)be32_to_cpu(lts->t_nsec); in xfs_inode_from_disk_ts() 167 return tv; in xfs_inode_from_disk_ts() 267 const struct timespec64 tv) in xfs_inode_to_disk_ts() argument 273 return cpu_to_be64(xfs_inode_encode_bigtime(tv)); in xfs_inode_to_disk_ts() 276 lts->t_sec = cpu_to_be32(tv.tv_sec); in xfs_inode_to_disk_ts() [all …]
|
/openbmc/linux/drivers/media/usb/au0828/ |
H A D | au0828-cards.c | 144 struct tveeprom tv; in hauppauge_eeprom() local 146 tveeprom_hauppauge_analog(&tv, eeprom_data); in hauppauge_eeprom() 147 dev->board.tuner_type = tv.tuner_type; in hauppauge_eeprom() 150 switch (tv.model) { in hauppauge_eeprom() 168 __func__, tv.model); in hauppauge_eeprom() 173 __func__, tv.model); in hauppauge_eeprom()
|
/openbmc/linux/tools/testing/selftests/rtc/ |
H A D | rtctest.c | 171 struct timeval tv = { .tv_sec = 2 }; in TEST_F() local 177 rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); in TEST_F() 194 struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; in TEST_F() local 231 rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); in TEST_F() 251 struct timeval tv = { .tv_sec = ALARM_DELTA + 2 }; in TEST_F() local 289 rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); in TEST_F() 304 struct timeval tv = { .tv_sec = 62 }; variable 341 rc = select(self->fd + 1, &readfds, NULL, NULL, &tv); 361 struct timeval tv = { .tv_sec = 62 }; variable 399 rc = select(self->fd + 1, &readfds, NULL, NULL, &tv);
|
/openbmc/openbmc/poky/meta/recipes-devtools/dpkg/dpkg/ |
H A D | 0004-The-lutimes-function-doesn-t-work-properly-for-all-s.patch | 21 - if (lutimes(path, tv) && errno != ENOSYS) 22 +/* if (lutimes(path, tv) && errno != ENOSYS) 27 if (utimes(path, tv))
|
/openbmc/qemu/hw/timer/ |
H A D | aspeed_timer.c | 434 const uint32_t tv = (uint32_t)(value & 0xFFFFFFFF); in aspeed_timer_write() local 441 aspeed_timer_set_ctrl(s, tv); in aspeed_timer_write() 445 aspeed_timer_set_value(s, (offset >> TIMER_NR_REGS), reg, tv); in aspeed_timer_write() 487 const uint32_t tv = (uint32_t)(value & 0xFFFFFFFF); in aspeed_2400_timer_write() local 491 aspeed_timer_set_ctrl2(s, tv); in aspeed_2400_timer_write() 526 const uint32_t tv = (uint32_t)(value & 0xFFFFFFFF); in aspeed_2500_timer_write() local 531 aspeed_timer_set_ctrl2(s, tv); in aspeed_2500_timer_write() 543 aspeed_timer_set_ctrl(s, s->ctrl & ~tv); in aspeed_2500_timer_write() 576 const uint32_t tv = (uint32_t)(value & 0xFFFFFFFF); in aspeed_2600_timer_write() local 580 s->irq_sts &= tv; in aspeed_2600_timer_write() [all …]
|
/openbmc/linux/tools/power/acpi/tools/acpidbg/ |
H A D | acpidbg.c | 269 struct timeval tv; in acpi_aml_loop() local 283 tv.tv_sec = ACPI_AML_SEC_TICK; in acpi_aml_loop() 284 tv.tv_usec = 0; in acpi_aml_loop() 306 ret = select(maxfd+1, &rfds, &wfds, NULL, &tv); in acpi_aml_loop() 339 struct timeval tv; in acpi_aml_readable() local 343 tv.tv_sec = 0; in acpi_aml_readable() 344 tv.tv_usec = ACPI_AML_USEC_PEEK; in acpi_aml_readable() 347 ret = select(maxfd+1, &rfds, NULL, NULL, &tv); in acpi_aml_readable()
|
/openbmc/linux/arch/x86/entry/vdso/ |
H A D | vclock_gettime.c | 17 extern int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz); 20 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, struct timezone *tz) in __vdso_gettimeofday() argument 22 return __cvdso_gettimeofday(tv, tz); in __vdso_gettimeofday()
|
/openbmc/linux/Documentation/devicetree/bindings/display/ |
H A D | allwinner,sun4i-a10-tcon.yaml | 31 - const: allwinner,sun8i-a83t-tcon-tv 32 - const: allwinner,sun8i-r40-tcon-tv 35 - const: allwinner,sun9i-a80-tcon-tv 37 - const: allwinner,sun20i-d1-tcon-tv 52 - allwinner,sun8i-h3-tcon-tv 53 - allwinner,sun50i-a64-tcon-tv 58 - allwinner,sun50i-h6-tcon-tv 59 - const: allwinner,sun8i-r40-tcon-tv 254 - allwinner,sun8i-r40-tcon-tv 255 - allwinner,sun9i-a80-tcon-tv [all …]
|
/openbmc/linux/arch/s390/kernel/vdso64/ |
H A D | vdso64_generic.c | 5 int __s390_vdso_gettimeofday(struct __kernel_old_timeval *tv, in __s390_vdso_gettimeofday() argument 8 return __cvdso_gettimeofday(tv, tz); in __s390_vdso_gettimeofday()
|
/openbmc/linux/include/linux/raid/ |
H A D | pq.h | 186 struct timeval tv; in raid6_jiffies() local 187 gettimeofday(&tv, NULL); in raid6_jiffies() 188 return tv.tv_sec*1000 + tv.tv_usec/1000; in raid6_jiffies()
|
/openbmc/linux/arch/arm64/kernel/vdso32/ |
H A D | vgettimeofday.c | 21 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, in __vdso_gettimeofday() argument 24 return __cvdso_gettimeofday(tv, tz); in __vdso_gettimeofday()
|
/openbmc/linux/tools/thermal/lib/ |
H A D | uptimeofday.c | 34 struct timespec tv = { in msec_to_timespec() local 39 return tv; in msec_to_timespec()
|
/openbmc/linux/arch/arm/vdso/ |
H A D | vgettimeofday.c | 24 int __vdso_gettimeofday(struct __kernel_old_timeval *tv, in __vdso_gettimeofday() argument 27 return __cvdso_gettimeofday(tv, tz); in __vdso_gettimeofday()
|
/openbmc/linux/tools/testing/selftests/netfilter/ |
H A D | sctp_collision.c | 13 struct timeval tv = {25, 0}; in main() local 49 ret = setsockopt(sd, SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)); in main()
|