Home
last modified time | relevance | path

Searched refs:tm (Results 1 - 17 of 17) sorted by relevance

/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
167 tm->tm_sec = _tm.tm_sec; in osal_rtc_time_to_tm()
168 tm->tm_min = _tm.tm_min; in osal_rtc_time_to_tm()
169 tm->tm_hour = _tm.tm_hour; in osal_rtc_time_to_tm()
170 tm->tm_mday = _tm.tm_mday; in osal_rtc_time_to_tm()
171 tm->tm_mon = _tm.tm_mon; in osal_rtc_time_to_tm()
172 tm->tm_year = _tm.tm_year; in osal_rtc_time_to_tm()
173 tm->tm_wday = _tm.tm_wday; in osal_rtc_time_to_tm()
174 tm->tm_yday = _tm.tm_yday; in osal_rtc_time_to_tm()
175 tm in osal_rtc_time_to_tm()
179 osal_rtc_tm_to_time(osal_rtc_time_t *tm, unsigned long *time) osal_rtc_tm_to_time() argument
206 osal_rtc_valid_tm(struct osal_rtc_time *tm) osal_rtc_valid_tm() argument
[all...]
/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
214 tm->tm_sec = _tm.tm_sec; in osal_rtc_time_to_tm()
215 tm->tm_min = _tm.tm_min; in osal_rtc_time_to_tm()
216 tm->tm_hour = _tm.tm_hour; in osal_rtc_time_to_tm()
217 tm->tm_mday = _tm.tm_mday; in osal_rtc_time_to_tm()
218 tm->tm_mon = _tm.tm_mon; in osal_rtc_time_to_tm()
219 tm->tm_year = _tm.tm_year; in osal_rtc_time_to_tm()
220 tm->tm_wday = _tm.tm_wday; in osal_rtc_time_to_tm()
221 tm->tm_yday = _tm.tm_yday; in osal_rtc_time_to_tm()
222 tm in osal_rtc_time_to_tm()
226 osal_rtc_tm_to_time(osal_rtc_time *tm, unsigned long *time) osal_rtc_tm_to_time() argument
247 osal_rtc_valid_tm(osal_rtc_time *tm) osal_rtc_valid_tm() argument
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/hw/include/
H A Dtime64.h116 char *asctime64(const struct tm *);
117 char *asctime64_r(const struct tm *, char *);
120 struct tm *gmtime64(const time64_t *);
121 struct tm *gmtime64_r(const time64_t *, struct tm *);
122 struct tm *localtime64(const time64_t *);
123 struct tm *localtime64_r(const time64_t *, struct tm *);
124 time64_t mktime64(struct tm *);
125 time64_t timegm64(const struct tm *);
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
H A Dtime.h53 struct tm { struct
162 time_t mktime (struct tm *);
167 * This function formats the broken-down time tm according to the format specification format and places the result in the character
187 size_t strftime (char *__restrict, size_t, const char *__restrict, const struct tm *__restrict);
201 * "struct tm*" On success, this function returns a pointer to a struct tm.
210 struct tm *gmtime (const time_t *);
224 * "struct tm*" On success, the function shall return a pointer to the broken-down time structure.
233 struct tm *localtime (const time_t *);
255 char *asctime (const struct tm *);
[all...]
H A Dwchar.h797 struct tm;
820 size_t wcsftime (wchar_t *__restrict, size_t, const wchar_t *__restrict, const struct tm *__restrict);
836 size_t wcsftime_l (wchar_t *__restrict, size_t, const wchar_t *__restrict, const struct tm *__restrict, locale_t);
/device/qemu/SmartL_E802/liteos_m/board/hals/csky_driver/include/
H A Ddrv_rtc.h100 int32_t csi_rtc_set_time(rtc_handle_t handle, const struct tm *rtctime);
108 int32_t csi_rtc_get_time(rtc_handle_t handle, struct tm *rtctime);
138 int32_t csi_rtc_set_alarm(rtc_handle_t handle, const struct tm *rtctime);
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/
H A Dplatform_util.h185 * \return Pointer to an object of type struct tm on success, otherwise
188 struct tm *mbedtls_platform_gmtime_r( const mbedtls_time_t *tt,
189 struct tm *tm_buf );
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
H A Doal_time.h202 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()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/
H A Dhi_osal.h511 extern void osal_rtc_time_to_tm(unsigned long time, osal_rtc_time_t *tm);
512 extern void osal_rtc_tm_to_time(osal_rtc_time_t *tm, unsigned long *time);
513 extern int osal_rtc_valid_tm(struct osal_rtc_time *tm);
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
H A Dhi_osal.h508 extern void osal_rtc_time_to_tm(unsigned long time, osal_rtc_time_t *tm);
509 extern void osal_rtc_tm_to_time(osal_rtc_time_t *tm, unsigned long *time);
510 extern int osal_rtc_valid_tm(struct osal_rtc_time *tm);
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
H A Dhi_osal.h176 void osal_rtc_time_to_tm(unsigned long time, osal_rtc_time *tm);
177 void osal_rtc_tm_to_time(osal_rtc_time *tm, unsigned long *time);
178 int osal_rtc_valid_tm(osal_rtc_time *tm);
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
H A Dhi_osal.h513 extern void osal_rtc_time_to_tm(unsigned long time, osal_rtc_time_t *tm);
514 extern void osal_rtc_tm_to_time(osal_rtc_time_t *tm, unsigned long *time);
515 extern int osal_rtc_valid_tm(struct osal_rtc_time *tm);
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/include/
H A Dhi_common.h277 hi_s32 HI_SYS_GetBuildTime(struct tm *pstTime);
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/ai_sample/mpp_help/src/
H A Dosd_img.c112 struct tm stTime = {0};
195 static HI_VOID OSD_GetTimeStr(struct tm* pstTime, HI_CHAR* pazStr, HI_S32 s32Len) in OSD_GetTimeStr()
/device/soc/rockchip/common/vendor/drivers/power/
H A Drk817_battery.c3096 struct rtc_time tm; in rk817_get_rtc_sec() local
3099 err = rtc_read_time(rtc, &tm); in rk817_get_rtc_sec()
3105 err = rtc_valid_tm(&tm); in rk817_get_rtc_sec()
3111 return rtc_tm_to_time64(&tm); in rk817_get_rtc_sec()
/device/soc/rockchip/rk3588/kernel/drivers/power/supply/
H A Drk817_battery.c3085 struct rtc_time tm; in rk817_get_rtc_sec() local
3088 err = rtc_read_time(rtc, &tm); in rk817_get_rtc_sec()
3094 err = rtc_valid_tm(&tm); in rk817_get_rtc_sec()
3100 return rtc_tm_to_time64(&tm); in rk817_get_rtc_sec()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Ddhd_linux.c20837 struct rtc_time tm;
20843 rtc_time_to_tm(local_time, &tm);
20846 tm.tm_year - 100, tm.tm_mon + 1, tm.tm_mday, tm.tm_hour, tm.tm_min,
20847 tm.tm_sec, (int)(curtime.tv_usec/NSEC_PER_USEC));

Completed in 78 milliseconds