Home
last modified time | relevance | path

Searched refs:sched_ctx (Results 1 – 5 of 5) sorted by relevance

/wlan-driver/qca-wifi-host-cmn/scheduler/src/
Dscheduler_api.c33 struct scheduler_ctx *sched_ctx; in scheduler_disable() local
37 sched_ctx = scheduler_get_context(); in scheduler_disable()
38 QDF_BUG(sched_ctx); in scheduler_disable()
39 if (!sched_ctx) in scheduler_disable()
42 if (!sched_ctx->sch_thread) { in scheduler_disable()
48 qdf_atomic_set_bit(MC_SHUTDOWN_EVENT_MASK, &sched_ctx->sch_event_flag); in scheduler_disable()
49 qdf_atomic_set_bit(MC_POST_EVENT_MASK, &sched_ctx->sch_event_flag); in scheduler_disable()
50 qdf_wake_up_interruptible(&sched_ctx->sch_wait_queue); in scheduler_disable()
53 qdf_wait_single_event(&sched_ctx->sch_shutdown, 0); in scheduler_disable()
54 sched_ctx->sch_thread = NULL; in scheduler_disable()
[all …]
Dscheduler_core.c197 static QDF_STATUS scheduler_all_queues_init(struct scheduler_ctx *sched_ctx) in scheduler_all_queues_init() argument
204 QDF_BUG(sched_ctx); in scheduler_all_queues_init()
205 if (!sched_ctx) in scheduler_all_queues_init()
212 status = scheduler_mq_init(&sched_ctx->queue_ctx.sch_msg_q[i]); in scheduler_all_queues_init()
219 sched_ctx->queue_ctx.scheduler_msg_qid_to_qidx[i] = in scheduler_all_queues_init()
227 static QDF_STATUS scheduler_all_queues_deinit(struct scheduler_ctx *sched_ctx) in scheduler_all_queues_deinit() argument
233 QDF_BUG(sched_ctx); in scheduler_all_queues_deinit()
234 if (!sched_ctx) in scheduler_all_queues_deinit()
239 scheduler_mq_deinit(&sched_ctx->queue_ctx.sch_msg_q[i]); in scheduler_all_queues_deinit()
243 sched_ctx->queue_ctx.scheduler_msg_qid_to_qidx[i] = in scheduler_all_queues_deinit()
[all …]
/wlan-driver/qca-wifi-host-cmn/scheduler/inc/
Dscheduler_core.h228 QDF_STATUS scheduler_queues_init(struct scheduler_ctx *sched_ctx);
238 QDF_STATUS scheduler_queues_deinit(struct scheduler_ctx *sched_ctx);
248 void scheduler_queues_flush(struct scheduler_ctx *sched_ctx);
/wlan-driver/qcacld-3.0/core/dp/txrx/
Dol_txrx.c3191 p_cds_sched_context sched_ctx = get_cds_sched_ctxt(); in ol_txrx_peer_drop_pending_frames() local
3193 if (sched_ctx) in ol_txrx_peer_drop_pending_frames()
3194 cds_drop_rxpkt_by_staid(sched_ctx, peer->local_id); in ol_txrx_peer_drop_pending_frames()
3432 p_cds_sched_context sched_ctx = get_cds_sched_ctxt(); in ol_txrx_clear_peer_internal() local
3434 if (sched_ctx) in ol_txrx_clear_peer_internal()
3435 cds_drop_rxpkt_by_staid(sched_ctx, peer->local_id); in ol_txrx_clear_peer_internal()
5205 p_cds_sched_context sched_ctx = in ol_rx_data_process() local
5209 if (unlikely(!sched_ctx)) in ol_rx_data_process()
5212 pkt = cds_alloc_ol_rx_pkt(sched_ctx); in ol_rx_data_process()
5220 cds_indicate_rxpkt(sched_ctx, pkt); in ol_rx_data_process()
[all …]
/wlan-driver/qcacld-3.0/core/cds/src/
Dcds_api.c1370 struct scheduler_ctx *sched_ctx; in cds_post_disable() local
1382 sched_ctx = scheduler_get_context(); in cds_post_disable()
1383 if (sched_ctx) { in cds_post_disable()