Lines Matching refs:Response
273 Parse the virtio-scsi device's response, translate it to an EFI status code,
280 output this parameter is updated with response or
283 @param[in] Response The virtio-scsi response structure to parse. We expect
297 IN CONST volatile VIRTIO_SCSI_RESP *Response
306 ResponseSenseLen = MIN (Response->SenseLen, VIRTIO_SCSI_SENSE_SIZE);
311 ((UINT8 *) Packet->SenseData)[Idx] = Response->Sense[Idx];
328 if (Response->Residual <= Packet->InTransferLength) {
329 Packet->InTransferLength -= Response->Residual;
332 Packet->OutTransferLength -= Response->Residual - Packet->InTransferLength;
339 Packet->TargetStatus = Response->Status;
343 // response code
345 switch (Response->Response) {
411 volatile VIRTIO_SCSI_RESP Response;
415 ZeroMem ((VOID*) &Response, sizeof (Response));
430 Response.Response = VIRTIO_SCSI_S_FAILURE;
453 // enqueue Response, to be written by the host
455 VirtioAppendDesc (&Dev->Ring, (UINTN) &Response, sizeof Response,
482 return ParseResponse (Packet, &Response);