Lines Matching refs:cbw
2079 struct bulk_cb_wrap *cbw = req->buf; in received_cbw() local
2088 cbw->Signature != cpu_to_le32( in received_cbw()
2092 le32_to_cpu(cbw->Signature)); in received_cbw()
2111 if (cbw->Lun >= ARRAY_SIZE(common->luns) || in received_cbw()
2112 cbw->Flags & ~US_BULK_FLAG_IN || cbw->Length <= 0 || in received_cbw()
2113 cbw->Length > MAX_COMMAND_SIZE) { in received_cbw()
2116 cbw->Lun, cbw->Flags, cbw->Length); in received_cbw()
2130 common->cmnd_size = cbw->Length; in received_cbw()
2131 memcpy(common->cmnd, cbw->CDB, common->cmnd_size); in received_cbw()
2132 if (cbw->Flags & US_BULK_FLAG_IN) in received_cbw()
2136 common->data_size = le32_to_cpu(cbw->DataTransferLength); in received_cbw()
2139 common->lun = cbw->Lun; in received_cbw()
2144 common->tag = cbw->Tag; in received_cbw()