Home
last modified time | relevance | path

Searched refs:time (Results 1 - 25 of 152) sorted by relevance

1234567

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/based/ext_inc/
H A Dvalg_plat.h37 #include <sys/time.h>
147 osal_timeval_t time; in get_sys_time_by_sec() local
148 osal_gettimeofday(&time); in get_sys_time_by_sec()
150 struct timeval time; in get_sys_time_by_sec()
151 gettimeofday(&time, NULL); in get_sys_time_by_sec()
153 return (hi_u64)time.tv_sec; in get_sys_time_by_sec()
159 osal_timeval_t time; in get_sys_time_by_usec() local
160 osal_gettimeofday(&time); in get_sys_time_by_usec()
162 struct timeval time; in get_sys_time_by_usec()
163 gettimeofday(&time, NUL in get_sys_time_by_usec()
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/
H A Dplatform_time.h4 * \brief mbed TLS Platform time abstraction
52 #include <time.h>
57 * The function pointers for time
60 extern mbedtls_time_t (*mbedtls_time)( mbedtls_time_t* time );
63 * \brief Set your own time function pointer
65 * \param time_func the time function implementation
69 int mbedtls_platform_set_time( mbedtls_time_t (*time_func)( mbedtls_time_t* time ) );
74 #define mbedtls_time time
H A Dplatform.h64 #include <time.h>
88 #define MBEDTLS_PLATFORM_STD_TIME time /**< The default \c time function to use. */
/device/qemu/riscv32_virt/liteos_m/board/ui/
H A Dui_adapter.cpp114 uint32_t time = HALTick::GetInstance().GetElapseTime(temp); in UiAdapterTask() local
115 if (time < DEFAULT_TASK_PERIOD) { in UiAdapterTask()
116 osDelay(DEFAULT_TASK_PERIOD - time); in UiAdapterTask()
121 time = HALTick::GetInstance().GetElapseTime(start); in UiAdapterTask()
122 if (time >= TICKS_OF_SEC && time != 0) { in UiAdapterTask()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/uart_sample/
H A Duart.c37 #include <sys/time.h>
92 * Set the minimum characters and waiting time, in Uart1Config()
93 * when there are no special requirements for receiving characters and waiting time in Uart1Config()
155 * @param int timeoutMs: read data time
163 struct timeval time; in UartRead() local
169 time.tv_sec = timeout / 1000; /* 1000:转换成秒 */ in UartRead()
170 time.tv_usec = (timeout - time.tv_sec * 1000) * 1000; /* 1000, 1000:转换为微秒 */ in UartRead()
173 ret = select(fd + 1, &rset, NULL, NULL, &time); // 非阻塞式读取数据 in UartRead()
176 printf("time ove in UartRead()
[all...]
/device/soc/hisilicon/common/platform/rtc/
H A Drtc_hi35xx.c106 static int32_t HiRtcReadTimeData(struct RtcConfigInfo *rtcInfo, struct RtcTimeReg *regAddr, struct RtcTime *time) in HiRtcReadTimeData() argument
118 if (regAddr == NULL || time == NULL) { in HiRtcReadTimeData()
127 time->millisecond = millisecond * MS_OF_ACCURACY; in HiRtcReadTimeData()
152 TimestampToRtcTime(time, seconds); in HiRtcReadTimeData()
169 HDF_LOGW("low voltage detected, date/time is not reliable"); in HiRtcReadPreviousConfig()
197 static int32_t HiRtcReadTime(struct RtcHost *host, struct RtcTime *time) in HiRtcReadTime() argument
233 return HiRtcReadTimeData(rtcInfo, &regAddr, time); in HiRtcReadTime()
236 static int32_t HiRtcWriteTimeData(struct RtcConfigInfo *rtcInfo, struct RtcTimeReg *regAddr, const struct RtcTime *time) in HiRtcWriteTimeData() argument
243 if (regAddr == NULL || time == NULL) { in HiRtcWriteTimeData()
248 seconds = RtcTimeToTimestamp(time); in HiRtcWriteTimeData()
280 HiRtcWriteTime(struct RtcHost *host, const struct RtcTime *time) HiRtcWriteTime() argument
328 HiReadAlarm(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, struct RtcTime *time) HiReadAlarm() argument
354 HiWriteAlarm(struct RtcHost *host, enum RtcAlarmIndex alarmIndex, const struct RtcTime *time) HiWriteAlarm() argument
[all...]
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_time.h27 #include <linux/time.h>
202 static inline hi_void oal_rtc_time_to_tm(unsigned long time, oal_rtctime_stru *tm) in oal_rtc_time_to_tm() argument
204 rtc_time_to_tm(time, tm); in oal_rtc_time_to_tm()
270 oal_time_t_stru time; in oal_ktime_get() local
271 time.tv64 = (hi_s64)LOS_TickCountGet(); in oal_ktime_get()
272 return time; in oal_ktime_get()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
H A Dosal_timer.c158 void osal_rtc_time_to_tm(unsigned long time, osal_rtc_time_t *tm) in osal_rtc_time_to_tm() argument
163 rtc_time64_to_tm(time, &_tm); in osal_rtc_time_to_tm()
165 rtc_time_to_tm(time, &_tm); in osal_rtc_time_to_tm()
179 void osal_rtc_tm_to_time(osal_rtc_time_t *tm, unsigned long *time) in osal_rtc_tm_to_time() argument
193 *time = rtc_tm_to_time64(&_tm); in osal_rtc_tm_to_time()
195 rtc_tm_to_time(&_tm, time); in osal_rtc_tm_to_time()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
H A Dosal_timer.c204 void osal_rtc_time_to_tm(unsigned long time, osal_rtc_time *tm) in osal_rtc_time_to_tm() argument
209 rtc_time64_to_tm(time, &_tm); in osal_rtc_time_to_tm()
211 rtc_time_to_tm(time, &_tm); in osal_rtc_time_to_tm()
226 void osal_rtc_tm_to_time(osal_rtc_time *tm, unsigned long *time) in osal_rtc_tm_to_time() argument
239 *time = rtc_tm_to_time64(&_tm); in osal_rtc_tm_to_time()
241 rtc_tm_to_time(&_tm, time); in osal_rtc_tm_to_time()
/device/soc/hisilicon/common/hal/display/source/display_device/src/vsync/
H A Dsorft_vsync.cpp18 #include <sys/time.h>
89 uint64_t time = ts.tv_nsec; in WorkThread() local
90 callback_->Vsync(seq, time); in WorkThread()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/sys/
H A Dtimex.h12 #include <sys/time.h>
15 struct timeval time; member
24 struct timeval time; member
/device/soc/rockchip/common/vendor/drivers/devfreq/event/
H A Drockchip-nocp.c43 ktime_t time; member
58 nocp->time = ktime_get(); in rockchip_nocp_enable()
84 time_ms = ktime_to_ms(ktime_sub(ktime_get(), nocp->time)); in rockchip_nocp_get_event()
95 nocp->time = ktime_get(); in rockchip_nocp_get_event()
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/hw/include/
H A Dtime64.h38 #include <sys/time.h>
39 #include <time.h>
61 * @ingroup time
63 * This function sets the time as well as a timezone in 32-bit system.
81 * @see clock_gettime | time | ctime
87 * @ingroup time
89 * This function gets the time as well as a timezone in 32-bit system.
107 * @see clock_gettime | time | ctime
/device/soc/rockchip/common/sdk_linux/include/trace/events/
H A Dcpuhp.h54 TP_STRUCT__entry(__field(unsigned int, cpus) __field(unsigned int, active_cpus) __field(unsigned int, time)
59 __entry->time = div64_u64(sched_clock() - start_time, 1000); __entry->pause = pause;),
61 TP_printk("req_cpus=0x%x act_cpus=0x%x time=%u us paused=%d", __entry->cpus, __entry->active_cpus,
62 __entry->time, __entry->pause));
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/kernel/include/
H A Dlos_track.h112 UINT32 uwCurTime; /**< The low 32 bit of the current time */
125 typedef UINT32 (*USER_CUR_US_FUNC)(UINT32 *time);
243 * <li>g_func_get_cur_us funciton is used to get the low 32 bit of current time of each item.</li>
244 * <li>If the user wants to use own time count funtion, g_func_get_cur_us funciton must be registered first. </li>
449 #define LOS_TRACK_SWTMR(type, tmrID, time, entry) \
452 OsTrackhook(type, tmrID, time, entry); \
456 #define LOS_TRACK_SWTMR(type, tmrID, time, entry)
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
H A DRockchip_OSAL_ETC.c31 #include <sys/time.h>
163 unsigned long sec, usec, time; in MeasureTime() local
169 usec = stop->tv_usec + 1000000 - start->tv_usec; // 1000000:time shift in MeasureTime()
173 time = sec * 1000000 + (usec); // 1000000:time shift in MeasureTime()
175 return time; in MeasureTime()
201 if (perfTime[id] > 30000) { // 30000:time in Rockchip_OSAL_PerfStop()
236 prefix, (float)perfTotal / (float)(frameCount * 1000), Rockchip_OSAL_PerfOver30ms(id)); // 1000:time shift in Rockchip_OSAL_PerfPrint()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/interconnection_server/
H A Dhisignalling.c22 #include <sys/time.h>
336 * Set the minimum characters and waiting time, in Uart1Config()
337 * when there are no special requirements for receiving characters and waiting time in Uart1Config()
399 * @param int timeoutMs: read data time
407 struct timeval time; in UartRead() local
413 time.tv_sec = timeout / 1000; /* 1000:转换成秒 */ in UartRead()
414 time.tv_usec = (timeout - time.tv_sec * 1000) * 1000; /* 1000, 1000:转换为微秒 */ in UartRead()
417 ret = select(uartFd + 1, &rset, NULL, NULL, &time); in UartRead()
420 printf("time ove in UartRead()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/interdrv/common/cipher/src/drv/cipher_v1.0/osal/include/
H A Ddrv_osal_lib_linux.h95 #define crypto_queue_wait_timeout(head, con, time) \
96 wait_event_interruptible_timeout(head, *(con), time)
/device/soc/hisilicon/common/hal/display/source/display_device/src/drm/
H A Ddrm_vsync_worker.cpp109 uint64_t time = WaitNextVBlank(seq); in WorkThread() local
111 mCallBack->Vsync(seq, time); in WorkThread()
/device/soc/rockchip/common/hardware/display/src/display_device/
H A Ddrm_vsync_worker.cpp113 uint64_t time = WaitNextVBlank(seq); in WorkThread() local
115 mCallBack->Vsync(seq, time); in WorkThread()
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
H A Ddrm_vsync_worker.cpp112 uint64_t time = WaitNextVBlank(seq); in WorkThread() local
114 mCallBack->Vsync(seq, time); in WorkThread()
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
H A Ddrm_vsync_worker.cpp112 uint64_t time = WaitNextVBlank(seq); in WorkThread() local
114 mCallBack->Vsync(seq, time); in WorkThread()
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
H A Ddrm_vsync_worker.cpp112 uint64_t time = WaitNextVBlank(seq); in WorkThread() local
114 mCallBack->Vsync(seq, time); in WorkThread()
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
H A Ddrm_vsync_worker.cpp122 uint64_t time = WaitNextVBlank(seq); in WorkThread() local
124 mCallBack->Vsync(seq, time); in WorkThread()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/include/
H A Dhi_log.h311 /* need use hi_func_trace_low_freq_cnt_end at the same time, to repesent the addtional prints is the end */
326 /* Function trace log for user input low frequency time */
328 #define hi_dbg_func_trace_low_freq_time(time) \
333 if (time <= (curr_time - last_time)) { \
334 HI_LOG_DBG(" =TRACE freq=%d,freqtimes=%d=\n", time, curr_time); \
341 /* need use hi_func_trace_low_freq_time_end at the same time, to repesent the addtional prints is the end */
343 #define hi_func_trace_low_freq_time_begin(time) \
348 if (time <= (curr_time - last_time)) { \

Completed in 11 milliseconds

1234567