Lines Matching refs:bcb
1117 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap *) us->iobuf; in usb_stor_Bulk_transport() local
1133 bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); in usb_stor_Bulk_transport()
1134 bcb->DataTransferLength = cpu_to_le32(transfer_length); in usb_stor_Bulk_transport()
1135 bcb->Flags = srb->sc_data_direction == DMA_FROM_DEVICE ? in usb_stor_Bulk_transport()
1137 bcb->Tag = ++us->tag; in usb_stor_Bulk_transport()
1138 bcb->Lun = srb->device->lun; in usb_stor_Bulk_transport()
1140 bcb->Lun |= srb->device->id << 4; in usb_stor_Bulk_transport()
1141 bcb->Length = srb->cmd_len; in usb_stor_Bulk_transport()
1144 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in usb_stor_Bulk_transport()
1145 memcpy(bcb->CDB, srb->cmnd, bcb->Length); in usb_stor_Bulk_transport()
1149 le32_to_cpu(bcb->Signature), bcb->Tag, in usb_stor_Bulk_transport()
1150 le32_to_cpu(bcb->DataTransferLength), bcb->Flags, in usb_stor_Bulk_transport()
1151 (bcb->Lun >> 4), (bcb->Lun & 0x0F), in usb_stor_Bulk_transport()
1152 bcb->Length); in usb_stor_Bulk_transport()
1154 bcb, cbwlen, NULL); in usb_stor_Bulk_transport()