Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/device/soc/winnermicro/wm800/board/platform/common/task/
Dwm_wl_timers.c23 u32 time; member
56 if ((*timeo)->time > 0) { in tls_timeouts_mbox_fetch_p()
57 time_needed = tls_arch_mbox_fetch(mbox, msg, (*timeo)->time); in tls_timeouts_mbox_fetch_p()
81 if (time_needed < (*timeo)->time) { in tls_timeouts_mbox_fetch_p()
82 (*timeo)->time -= time_needed; in tls_timeouts_mbox_fetch_p()
84 (*timeo)->time = 0; in tls_timeouts_mbox_fetch_p()
114 timeout->time = msecs; in tls_timeout_p()
121 if ((*timeo)->time > msecs) { in tls_timeout_p()
122 (*timeo)->time -= msecs; in tls_timeout_p()
127 timeout->time -= t->time; in tls_timeout_p()
[all …]
/device/soc/winnermicro/wm800/board/include/
Dwm_debug.h61 u32 time = tls_os_get_time(); \
62 printf("[WM_I] <%d.%02d> %s : "fmt, (time/100), (time%100), __func__, ##__VA_ARGS__); \
67 u32 time = tls_os_get_time(); \
68 printf("[WM_W] <%d.%02d> %s : "fmt, (time/100), (time%100), __func__, ##__VA_ARGS__); \
73 u32 time = tls_os_get_time(); \
74 printf("[WM_E] <%d.%02d> %s : "fmt, (time/100), (time%100), __func__, ##__VA_ARGS__); \
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/hal/
Dhal_key.c111 uint32_t time; member
126 uint32_t time; member
266 adc_key.time = hal_sys_timer_get(); in hal_adckey_irqhandler()
374 uint32_t time = hal_sys_timer_get(); in hal_pwrkey_handle_irq_state() local
408 pwr_key.time = time; in hal_pwrkey_handle_irq_state()
509 uint32_t time; in hal_gpiokey_irqhandler() local
520 time = hal_sys_timer_get(); in hal_gpiokey_irqhandler()
525 gpio_key.time_debounce = time; in hal_gpiokey_irqhandler()
528 gpio_key.time_dither = time; in hal_gpiokey_irqhandler()
687 uint32_t time; in hal_key_debounce_handler() local
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/cbb/based/ext_inc/
Dvalg_plat.h147 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, NULL); in get_sys_time_by_usec()
165 return (hi_u64)((time.tv_sec * 1000000LLU) + time.tv_usec); in get_sys_time_by_usec()
/device/soc/esp/esp32/components/hal/esp32/include/hal/
Di2c_ll.h126 hw->sda_hold.time = bus_cfg->sda_hold; in i2c_ll_set_bus_timing()
127 hw->sda_sample.time = bus_cfg->sda_sample; in i2c_ll_set_bus_timing()
129 hw->scl_rstart_setup.time = bus_cfg->setup; in i2c_ll_set_bus_timing()
130 hw->scl_stop_setup.time = bus_cfg->setup; in i2c_ll_set_bus_timing()
132 hw->scl_start_hold.time = bus_cfg->hold; in i2c_ll_set_bus_timing()
133 hw->scl_stop_hold.time = bus_cfg->hold; in i2c_ll_set_bus_timing()
295 hw->scl_rstart_setup.time = start_setup; in i2c_ll_set_start_timing()
296 hw->scl_start_hold.time = start_hold; in i2c_ll_set_start_timing()
310 hw->scl_stop_setup.time = stop_setup; in i2c_ll_set_stop_timing()
311 hw->scl_stop_hold.time = stop_hold; in i2c_ll_set_stop_timing()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/hal/
Dhal_dm_acs.h27 #define init_clm_param(clm, app, lv, time) \ argument
31 clm.mntr_time = time;\
34 #define init_nhm_param(nhm, txon, cca, cnt_opt, app, lv, time) \ argument
41 nhm.mntr_time = time;\
45 #define init_acs_clm(clm, time) \ argument
46 init_clm_param(clm, CLM_ACS, CLM_LV_2, time)
48 #define init_acs_nhm(nhm, time) \ argument
49 init_nhm_param(nhm, NHM_EXCLUDE_TXON, NHM_EXCLUDE_CCA, NHM_CNT_ALL, NHM_ACS, NHM_LV_2, time)
51 #define init_11K_high_nhm(nhm, time) \ argument
52 init_nhm_param(nhm, NHM_EXCLUDE_TXON, NHM_EXCLUDE_CCA, NHM_CNT_ALL, IEEE_11K_HIGH, NHM_LV_2, time)
[all …]
/device/soc/beken/bk7235/liteos_m/bk_sdk_armino/middleware/soc/common/hal/
Dtimer_hal.c24 uint32_t timer_hal_cal_end_count(timer_id_t chan, uint64_t time, uint32_t div, timer_value_unit_t u… in timer_hal_cal_end_count() argument
52 value = time * TIMER_CLOCK_FREQ_26M / unit_factor / div; in timer_hal_cal_end_count()
54 value = time * TIMER_CLOCK_FREQ_32K / unit_factor / div; in timer_hal_cal_end_count()
59 value = time * TIMER_CLOCK_FREQ_26M / unit_factor / div; in timer_hal_cal_end_count()
61 value = time * TIMER_CLOCK_FREQ_32K / unit_factor / div; in timer_hal_cal_end_count()
81 bk_err_t timer_hal_init_timer(timer_hal_t *hal, timer_id_t chan, uint64_t time, timer_value_unit_t … in timer_hal_init_timer() argument
83 uint32_t end_count = timer_hal_cal_end_count(chan, time, 1, unit_type); in timer_hal_init_timer()
/device/board/unionman/unionpi_tiger/kernel/drivers/isp/drivers/v4l2_dev/src/fw_lib/
Dcmos_func.c995 fsm_param_sensor_int_time_t time; in cmos_long_exposure_update() local
1078 time.int_time = p_fsm->integration_time_short; in cmos_long_exposure_update()
1079 time.int_time_M = integration_time_medium1; in cmos_long_exposure_update()
1080 time.int_time_M2 = integration_time_medium2; in cmos_long_exposure_update()
1081 time.int_time_L = p_fsm->integration_time_long; in cmos_long_exposure_update()
1083 …_param( p_fsm->cmn.p_fsm_mgr, FSM_PARAM_SET_SENSOR_ALLOC_INTEGRATION_TIME, &time, sizeof( time ) ); in cmos_long_exposure_update()
1086 p_fsm->integration_time_short = time.int_time; in cmos_long_exposure_update()
1087 p_fsm->integration_time_medium = time.int_time_M; in cmos_long_exposure_update()
1088 p_fsm->integration_time_medium2 = time.int_time_M2; in cmos_long_exposure_update()
1089 p_fsm->integration_time_long = time.int_time_L; in cmos_long_exposure_update()
[all …]
/device/qemu/riscv32_virt/liteos_m/board/ui/
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/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/src/
Dhealth_srv.c203 u8_t time; in send_attention_status() local
204 time = k_delayed_work_remaining_get(&srv->attn_timer) / 1000; // 1000:time unit in send_attention_status()
205 BT_DBG("%u second%s", time, (time == 1) ? "" : "s"); in send_attention_status()
207 net_buf_simple_add_u8(msg, time); in send_attention_status()
228 u8_t time; in attention_set_unrel() local
229 time = net_buf_simple_pull_u8(buf); in attention_set_unrel()
230 BT_DBG("%u second%s", time, (time == 1) ? "" : "s"); in attention_set_unrel()
231 bt_mesh_attention(model, time); in attention_set_unrel()
382 void bt_mesh_attention(struct bt_mesh_model *model, u8_t time) in bt_mesh_attention() argument
400 if (time) { in bt_mesh_attention()
[all …]
/device/soc/hpmicro/sdk/hpm_sdk/drivers/src/
Dhpm_rtc_drv.c16 hpm_stat_t rtc_config_time(RTC_Type *base, time_t time) in rtc_config_time() argument
18 base->SECOND = (uint32_t)time; in rtc_config_time()
24 time_t time = (time_t)base->SECOND; in rtc_get_time() local
25 return time; in rtc_get_time()
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/uart_sample/
Duart.c163 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()
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/
Dplatform_time.h60 extern mbedtls_time_t (*mbedtls_time)( mbedtls_time_t* time );
69 int mbedtls_platform_set_time( mbedtls_time_t (*time_func)( mbedtls_time_t* time ) );
74 #define mbedtls_time time
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/gls/
Dgls_racp.c145 prf_unpack_date_time(&p_data[index], &p_racp_req->filter.val.time.max); in gls_racp_req_decode()
151 prf_unpack_date_time(&p_data[index], &p_racp_req->filter.val.time.min); in gls_racp_req_decode()
157 … index += prf_unpack_date_time(&p_data[index], &p_racp_req->filter.val.time.min); in gls_racp_req_decode()
158 prf_unpack_date_time(&p_data[index], &p_racp_req->filter.val.time.max); in gls_racp_req_decode()
160 if (gls_racp_user_time_compare(&p_racp_req->filter.val.time.max, in gls_racp_req_decode()
161 &p_racp_req->filter.val.time.min) != -1) { in gls_racp_req_decode()
/device/soc/hisilicon/common/platform/rtc/
Drtc_hi35xx.c106 … 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()
197 static int32_t HiRtcReadTime(struct RtcHost *host, struct RtcTime *time) in HiRtcReadTime() argument
233 return HiRtcReadTimeData(rtcInfo, &regAddr, time); in HiRtcReadTime()
236 …riteTimeData(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()
250 millisecond = time->millisecond / MS_OF_ACCURACY; in HiRtcWriteTimeData()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
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/
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/esp/esp32/components/soc/esp32/include/soc/
Di2c_struct.h190 …uint32_t time: 10; /*This register is used to configure the clock num I2C us… member
197 …uint32_t time: 10; /*This register is used to configure the clock num I2C us… member
212 …uint32_t time: 10; /*This register is used to configure the clock num between… member
219 …uint32_t time: 10; /*This register is used to configure the clock num between… member
226 …uint32_t time: 14; /*This register is used to configure the clock num after t… member
233 …uint32_t time: 10; /*This register is used to configure the clock num between… member
/device/soc/esp/esp32/components/spi_flash/
Dspi_flash_os_func_app.c331 uint32_t time = esp_system_get_time(); in on_spi1_check_yield() local
334 …if ((time - ctx->released_since_us) >= CONFIG_SPI_FLASH_ERASE_YIELD_TICKS * portTICK_PERIOD_MS * 1… in on_spi1_check_yield()
336 ctx->acquired_since_us = time; in on_spi1_check_yield()
337 } else if ((time - ctx->acquired_since_us) >= CONFIG_SPI_FLASH_ERASE_YIELD_DURATION_MS * 1000) { in on_spi1_check_yield()
360 uint32_t time = esp_system_get_time(); in on_spi1_yielded() local
361 ctx->acquired_since_us = time; in on_spi1_yielded()
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/oal/
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()
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/chipsea/cst85/liteos_m/sdk/bsp/driver/ticker/
Dlp_ticker.c184 void lp_ticker_set_match_time_lo(uint32_t time) in lp_ticker_set_match_time_lo() argument
186 LP_TICKER_TIMER->MR[LP_TICKER_TIMER_MRi].L = time; // set match value in lp_ticker_set_match_time_lo()
206 bool lp_ticker_time_past(uint32_t time) in lp_ticker_time_past() argument
209 return (lp_ticker_time_cmp(time, _lsb)); in lp_ticker_time_past()
/device/soc/nxp/hardware/display/src/display_device/vsync/
Dsorft_vsync.cpp84 uint64_t time = 0; in WorkThread() local
93 time = ts.tv_nsec; in WorkThread()
94 callback_->Vsync(seq, time); in WorkThread()
/device/soc/amlogic/a311d/hardware/display/src/display_device/
Dsorft_vsync.cpp82 uint64_t time = 0; in WorkThread() local
91 time = ts.tv_nsec; in WorkThread()
92 callback_->Vsync(seq, time); in WorkThread()
/device/soc/rockchip/common/vendor/drivers/devfreq/event/
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/board/isoftstone/yangfan/kernel/src/driv/devfreq/event/
Drockchip-nocp.c43 ktime_t time; member
58 nocp->time = ktime_get(); in rockchip_nocp_enable()
85 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()

12345678910>>...15