Lines Matching refs:xfer_result
2277 struct wa_xfer_result *xfer_result) in wa_xfer_result_chew() argument
2288 unsigned bytes_transferred = le32_to_cpu(xfer_result->dwTransferLength); in wa_xfer_result_chew()
2292 seg_idx = xfer_result->bTransferSegment & 0x7f; in wa_xfer_result_chew()
2297 usb_status = xfer_result->bTransferStatus; in wa_xfer_result_chew()
2327 if (xfer_result->bTransferSegment & 0x80) in wa_xfer_result_chew()
2331 && (le32_to_cpu(xfer_result->dwNumOfPackets) > 0)) { in wa_xfer_result_chew()
2763 struct wa_xfer_result *xfer_result; in wa_dti_cb() local
2769 if (urb->actual_length != sizeof(*xfer_result)) { in wa_dti_cb()
2772 sizeof(*xfer_result)); in wa_dti_cb()
2775 xfer_result = (struct wa_xfer_result *)(wa->dti_buf); in wa_dti_cb()
2776 if (xfer_result->hdr.bLength != sizeof(*xfer_result)) { in wa_dti_cb()
2778 xfer_result->hdr.bLength); in wa_dti_cb()
2781 if (xfer_result->hdr.bNotifyType != WA_XFER_RESULT) { in wa_dti_cb()
2783 xfer_result->hdr.bNotifyType); in wa_dti_cb()
2786 xfer_id = le32_to_cpu(xfer_result->dwTransferID); in wa_dti_cb()
2787 usb_status = xfer_result->bTransferStatus & 0x3f; in wa_dti_cb()
2792 xfer_result->bTransferSegment & 0x7f); in wa_dti_cb()
2802 wa_xfer_result_chew(wa, xfer, xfer_result); in wa_dti_cb()