Lines Matching full:mcu
53 wait_event_timeout(wo->mcu.wait, !skb_queue_empty(&wo->mcu.res_q), in mtk_wed_mcu_get_response()
55 return skb_dequeue(&wo->mcu.res_q); in mtk_wed_mcu_get_response()
60 skb_queue_tail(&wo->mcu.res_q, skb); in mtk_wed_mcu_rx_event()
61 wake_up(&wo->mcu.wait); in mtk_wed_mcu_rx_event()
124 wo->mcu.timeout = 20 * HZ; in mtk_wed_mcu_skb_send_msg()
131 u16 seq = ++wo->mcu.seq; in mtk_wed_mcu_skb_send_msg()
134 seq = ++wo->mcu.seq; in mtk_wed_mcu_skb_send_msg()
186 mutex_lock(&wo->mcu.mutex); in mtk_wed_mcu_send_msg()
192 expires = jiffies + wo->mcu.timeout; in mtk_wed_mcu_send_msg()
200 mutex_unlock(&wo->mcu.mutex); in mtk_wed_mcu_send_msg()
384 skb_queue_head_init(&wo->mcu.res_q); in mtk_wed_mcu_init()
385 init_waitqueue_head(&wo->mcu.wait); in mtk_wed_mcu_init()
386 mutex_init(&wo->mcu.mutex); in mtk_wed_mcu_init()