Lines Matching refs:msg
235 struct scheduler_msg *msg, in scheduler_post_msg_by_priority() argument
246 QDF_BUG(msg); in scheduler_post_msg_by_priority()
247 if (!msg) in scheduler_post_msg_by_priority()
260 if (msg->reserved != 0 && msg->reserved != SYS_MSG_COOKIE) { in scheduler_post_msg_by_priority()
286 msg->callback = NULL; in scheduler_post_msg_by_priority()
290 qdf_mtrace(src_id, dest_id, msg->type, 0xFF, 0); in scheduler_post_msg_by_priority()
305 queue_msg = scheduler_core_msg_dup(msg); in scheduler_post_msg_by_priority()
410 QDF_STATUS scheduler_target_if_mq_handler(struct scheduler_msg *msg) in scheduler_target_if_mq_handler() argument
416 QDF_BUG(msg); in scheduler_target_if_mq_handler()
417 if (!msg) in scheduler_target_if_mq_handler()
424 target_if_msg_handler = msg->callback; in scheduler_target_if_mq_handler()
437 status = sched_ctx->legacy_wma_handler(msg); in scheduler_target_if_mq_handler()
439 status = target_if_msg_handler(msg); in scheduler_target_if_mq_handler()
444 QDF_STATUS scheduler_os_if_mq_handler(struct scheduler_msg *msg) in scheduler_os_if_mq_handler() argument
448 QDF_BUG(msg); in scheduler_os_if_mq_handler()
449 if (!msg) in scheduler_os_if_mq_handler()
452 os_if_msg_handler = msg->callback; in scheduler_os_if_mq_handler()
458 os_if_msg_handler(msg); in scheduler_os_if_mq_handler()
493 QDF_STATUS scheduler_qdf_mc_timer_callback_t_wrapper(struct scheduler_msg *msg) in scheduler_qdf_mc_timer_callback_t_wrapper() argument
498 mc_timer_wrapper = msg->bodyptr; in scheduler_qdf_mc_timer_callback_t_wrapper()
521 QDF_STATUS scheduler_timer_q_mq_handler(struct scheduler_msg *msg) in scheduler_timer_q_mq_handler() argument
526 QDF_BUG(msg); in scheduler_timer_q_mq_handler()
527 if (!msg) in scheduler_timer_q_mq_handler()
535 if (msg->reserved != SYS_MSG_COOKIE || msg->type != SYS_MSG_ID_MC_TIMER) in scheduler_timer_q_mq_handler()
536 return sched_ctx->legacy_sys_handler(msg); in scheduler_timer_q_mq_handler()
538 sched_mc_timer_callback = msg->callback; in scheduler_timer_q_mq_handler()
543 return sched_mc_timer_callback(msg); in scheduler_timer_q_mq_handler()
546 QDF_STATUS scheduler_mlme_mq_handler(struct scheduler_msg *msg) in scheduler_mlme_mq_handler() argument
550 QDF_BUG(msg); in scheduler_mlme_mq_handler()
551 if (!msg) in scheduler_mlme_mq_handler()
554 mlme_msg_handler = msg->callback; in scheduler_mlme_mq_handler()
560 mlme_msg_handler(msg); in scheduler_mlme_mq_handler()
565 QDF_STATUS scheduler_scan_mq_handler(struct scheduler_msg *msg) in scheduler_scan_mq_handler() argument
569 QDF_BUG(msg); in scheduler_scan_mq_handler()
570 if (!msg) in scheduler_scan_mq_handler()
573 scan_q_msg_handler = msg->callback; in scheduler_scan_mq_handler()
579 scan_q_msg_handler(msg); in scheduler_scan_mq_handler()
649 static QDF_STATUS scheduler_msg_flush_mc(struct scheduler_msg *msg) in scheduler_msg_flush_mc() argument
651 scheduler_qdf_mc_timer_deinit_return_data_ptr(msg->bodyptr); in scheduler_msg_flush_mc()
657 struct scheduler_msg msg = {0}; in scheduler_mc_timer_callback() local
736 msg.type = SYS_MSG_ID_MC_TIMER; in scheduler_mc_timer_callback()
737 msg.reserved = SYS_MSG_COOKIE; in scheduler_mc_timer_callback()
738 msg.callback = scheduler_qdf_mc_timer_callback_t_wrapper; in scheduler_mc_timer_callback()
739 msg.bodyptr = mc_timer_wrapper; in scheduler_mc_timer_callback()
740 msg.bodyval = 0; in scheduler_mc_timer_callback()
741 msg.flush_callback = scheduler_msg_flush_mc; in scheduler_mc_timer_callback()
745 QDF_MODULE_ID_SYS, &msg); in scheduler_mc_timer_callback()
782 struct scheduler_msg *msg, in scheduler_post_message_debug() argument
789 msg); in scheduler_post_message_debug()