Home
last modified time | relevance | path

Searched refs:tmo (Results 1 – 25 of 37) sorted by relevance

12

/device/soc/winnermicro/wm800/board/platform/common/task/
Dwm_wl_task.c47 … tls_timeout_p(task_param->timeo_id, msg->msg.tmo.msecs, msg->msg.tmo.h, msg->msg.tmo.arg); in task_thread()
51 tls_untimeout_p(task_param->timeo_id, msg->msg.tmo.h, msg->msg.tmo.arg); in task_thread()
139 msg->msg.tmo.msecs = msecs; in tls_wl_task_add_timeout()
140 msg->msg.tmo.h = h; in tls_wl_task_add_timeout()
141 msg->msg.tmo.arg = arg; in tls_wl_task_add_timeout()
159 msg->msg.tmo.h = h; in tls_wl_task_untimeout()
160 msg->msg.tmo.arg = arg; in tls_wl_task_untimeout()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/xr829/wlan/
Dpm.c236 unsigned long tmo) in xradio_pm_stay_awake() argument
247 if (!wake_lock_active(&pm->wakelock) || cur_tmo < (long)tmo) in xradio_pm_stay_awake()
248 wake_lock_timeout(&pm->wakelock, tmo); in xradio_pm_stay_awake()
315 unsigned long tmo) in xradio_pm_stay_awake() argument
323 if (!timer_pending(&pm->stay_awake) || cur_tmo < (long)tmo) in xradio_pm_stay_awake()
324 mod_timer(&pm->stay_awake, jiffies + tmo); in xradio_pm_stay_awake()
353 long tmo; in xradio_suspend_work() local
358 tmo = work->timer.expires - jiffies; in xradio_suspend_work()
359 if (tmo < 0) in xradio_suspend_work()
360 tmo = 0; in xradio_suspend_work()
[all …]
Dscan.c23 int tmo = 0; in xradio_advance_scan_start() local
26 tmo += hw_priv->advanceScanElems.duration; in xradio_advance_scan_start()
28 xradio_pm_stay_awake(&hw_priv->pm_state, tmo * HZ / 1000); in xradio_advance_scan_start()
32 &hw_priv->advance_scan_timeout, tmo * HZ / 1000); in xradio_advance_scan_start()
105 int tmo = SCAN_DEFAULT_TIMEOUT; in xradio_scan_start() local
107 int tmo = SCAN_DEFAULT_TIMEOUT; in xradio_scan_start() local
113 tmo += scan->ch[i].maxChannelTime + 10; in xradio_scan_start()
118 xradio_pm_stay_awake(&hw_priv->pm_state, tmo * HZ / 1000); in xradio_scan_start()
120 schedule_delayed_work(&hw_priv->scan.timeout, tmo * HZ / 1000); in xradio_scan_start()
1021 int tmo = hw_priv->scan.direct_probe ? 0 : priv->cqm_beacon_loss_count; in xradio_scan_restart_delayed() local
[all …]
Dpm.h67 void xradio_pm_stay_awake(struct xradio_pm_state *pm, unsigned long tmo);
Dwsm.c96 void *arg, u16 cmd, long tmo, int if_id);
235 long tmo = WSM_CMD_TIMEOUT; in wsm_etf_cmd() local
236 unsigned long wsm_cmd_max_tmo = jiffies + tmo; in wsm_etf_cmd()
243 hw_priv->wsm_cmd.done, tmo); in wsm_etf_cmd()
247 time_before_eq(jiffies, hw_priv->rx_timestamp+tmo) && in wsm_etf_cmd()
2162 void *arg, u16 cmd, long tmo, int if_id) in wsm_cmd_send() argument
2223 if (unlikely(tmo == WSM_CMD_START_TIMEOUT)) in wsm_cmd_send()
2237 hw_priv->wsm_cmd.done, tmo); in wsm_cmd_send()
2241 time_before_eq(jiffies, hw_priv->rx_timestamp+tmo) && in wsm_cmd_send()
2252 tmo, wsm_cmd_max_tmo, jiffies, in wsm_cmd_send()
Dqueue.c147 unsigned long tmo = item->queue_timestamp + queue->ttl; in __xradio_queue_gc() local
148 mod_timer(&queue->gc, tmo); in __xradio_queue_gc()
151 tmo - jiffies); in __xradio_queue_gc()
Dbh.c1208 static unsigned long tmo; in xradio_comingrx_update() local
1211 tmo = jiffies + (HZ/166);/*1/166s = 6ms*/ in xradio_comingrx_update()
1215 tmo = jiffies - 1; in xradio_comingrx_update()
1219 if (time_before(jiffies, tmo)) in xradio_comingrx_update()
Dap.c1372 long tmo = priv->join_dtim_period * (priv->beacon_int + 20) * HZ / 1024; in xradio_multicast_start_work() local
1381 mod_timer(&priv->mcast_timeout, jiffies + tmo); in xradio_multicast_start_work()
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_monitor.c61 struct ble_npl_callout tmo; member
160 ble_npl_callout_reset(&rtt_drops.tmo, OS_TICKS_PER_SEC); in update_drop_counters()
172 ble_npl_callout_stop(&rtt_drops.tmo); in reset_drop_counters()
296 ble_npl_callout_init(&rtt_drops.tmo, ble_hs_evq_get(), drops_tmp_cb, NULL); in ble_monitor_init()
/device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/include/nimble/
Dnimble_npl_os.h99 …tic inline struct ble_npl_event *ble_npl_eventq_get(struct ble_npl_eventq *evq, ble_npl_time_t tmo) in ble_npl_eventq_get() argument
101 return npl_freertos_eventq_get(evq, tmo); in ble_npl_eventq_get()
/device/board/isoftstone/yangfan/kernel/src/driv/media/isp/
Disp_stats_v2x.c534 struct isp2x_hdrtmo_stat *tmo; in rkisp_stats_get_tmo_stats() local
540 tmo = &pbuf->params.hdrtmo; in rkisp_stats_get_tmo_stats()
546 tmo->lglow = value >> 16; in rkisp_stats_get_tmo_stats()
547 tmo->lgmin = value & 0xFFFF; in rkisp_stats_get_tmo_stats()
550 tmo->lghigh = value >> 16; in rkisp_stats_get_tmo_stats()
551 tmo->lgmax = value & 0xFFFF; in rkisp_stats_get_tmo_stats()
554 tmo->weightkey = (value >> 16) & 0xFF; in rkisp_stats_get_tmo_stats()
555 tmo->lgmean = value & 0xFFFF; in rkisp_stats_get_tmo_stats()
558 tmo->lgrange1 = value >> 16; in rkisp_stats_get_tmo_stats()
559 tmo->lgrange0 = value & 0xFFFF; in rkisp_stats_get_tmo_stats()
[all …]
/device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/src/
Dnpl_os_freertos.c27 struct ble_npl_event *npl_freertos_eventq_get(struct ble_npl_eventq *evq, ble_npl_time_t tmo) in npl_freertos_eventq_get() argument
31 status = tls_os_queue_receive(evq->q, (void **)&ev, sizeof(ev), tmo); in npl_freertos_eventq_get()
/device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/include/os/
Dnpl_freertos.h29 struct ble_npl_event *npl_freertos_eventq_get(struct ble_npl_eventq *evq, ble_npl_time_t tmo);
/device/soc/winnermicro/wm800/board/include/platform/
Dwm_wl_task.h114 } tmo; member
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/include/nimble/
Dnimble_npl.h69 struct ble_npl_event *ble_npl_eventq_get(struct ble_npl_eventq *evq, ble_npl_time_t tmo);
Dhci_common.h137 uint16_t tmo; member
143 uint16_t tmo; member
277 uint16_t tmo; member
/device/soc/esp/esp32/components/pthread/
Dpthread.c76 static int IRAM_ATTR pthread_mutex_lock_internal(esp_pthread_mutex_t *mux, TickType_t tmo);
614 static int IRAM_ATTR pthread_mutex_lock_internal(esp_pthread_mutex_t *mux, TickType_t tmo)
626 if (xSemaphoreTakeRecursive(mux->sem, tmo) != pdTRUE) {
630 if (xSemaphoreTake(mux->sem, tmo) != pdTRUE) {
675 TickType_t tmo = ((timeout->tv_sec - currtime.tv_sec)*1000 +
678 res = pthread_mutex_lock_internal((esp_pthread_mutex_t *)*mutex, tmo);
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/priv/
Dtcpip_priv.h176 } tmo; member
/device/soc/rockchip/common/sdk_linux/drivers/i2c/busses/
Di2c-rk3x.c1172 int tmo = WAIT_TIMEOUT * USEC_PER_MSEC; in rk3x_i2c_restart_notify() local
1178 while (tmo-- && i2c->busy) { in rk3x_i2c_restart_notify()
1184 if (tmo <= 0) { in rk3x_i2c_restart_notify()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/net/wireless/bcmdhd/
Ddhd_linux.c3803 dhd_timeout_start(dhd_timeout_t *tmo, uint usec) in dhd_timeout_start() argument
3805 tmo->limit = usec; in dhd_timeout_start()
3806 tmo->increment = 0; in dhd_timeout_start()
3807 tmo->elapsed = 0; in dhd_timeout_start()
3808 tmo->tick = jiffies_to_usecs(1); in dhd_timeout_start()
3812 dhd_timeout_expired(dhd_timeout_t *tmo) in dhd_timeout_expired() argument
3815 if (tmo->increment == 0) { in dhd_timeout_expired()
3816 tmo->increment = 1; in dhd_timeout_expired()
3820 if (tmo->elapsed >= tmo->limit) in dhd_timeout_expired()
3824 tmo->elapsed += tmo->increment; in dhd_timeout_expired()
[all …]
Ddhd.h1724 extern void dhd_timeout_start(dhd_timeout_t *tmo, uint usec);
1725 extern int dhd_timeout_expired(dhd_timeout_t *tmo);
/device/board/kaihong/khdvk_3566b/wifi/bcmdhd_hdf/bcmdhd/
Ddhd_linux.c2469 void dhd_timeout_start(dhd_timeout_t *tmo, uint usec) in dhd_timeout_start() argument
2471 tmo->limit = usec; in dhd_timeout_start()
2472 tmo->increment = 0; in dhd_timeout_start()
2473 tmo->elapsed = 0; in dhd_timeout_start()
2474 tmo->tick = jiffies_to_usecs(1); in dhd_timeout_start()
2477 int dhd_timeout_expired(dhd_timeout_t *tmo) in dhd_timeout_expired() argument
2480 if (tmo->increment == 0) { in dhd_timeout_expired()
2481 tmo->increment = 1; in dhd_timeout_expired()
2485 if (tmo->elapsed >= tmo->limit) { in dhd_timeout_expired()
2490 tmo->elapsed += tmo->increment; in dhd_timeout_expired()
[all …]
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
Ddhd_linux.c2392 dhd_timeout_start(dhd_timeout_t *tmo, uint usec) in dhd_timeout_start() argument
2394 tmo->limit = usec; in dhd_timeout_start()
2395 tmo->increment = 0; in dhd_timeout_start()
2396 tmo->elapsed = 0; in dhd_timeout_start()
2397 tmo->tick = jiffies_to_usecs(1); in dhd_timeout_start()
2401 dhd_timeout_expired(dhd_timeout_t *tmo) in dhd_timeout_expired() argument
2404 if (tmo->increment == 0) { in dhd_timeout_expired()
2405 tmo->increment = 1; in dhd_timeout_expired()
2409 if (tmo->elapsed >= tmo->limit) in dhd_timeout_expired()
2413 tmo->elapsed += tmo->increment; in dhd_timeout_expired()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/net/rockchip_wlan/rkwifi/bcmdhd/
Ddhd_linux.c2728 dhd_timeout_start(dhd_timeout_t *tmo, uint usec) in dhd_timeout_start() argument
2731 tmo->limit = usec * htclkratio; in dhd_timeout_start()
2733 tmo->limit = usec; in dhd_timeout_start()
2735 tmo->increment = 0; in dhd_timeout_start()
2736 tmo->elapsed = 0; in dhd_timeout_start()
2737 tmo->tick = 10 * USEC_PER_MSEC; /* 10 msec */ in dhd_timeout_start()
2741 dhd_timeout_expired(dhd_timeout_t *tmo) in dhd_timeout_expired() argument
2744 if (tmo->increment == 0) { in dhd_timeout_expired()
2745 tmo->increment = USEC_PER_MSEC; /* Start with 1 msec */ in dhd_timeout_expired()
2749 if (tmo->elapsed >= tmo->limit) in dhd_timeout_expired()
[all …]
Ddhd_sdio.c5837 dhd_timeout_t tmo; in dhd_bus_init() local
5878 dhd_timeout_start(&tmo, WAIT_F2RXFIFORDY * WAIT_F2RXFIFORDY_DELAY * 1000); in dhd_bus_init()
5879 while (!enable && !dhd_timeout_expired(&tmo)) { in dhd_bus_init()
5886 DHD_ERROR(("Took %u usec before dongle is ready\n", tmo.elapsed)); in dhd_bus_init()
5890 DHD_ERROR(("Waited %u usec, dongle is not ready\n", tmo.elapsed)); in dhd_bus_init()
5931 dhd_timeout_start(&tmo, DHD_WAIT_F2RDY * 1000 * htclkratio); in dhd_bus_init()
5933 dhd_timeout_start(&tmo, DHD_WAIT_F2RDY * 1000); in dhd_bus_init()
5937 while (ready != enable && !dhd_timeout_expired(&tmo)) in dhd_bus_init()
5943 __FUNCTION__, enable, ready, tmo.elapsed)); in dhd_bus_init()

12