Lines Matching refs:xfer_result
2289 struct wa_xfer_result *xfer_result) in wa_xfer_result_chew() argument
2300 unsigned bytes_transferred = le32_to_cpu(xfer_result->dwTransferLength); in wa_xfer_result_chew()
2304 seg_idx = xfer_result->bTransferSegment & 0x7f; in wa_xfer_result_chew()
2309 usb_status = xfer_result->bTransferStatus; in wa_xfer_result_chew()
2339 if (xfer_result->bTransferSegment & 0x80) in wa_xfer_result_chew()
2343 && (le32_to_cpu(xfer_result->dwNumOfPackets) > 0)) { in wa_xfer_result_chew()
2775 struct wa_xfer_result *xfer_result; in wa_dti_cb() local
2781 if (urb->actual_length != sizeof(*xfer_result)) { in wa_dti_cb()
2784 sizeof(*xfer_result)); in wa_dti_cb()
2787 xfer_result = (struct wa_xfer_result *)(wa->dti_buf); in wa_dti_cb()
2788 if (xfer_result->hdr.bLength != sizeof(*xfer_result)) { in wa_dti_cb()
2790 xfer_result->hdr.bLength); in wa_dti_cb()
2793 if (xfer_result->hdr.bNotifyType != WA_XFER_RESULT) { in wa_dti_cb()
2795 xfer_result->hdr.bNotifyType); in wa_dti_cb()
2798 xfer_id = le32_to_cpu(xfer_result->dwTransferID); in wa_dti_cb()
2799 usb_status = xfer_result->bTransferStatus & 0x3f; in wa_dti_cb()
2804 xfer_result->bTransferSegment & 0x7f); in wa_dti_cb()
2814 wa_xfer_result_chew(wa, xfer, xfer_result); in wa_dti_cb()