Searched refs:CBWCB (Results 1 – 2 of 2) sorted by relevance
69 cbw->CBWCB.opcode = (is_read) ? 0x28 : 0x2A; //SCSI CMD READ10 or WRITE10 in mock_msc_scsi_init_cbw()70 cbw->CBWCB.flags = 0; in mock_msc_scsi_init_cbw()71 cbw->CBWCB.lba_3 = (offset >> 24); in mock_msc_scsi_init_cbw()72 cbw->CBWCB.lba_2 = (offset >> 16); in mock_msc_scsi_init_cbw()73 cbw->CBWCB.lba_1 = (offset >> 8); in mock_msc_scsi_init_cbw()74 cbw->CBWCB.lba_0 = (offset >> 0); in mock_msc_scsi_init_cbw()75 cbw->CBWCB.group = 0; in mock_msc_scsi_init_cbw()76 cbw->CBWCB.len_1 = (num_sectors >> 8); in mock_msc_scsi_init_cbw()77 cbw->CBWCB.len_0 = (num_sectors >> 0); in mock_msc_scsi_init_cbw()78 cbw->CBWCB.control = 0; in mock_msc_scsi_init_cbw()
139 mock_scsi_cmd10_t CBWCB; member