Lines Matching refs:cbw
2111 struct bulk_cb_wrap *cbw = req->buf; in received_cbw() local
2120 cbw->Signature != cpu_to_le32( in received_cbw()
2124 le32_to_cpu(cbw->Signature)); in received_cbw()
2143 if (cbw->Lun >= ARRAY_SIZE(common->luns) || in received_cbw()
2144 cbw->Flags & ~US_BULK_FLAG_IN || cbw->Length <= 0 || in received_cbw()
2145 cbw->Length > MAX_COMMAND_SIZE) { in received_cbw()
2148 cbw->Lun, cbw->Flags, cbw->Length); in received_cbw()
2162 common->cmnd_size = cbw->Length; in received_cbw()
2163 memcpy(common->cmnd, cbw->CDB, common->cmnd_size); in received_cbw()
2164 if (cbw->Flags & US_BULK_FLAG_IN) in received_cbw()
2168 common->data_size = le32_to_cpu(cbw->DataTransferLength); in received_cbw()
2171 common->lun = cbw->Lun; in received_cbw()
2176 common->tag = cbw->Tag; in received_cbw()