Lines Matching refs:bcb
538 struct bulk_cb_wrap bcb; in isd200_Bulk_transport() local
551 bcb.Signature = cpu_to_le32(US_BULK_CB_SIGN); in isd200_Bulk_transport()
552 bcb.DataTransferLength = cpu_to_le32(transfer_amount); in isd200_Bulk_transport()
553 bcb.Flags = srb->sc_data_direction == SCSI_DATA_READ ? 1 << 7 : 0; in isd200_Bulk_transport()
554 bcb.Tag = srb->serial_number; in isd200_Bulk_transport()
555 bcb.Lun = srb->cmnd[1] >> 5; in isd200_Bulk_transport()
557 bcb.Lun |= srb->target << 4; in isd200_Bulk_transport()
559 bcb.Length = AtaCdbLength; in isd200_Bulk_transport()
565 memset(bcb.CDB, 0, sizeof(bcb.CDB)); in isd200_Bulk_transport()
566 memcpy(bcb.CDB, AtaCdb, bcb.Length); in isd200_Bulk_transport()
570 le32_to_cpu(bcb.Signature), bcb.Tag, in isd200_Bulk_transport()
571 (bcb.Lun >> 4), (bcb.Lun & 0xFF), in isd200_Bulk_transport()
572 le32_to_cpu(bcb.DataTransferLength), bcb.Flags, bcb.Length); in isd200_Bulk_transport()
573 result = usb_stor_bulk_msg(us, &bcb, pipe, US_BULK_CB_WRAP_LEN, in isd200_Bulk_transport()
587 if (!result && bcb.DataTransferLength) { in isd200_Bulk_transport()
641 bcs.Tag != bcb.Tag || in isd200_Bulk_transport()