/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/ |
H A D | oal_time.h | 186 struct timeval tv; in oal_get_time_stamp_from_timeval() local 189 do_gettimeofday(&tv); in oal_get_time_stamp_from_timeval() 190 curr_time = tv.tv_usec; in oal_get_time_stamp_from_timeval() 192 curr_time = curr_time + tv.tv_sec * 1000; /* mul 1000 */ in oal_get_time_stamp_from_timeval() 197 static inline hi_void oal_do_gettimeofday(oal_timeval_stru *tv) in oal_do_gettimeofday() argument 199 do_gettimeofday(tv); in oal_do_gettimeofday() 256 oal_timeval_stru tv; in oal_time_get_stamp_us() local 257 do_gettimeofday(&tv); in oal_time_get_stamp_us() 258 pst_usec->i_sec = tv.tv_sec; in oal_time_get_stamp_us() 259 pst_usec->i_usec = tv in oal_time_get_stamp_us() 296 oal_timeval_stru tv; oal_get_time_stamp_from_timeval() local 301 oal_do_gettimeofday(oal_timeval_stru *tv) oal_do_gettimeofday() argument [all...] |
H A D | oal_util.h | 652 struct timeval tv = { in oal_get_curr_time_ms() local 657 gettimeofday(&tv, HI_NULL); in oal_get_curr_time_ms() 658 return (hi_u32)(tv.tv_sec * 1000 + tv.tv_usec / 1000); /* 1000 时间单位转换 */ in oal_get_curr_time_ms()
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/sys/ |
H A D | time.h | 36 int gettimeofday(struct timeval* tv, struct timezone* tz); 106 #define TIMEVAL_TO_TIMESPEC(tv, ts) ( \ 107 (ts)->tv_sec = (tv)->tv_sec, \ 108 (ts)->tv_nsec = (tv)->tv_usec * 1000, \ 110 #define TIMESPEC_TO_TIMEVAL(tv, ts) ( \ 111 (tv)->tv_sec = (ts)->tv_sec, \ 112 (tv)->tv_usec = (ts)->tv_nsec / 1000, \
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
H A D | osal_timer.c | 132 void osal_gettimeofday(osal_timeval_t *tv) in osal_gettimeofday() argument 136 if (tv == NULL) { in osal_gettimeofday() 142 tv->tv_sec = t.tv_sec; in osal_gettimeofday() 143 tv->tv_usec = t.tv_nsec; in osal_gettimeofday() 146 if (tv == NULL) { in osal_gettimeofday() 152 tv->tv_sec = t.tv_sec; in osal_gettimeofday() 153 tv->tv_usec = t.tv_usec; in osal_gettimeofday()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/ |
H A D | osal_timer.c | 158 void osal_get_timeofday(osal_timeval *tv) in osal_get_timeofday() argument 162 tv->tv_sec = osal_div64_u64(ns, S_TO_NS); in osal_get_timeofday() 163 tv->tv_usec = osal_div_u64(osal_div64_u64_rem(ns, S_TO_NS), US_TO_NS); in osal_get_timeofday() 167 if (tv == NULL) { in osal_get_timeofday() 173 tv->tv_sec = t.tv_sec; in osal_get_timeofday() 174 tv->tv_usec = t.tv_usec; in osal_get_timeofday()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_atomic_uapi.c | 659 state->tv.subconnector = val; in drm_atomic_connector_set_property() 661 state->tv.margins.left = val; in drm_atomic_connector_set_property() 663 state->tv.margins.right = val; in drm_atomic_connector_set_property() 665 state->tv.margins.top = val; in drm_atomic_connector_set_property() 667 state->tv.margins.bottom = val; in drm_atomic_connector_set_property() 669 state->tv.mode = val; in drm_atomic_connector_set_property() 671 state->tv.brightness = val; in drm_atomic_connector_set_property() 673 state->tv.contrast = val; in drm_atomic_connector_set_property() 675 state->tv.flicker_reduction = val; in drm_atomic_connector_set_property() 677 state->tv in drm_atomic_connector_set_property() [all...] |
H A D | drm_atomic_state_helper.c | 461 state->tv.margins.left = cmdline->tv_margins.left; in drm_atomic_helper_connector_tv_reset() 462 state->tv.margins.right = cmdline->tv_margins.right; in drm_atomic_helper_connector_tv_reset() 463 state->tv.margins.top = cmdline->tv_margins.top; in drm_atomic_helper_connector_tv_reset() 464 state->tv.margins.bottom = cmdline->tv_margins.bottom; in drm_atomic_helper_connector_tv_reset()
|
H A D | drm_vblank.c | 962 struct timespec64 tv; in send_vblank_event() local 967 tv = ktime_to_timespec64(now); in send_vblank_event() 974 e->event.vbl.tv_sec = tv.tv_sec; in send_vblank_event() 975 e->event.vbl.tv_usec = tv.tv_nsec / 0x3e8; in send_vblank_event()
|
/device/soc/rockchip/rk3566/hardware/display/src/display_device/ |
H A D | hdi_layer.cpp | 164 struct timeval tv; in GetFileName() local 167 gettimeofday(&tv, nullptr); in GetFileName() 168 if (strftime(nowStr, sizeof(nowStr), "%m-%d-%H-%M-%S", localtime(&tv.tv_sec)) == 0) { in GetFileName() 173 nowStr, tv.tv_usec, buffer->width, buffer->height); in GetFileName()
|
/device/soc/rockchip/rk3568/hardware/display/src/display_device/ |
H A D | hdi_layer.cpp | 164 struct timeval tv; in GetFileName() local 167 gettimeofday(&tv, nullptr); in GetFileName() 168 if (strftime(nowStr, sizeof(nowStr), "%m-%d-%H-%M-%S", localtime(&tv.tv_sec)) == 0) { in GetFileName() 173 nowStr, tv.tv_usec, buffer->width, buffer->height); in GetFileName()
|
/device/soc/rockchip/rk3588/hardware/display/src/display_device/ |
H A D | hdi_layer.cpp | 164 struct timeval tv;
in GetFileName() local 167 gettimeofday(&tv, nullptr);
in GetFileName() 168 if (strftime(nowStr, sizeof(nowStr), "%m-%d-%H-%M-%S", localtime(&tv.tv_sec)) == 0) {
in GetFileName() 173 nowStr, tv.tv_usec, buffer->width, buffer->height);
in GetFileName()
|
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
H A D | wl_android.h | 357 struct osl_timespec tv; member 393 struct osl_timespec tv; member
|
H A D | linux_osl.c | 1178 struct osl_timespec tv; in osl_sysuptime_us() local 1181 osl_do_gettimeofday(&tv); in osl_sysuptime_us() 1183 usec = (uint64)tv.tv_sec * 1000000ul + tv.tv_usec; in osl_sysuptime_us() 1212 struct osl_timespec tv; in osl_systztime_us() local 1215 osl_do_gettimeofday(&tv); in osl_systztime_us() 1217 tzusec = (uint64)((tv.tv_sec - (sys_tz.tz_minuteswest * 60)) * in osl_systztime_us() 1219 tzusec += tv.tv_usec; in osl_systztime_us()
|
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_logo.c | 650 conn_state->tv.brightness = set->brightness; in setup_initial_state() 651 conn_state->tv.contrast = set->contrast; in setup_initial_state() 652 conn_state->tv.saturation = set->saturation; in setup_initial_state() 653 conn_state->tv.hue = set->hue; in setup_initial_state()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_logo.c | 680 conn_state->tv.brightness = set->brightness; in setup_initial_state() 681 conn_state->tv.contrast = set->contrast; in setup_initial_state() 682 conn_state->tv.saturation = set->saturation; in setup_initial_state() 683 conn_state->tv.hue = set->hue; in setup_initial_state()
|
H A D | rockchip_drm_drv.c | 1163 connector_state->tv.brightness = 0x32; in rockchip_drm_set_property_default() 1164 connector_state->tv.contrast = 0x32; in rockchip_drm_set_property_default() 1165 connector_state->tv.saturation = 0x32; in rockchip_drm_set_property_default() 1166 connector_state->tv.hue = 0x32; in rockchip_drm_set_property_default()
|
H A D | rockchip_rgb.c | 228 s->tv_state = &conn_state->tv; in rockchip_rgb_encoder_atomic_check()
|
/device/soc/rockchip/common/sdk_linux/fs/xfs/ |
H A D | xfs_inode.c | 790 struct timespec64 tv;
in xfs_ialloc() local 858 tv = current_time(inode);
in xfs_ialloc() 859 inode->i_mtime = tv;
in xfs_ialloc() 860 inode->i_atime = tv;
in xfs_ialloc() 861 inode->i_ctime = tv;
in xfs_ialloc() 872 ip->i_d.di_crtime = tv;
in xfs_ialloc()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_tlstream.c | 975 const u8 tv = SWTRACE_VERSION; /* protocol version */
in kbasep_tlstream_timeline_header() local 977 size_t msg_size = sizeof(tv) + sizeof(ps) + sizeof(tp_count);
in kbasep_tlstream_timeline_header() 1000 pos = kbasep_tlstream_write_bytes(buffer, pos, &tv, sizeof(tv));
in kbasep_tlstream_timeline_header()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
H A D | mali_kbase_tlstream.c | 1285 const u8 tv = SWTRACE_VERSION; /* protocol version */ in kbasep_tlstream_timeline_header() local 1287 size_t msg_size = sizeof(tv) + sizeof(ps) + sizeof(tp_count); in kbasep_tlstream_timeline_header() 1318 pos = kbasep_tlstream_write_bytes(buffer, pos, &tv, sizeof(tv)); in kbasep_tlstream_timeline_header()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/ |
H A D | hi_osal.h | 510 extern void osal_gettimeofday(osal_timeval_t *tv);
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | hi_osal.h | 507 extern void osal_gettimeofday(osal_timeval_t *tv);
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
H A D | hi_osal.h | 143 void osal_get_timeofday(osal_timeval *tv);
|
/device/soc/rockchip/common/sdk_linux/include/drm/ |
H A D | drm_connector.h | 701 /** @tv: TV connector state */ 702 struct drm_tv_connector_state tv; member
|
/device/soc/rockchip/common/sdk_linux/include/uapi/linux/usb/ |
H A D | videodev2.h | 1049 static inline __u64 v4l2_timeval_to_ns(const struct timeval *tv)
in v4l2_timeval_to_ns() argument 1051 return (__u64)tv->tv_sec * 1000000000ULL + tv->tv_usec * 1000;
in v4l2_timeval_to_ns()
|