Lines Matching refs:hif_cmd
27 WARN(!mutex_is_locked(&wdev->hif_cmd.lock), "data locking error"); in wfx_hif_generic_confirm()
29 if (!wdev->hif_cmd.buf_send) { in wfx_hif_generic_confirm()
34 if (cmd != wdev->hif_cmd.buf_send->id) { in wfx_hif_generic_confirm()
36 cmd, wdev->hif_cmd.buf_send->id); in wfx_hif_generic_confirm()
40 if (wdev->hif_cmd.buf_recv) { in wfx_hif_generic_confirm()
41 if (wdev->hif_cmd.len_recv >= len && len > 0) in wfx_hif_generic_confirm()
42 memcpy(wdev->hif_cmd.buf_recv, buf, len); in wfx_hif_generic_confirm()
46 wdev->hif_cmd.ret = status; in wfx_hif_generic_confirm()
48 complete(&wdev->hif_cmd.done); in wfx_hif_generic_confirm()
373 if (mutex_is_locked(&wdev->hif_cmd.lock) && in wfx_handle_rx()
374 wdev->hif_cmd.buf_send && wdev->hif_cmd.buf_send->id == hif_id) { in wfx_handle_rx()