Lines Matching refs:command

43 	fTaskFile.write.command = ATA_COMMAND_GET_MEDIA_STATUS;
70 fTaskFile.lba.command
91 fTaskFile.lba.command = ATA_COMMAND_MEDIA_EJECT;
111 scsi_cmd_inquiry *command = (scsi_cmd_inquiry *)ccb->cdb;
112 if (command->evpd || command->page_code) {
159 uint32 allocationLength = command->allocation_length;
173 scsi_cmd_read_capacity *command = (scsi_cmd_read_capacity *)ccb->cdb;
174 if (command->pmi || command->lba) {
204 scsi_cmd_read_capacity_long *command
206 if (command->pmi || command->lba) {
211 uint32 allocationLength = B_BENDIAN_TO_HOST_INT32(command->alloc_length);
265 scsi_cmd_ssu *command = (scsi_cmd_ssu *)ccb->cdb;
272 if (!command->start) {
277 if (command->load_eject) {
278 if (!command->start)
308 scsi_cmd_rw_6 *command = (scsi_cmd_rw_6 *)ccb->cdb;
309 uint32 address = ((uint32)command->high_lba << 16)
310 | ((uint32)command->mid_lba << 8) | (uint32)command->low_lba;
312 request->SetIsWrite(command->opcode == SCSI_OP_WRITE_6);
313 return ExecuteReadWrite(request, address, command->length != 0
314 ? command->length : 256);
320 scsi_cmd_rw_10 *command = (scsi_cmd_rw_10 *)ccb->cdb;
321 uint32 address = B_BENDIAN_TO_HOST_INT32(command->lba);
322 uint32 sectorCount = B_BENDIAN_TO_HOST_INT16(command->length);
324 request->SetIsWrite(command->opcode == SCSI_OP_WRITE_10);
337 scsi_cmd_rw_12 *command = (scsi_cmd_rw_12 *)ccb->cdb;
338 uint32 address = B_BENDIAN_TO_HOST_INT32(command->lba);
339 uint32 sectorCount = B_BENDIAN_TO_HOST_INT32(command->length);
341 request->SetIsWrite(command->opcode == SCSI_OP_WRITE_12);
354 scsi_cmd_rw_16 *command = (scsi_cmd_rw_16 *)ccb->cdb;
355 uint64 address = B_BENDIAN_TO_HOST_INT64(command->lba);
356 uint32 sectorCount = B_BENDIAN_TO_HOST_INT32(command->length);
358 request->SetIsWrite(command->opcode == SCSI_OP_WRITE_16);
369 TRACE("command not implemented\n");
436 fTaskFile.write.command = ATA_COMMAND_SET_FEATURES;
583 fTaskFile.write.command = IsATAPI() ? ATA_COMMAND_IDENTIFY_PACKET_DEVICE
750 fTaskFile.lba48.command = s48BitCommands[request->UseDMA()
772 fTaskFile.lba.command = s28BitCommands[request->UseDMA()