Lines Matching full:mcu
69 wait_event_timeout(wo->mcu.wait, !skb_queue_empty(&wo->mcu.res_q), in mtk_wed_mcu_get_response()
71 return skb_dequeue(&wo->mcu.res_q); in mtk_wed_mcu_get_response()
76 skb_queue_tail(&wo->mcu.res_q, skb); in mtk_wed_mcu_rx_event()
77 wake_up(&wo->mcu.wait); in mtk_wed_mcu_rx_event()
140 wo->mcu.timeout = 20 * HZ; in mtk_wed_mcu_skb_send_msg()
147 u16 seq = ++wo->mcu.seq; in mtk_wed_mcu_skb_send_msg()
150 seq = ++wo->mcu.seq; in mtk_wed_mcu_skb_send_msg()
202 mutex_lock(&wo->mcu.mutex); in mtk_wed_mcu_send_msg()
208 expires = jiffies + wo->mcu.timeout; in mtk_wed_mcu_send_msg()
216 mutex_unlock(&wo->mcu.mutex); in mtk_wed_mcu_send_msg()
401 skb_queue_head_init(&wo->mcu.res_q); in mtk_wed_mcu_init()
402 init_waitqueue_head(&wo->mcu.wait); in mtk_wed_mcu_init()
403 mutex_init(&wo->mcu.mutex); in mtk_wed_mcu_init()