Home
last modified time | relevance | path

Searched refs:timer (Results 1 – 25 of 38) sorted by relevance

12

/wlan-driver/qca-wifi-host-cmn/qdf/linux/src/
Di_qdf_hrtimer.h76 void __qdf_hrtimer_start(__qdf_hrtimer_data_t *timer, ktime_t interval, in __qdf_hrtimer_start() argument
81 if (timer->ctx == QDF_CONTEXT_TASKLET) in __qdf_hrtimer_start()
85 hrtimer_start(&timer->u.hrtimer, interval, hrt_mode); in __qdf_hrtimer_start()
89 void __qdf_hrtimer_start(__qdf_hrtimer_data_t *timer, ktime_t interval, in __qdf_hrtimer_start() argument
94 if (timer->ctx == QDF_CONTEXT_HARDWARE) in __qdf_hrtimer_start()
95 hrtimer_start(&timer->u.hrtimer, interval, hrt_mode); in __qdf_hrtimer_start()
96 else if (timer->ctx == QDF_CONTEXT_TASKLET) in __qdf_hrtimer_start()
97 tasklet_hrtimer_start(&timer->u.tasklet_hrtimer, in __qdf_hrtimer_start()
112 int __qdf_hrtimer_cancel(__qdf_hrtimer_data_t *timer) in __qdf_hrtimer_cancel() argument
114 return hrtimer_cancel(&timer->u.hrtimer); in __qdf_hrtimer_cancel()
[all …]
Dqdf_mc_timer.c90 QDF_TIMER_STATE qdf_mc_timer_get_current_state(qdf_mc_timer_t *timer) in qdf_mc_timer_get_current_state() argument
94 if (!timer) { in qdf_mc_timer_get_current_state()
99 qdf_spin_lock_irqsave(&timer->platform_info.spinlock); in qdf_mc_timer_get_current_state()
101 switch (timer->state) { in qdf_mc_timer_get_current_state()
106 timer_state = timer->state; in qdf_mc_timer_get_current_state()
111 qdf_spin_unlock_irqrestore(&timer->platform_info.spinlock); in qdf_mc_timer_get_current_state()
252 timer); in __os_mc_timer_shim()
253 qdf_mc_timer_t *timer = qdf_container_of(platform_info_ptr, in __os_mc_timer_shim() local
257 scheduler_timer_callback(timer); in __os_mc_timer_shim()
260 static void qdf_mc_timer_setup(qdf_mc_timer_t *timer, in qdf_mc_timer_setup() argument
[all …]
Di_qdf_timer.h52 struct __qdf_timer_t *timer = from_timer(timer, os_timer, os_timer); in __os_timer_shim() local
54 timer->callback(timer->context); in __os_timer_shim()
57 static inline QDF_STATUS __qdf_timer_init(struct __qdf_timer_t *timer, in __qdf_timer_init() argument
61 struct timer_list *os_timer = &timer->os_timer; in __qdf_timer_init()
64 timer->callback = func; in __qdf_timer_init()
65 timer->context = arg; in __qdf_timer_init()
82 #define setup_deferrable_timer(timer, fn, data) \ argument
83 __setup_timer((timer), (fn), (data), TIMER_DEFERRABLE)
88 struct __qdf_timer_t *timer = (void *)addr; in __os_timer_shim() local
90 timer->callback(timer->context); in __os_timer_shim()
[all …]
Dqdf_hrtimer.c29 void qdf_hrtimer_start(qdf_hrtimer_data_t *timer, qdf_ktime_t interval, in qdf_hrtimer_start() argument
32 __qdf_hrtimer_start(timer, interval, mode); in qdf_hrtimer_start()
37 int qdf_hrtimer_cancel(qdf_hrtimer_data_t *timer) in qdf_hrtimer_cancel() argument
39 return __qdf_hrtimer_cancel(timer); in qdf_hrtimer_cancel()
44 void qdf_hrtimer_init(qdf_hrtimer_data_t *timer, in qdf_hrtimer_init() argument
50 __qdf_hrtimer_init(timer, callback, clock, mode, ctx); in qdf_hrtimer_init()
62 void qdf_hrtimer_kill(qdf_hrtimer_data_t *timer) in qdf_hrtimer_kill() argument
64 __qdf_hrtimer_kill(timer); in qdf_hrtimer_kill()
69 qdf_ktime_t qdf_hrtimer_get_remaining(qdf_hrtimer_data_t *timer) in qdf_hrtimer_get_remaining() argument
71 return __qdf_hrtimer_get_remaining(timer); in qdf_hrtimer_get_remaining()
[all …]
Di_qdf_mc_timer.h43 struct timer_list timer; member
/wlan-driver/qca-wifi-host-cmn/qdf/inc/
Dqdf_hrtimer.h37 (qdf_hrtimer_data_t *timer);
50 void qdf_hrtimer_start(qdf_hrtimer_data_t *timer, qdf_ktime_t interval,
61 int qdf_hrtimer_cancel(qdf_hrtimer_data_t *timer);
75 void qdf_hrtimer_init(qdf_hrtimer_data_t *timer,
97 void qdf_hrtimer_kill(__qdf_hrtimer_data_t *timer);
107 qdf_ktime_t qdf_hrtimer_get_remaining(qdf_hrtimer_data_t *timer);
118 bool qdf_hrtimer_is_queued(qdf_hrtimer_data_t *timer);
129 bool qdf_hrtimer_callback_running(qdf_hrtimer_data_t *timer);
141 bool qdf_hrtimer_active(qdf_hrtimer_data_t *timer);
151 qdf_ktime_t qdf_hrtimer_cb_get_time(qdf_hrtimer_data_t *timer);
[all …]
Dqdf_timer.h48 qdf_timer_init(qdf_handle_t hdl, qdf_timer_t *timer, qdf_timer_func_t func, in qdf_timer_init() argument
51 return __qdf_timer_init(timer, func, arg, type); in qdf_timer_init()
63 static inline void qdf_timer_start(qdf_timer_t *timer, int msec) in qdf_timer_start() argument
65 __qdf_timer_start(timer, msec); in qdf_timer_start()
77 static inline void qdf_timer_start_on(qdf_timer_t *timer, int msec, int cpu) in qdf_timer_start_on() argument
79 __qdf_timer_start_on(timer, msec, cpu); in qdf_timer_start_on()
93 static inline bool qdf_timer_mod(qdf_timer_t *timer, int msec) in qdf_timer_mod() argument
95 return __qdf_timer_mod(timer, msec); in qdf_timer_mod()
107 static inline bool qdf_timer_stop(qdf_timer_t *timer) in qdf_timer_stop() argument
109 return __qdf_timer_stop(timer); in qdf_timer_stop()
[all …]
Dqdf_mc_timer.h137 QDF_TIMER_STATE qdf_mc_timer_get_current_state(qdf_mc_timer_t *timer);
171 #define qdf_mc_timer_init(timer, timer_type, callback, user_data) \ argument
172 qdf_mc_timer_init_debug(timer, timer_type, callback, user_data, \
175 QDF_STATUS qdf_mc_timer_init_debug(qdf_mc_timer_t *timer,
181 QDF_STATUS qdf_mc_timer_init(qdf_mc_timer_t *timer, QDF_TIMER_TYPE timer_type,
207 QDF_STATUS qdf_mc_timer_destroy(qdf_mc_timer_t *timer);
226 QDF_STATUS qdf_mc_timer_start(qdf_mc_timer_t *timer, uint32_t expiration_time);
241 QDF_STATUS qdf_mc_timer_stop(qdf_mc_timer_t *timer);
257 QDF_STATUS qdf_mc_timer_stop_sync(qdf_mc_timer_t *timer);
/wlan-driver/qca-wifi-host-cmn/umac/regulatory/core/src/
Dreg_host_11d.c100 qdf_mc_timer_stop(&soc_reg->timer); in reg_11d_host_scan()
105 qdf_mc_timer_start(&soc_reg->timer, soc_reg->scan_11d_interval); in reg_11d_host_scan()
107 qdf_mc_timer_stop(&soc_reg->timer); in reg_11d_host_scan()
142 qdf_mc_timer_init(&soc_reg->timer, QDF_TIMER_TYPE_SW, in reg_11d_host_scan_init()
165 qdf_mc_timer_stop(&soc_reg->timer); in reg_11d_host_scan_deinit()
166 qdf_mc_timer_destroy(&soc_reg->timer); in reg_11d_host_scan_deinit()
Dreg_priv_objs.h261 qdf_mc_timer_t timer; member
/wlan-driver/qca-wifi-host-cmn/scheduler/src/
Dscheduler_api.c655 void scheduler_mc_timer_callback(qdf_mc_timer_t *timer) in scheduler_mc_timer_callback() argument
664 QDF_BUG(timer); in scheduler_mc_timer_callback()
665 if (!timer) in scheduler_mc_timer_callback()
673 timer->timer_end_jiffies = jiffies; in scheduler_mc_timer_callback()
675 qdf_spin_lock_irqsave(&timer->platform_info.spinlock); in scheduler_mc_timer_callback()
677 switch (timer->state) { in scheduler_mc_timer_callback()
683 timer->state = QDF_TIMER_STATE_STOPPED; in scheduler_mc_timer_callback()
699 timer->state = QDF_TIMER_STATE_STOPPED; in scheduler_mc_timer_callback()
704 callback = timer->callback; in scheduler_mc_timer_callback()
705 user_data = timer->user_data; in scheduler_mc_timer_callback()
[all …]
/wlan-driver/qcacld-3.0/core/dp/txrx/
Dol_rx_reorder_timeout.c62 qdf_timer_start(&rx_reorder_timeout_ac->timer, duration_ms); in ol_rx_reorder_timeout_start()
174 &rx_reorder_timeout_ac->timer, in ol_rx_reorder_timeout_init()
208 qdf_timer_stop(&rx_reorder_timeout_ac->timer); in ol_rx_reorder_timeout_cleanup()
209 qdf_timer_free(&rx_reorder_timeout_ac->timer); in ol_rx_reorder_timeout_cleanup()
Dol_txrx_legacy_flow_control.c109 qdf_timer_stop(&vdev->ll_pause.timer); in ol_txrx_vdev_flush()
278 qdf_timer_stop(&vdev->ll_pause.timer); in ol_tx_vdev_ll_pause_queue_send_base()
280 qdf_timer_start(&vdev->ll_pause.timer, in ol_tx_vdev_ll_pause_queue_send_base()
323 qdf_timer_stop(&vdev->ll_pause.timer); in ol_tx_vdev_pause_queue_append()
325 qdf_timer_start(&vdev->ll_pause.timer, in ol_tx_vdev_pause_queue_append()
Dol_tx_hl.c1197 qdf_hrtimer_start(&vdev->tcp_ack_hash.timer,
1228 ol_tx_hl_vdev_tcp_del_ack_timer(qdf_hrtimer_data_t *timer) argument
1230 struct ol_txrx_vdev_t *vdev = qdf_container_of(timer,
1232 tcp_ack_hash.timer);
1252 qdf_hrtimer_cancel(&vdev->tcp_ack_hash.timer);
1295 qdf_hrtimer_init(&vdev->tcp_ack_hash.timer,
1478 qdf_timer_stop(&vdev->bundle_queue.timer);
1503 &vdev->bundle_queue.timer,
1551 qdf_timer_stop(&vdev->bundle_queue.timer);
1577 &vdev->bundle_queue.timer);
[all …]
Dol_txrx_types.h296 qdf_timer_t timer; member
1271 qdf_timer_t timer; member
1301 qdf_hrtimer_data_t timer; member
1372 qdf_timer_t timer; member
Dol_txrx.h859 ol_tx_hl_vdev_tcp_del_ack_timer(qdf_hrtimer_data_t *timer);
/wlan-driver/qcacld-3.0/core/mac/src/sys/legacy/src/platform/inc/
Dsys_wrapper.h112 #define TX_TIMER_VALID(timer) (timer.mac != 0) argument
/wlan-driver/qca-wifi-host-cmn/umac/cmn_services/serialization/src/
Dwlan_serialization_internal.c669 struct wlan_serialization_timer *timer = arg; in wlan_serialization_timer_handler() local
670 struct wlan_serialization_command *cmd = timer->cmd; in wlan_serialization_timer_handler()
714 qdf_timer_mod(&ser_timer->timer, in wlan_serialization_find_and_update_timer()
858 qdf_timer_init(NULL, &ser_timer->timer, in wlan_serialization_find_and_start_timer()
861 qdf_timer_mod(&ser_timer->timer, cmd->cmd_timeout_duration); in wlan_serialization_find_and_start_timer()
Dwlan_serialization_utils_i.h67 qdf_timer_t timer; member
/wlan-driver/qcacld-3.0/core/mac/src/pe/lim/
Dlim_timer_utils.c790 if (tx_timer_deactivate(&pAuthNode->timer) != in lim_deactivate_and_change_per_sta_id_timer()
800 if (tx_timer_change(&pAuthNode->timer, val, 0) != in lim_deactivate_and_change_per_sta_id_timer()
869 if (tx_timer_activate(&pAuthNode->timer) != TX_SUCCESS) { in lim_activate_auth_rsp_timer()
/wlan-driver/qca-wifi-host-cmn/scheduler/inc/
Dscheduler_api.h398 void scheduler_mc_timer_callback(qdf_mc_timer_t *timer);
/wlan-driver/qcacld-3.0/core/mac/src/pe/include/
Dlim_global.h215 TX_TIMER timer; member
/wlan-driver/qca-wifi-host-cmn/hif/src/
Dhif_main.c1074 qdf_timer_mod(&detect->timer, detect->timeout); in hif_latency_detect_timeout_handler()
1076 qdf_timer_start_on(&detect->timer, detect->timeout, next_cpu); in hif_latency_detect_timeout_handler()
1094 &scn->latency_detect.timer, in hif_latency_detect_timer_init()
1103 qdf_timer_free(&scn->latency_detect.timer); in hif_latency_detect_timer_deinit()
1149 qdf_timer_start(&scn->latency_detect.timer, in hif_latency_detect_timer_start()
1163 qdf_timer_sync_cancel(&scn->latency_detect.timer); in hif_latency_detect_timer_stop()
/wlan-driver/qcacld-3.0/components/tdls/core/src/
Dwlan_tdls_main.h548 qdf_mc_timer_t *timer,
/wlan-driver/qcacld-3.0/components/mlme/core/src/
Dwlan_mlme_vdev_mgr_interface.c1603 status = qdf_mc_timer_init(&wait_key_timer->timer, QDF_TIMER_TYPE_SW, in mlme_init_wait_for_key_timer()
1613 qdf_mc_timer_stop(&wait_key_timer->timer); in mlme_deinit_wait_for_key_timer()
1614 qdf_mc_timer_destroy(&wait_key_timer->timer); in mlme_deinit_wait_for_key_timer()

12