Lines Matching refs:ccb
27 scsi_ccb* ccb = device->scsi->alloc_ccb(device->scsi_device);
28 if (ccb == NULL)
31 ccb->flags = ccb_flags;
33 memcpy(ccb->cdb, cdb, cdbLength);
34 ccb->cdb_length = cdbLength;
36 ccb->sort = -1;
37 ccb->timeout = device->std_timeout;
39 ccb->data = (uint8*)data;
40 ccb->sg_list = NULL;
41 ccb->data_length = dataLength;
43 status_t status = periph_safe_exec(device, ccb);
45 device->scsi->free_ccb(ccb);