Lines Matching refs:sched_ctx

197 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()
284 QDF_STATUS scheduler_queues_deinit(struct scheduler_ctx *sched_ctx) in scheduler_queues_deinit() argument
286 return scheduler_all_queues_deinit(sched_ctx); in scheduler_queues_deinit()
289 QDF_STATUS scheduler_queues_init(struct scheduler_ctx *sched_ctx) in scheduler_queues_init() argument
295 QDF_BUG(sched_ctx); in scheduler_queues_init()
296 if (!sched_ctx) in scheduler_queues_init()
299 status = scheduler_all_queues_init(sched_ctx); in scheduler_queues_init()
301 scheduler_all_queues_deinit(sched_ctx); in scheduler_queues_init()
492 void scheduler_queues_flush(struct scheduler_ctx *sched_ctx) in scheduler_queues_flush() argument
500 mq = &sched_ctx->queue_ctx.sch_msg_q[i]; in scheduler_queues_flush()