Lines Matching defs:io_req
2898 struct mfi_mpi2_request_raid_scsi_io *io_req = ccb->ccb_tb_io_request;
2901 io_req->Function = MPI2_FUNCTION_PASSTHRU_IO_REQUEST;
2902 io_req->SGLOffset0 =
2904 io_req->ChainOffset =
2908 (struct mpi25_ieee_sge_chain64 *)&io_req->SGL.IeeeChain;
3178 struct mfi_mpi2_request_raid_scsi_io *io_req;
3193 io_req = ccb->ccb_tb_io_request;
3196 io_req->IoFlags = xs->cmdlen;
3197 memset(io_req->CDB.CDB32, 0, 32);
3198 memcpy(io_req->CDB.CDB32, &xs->cmdstore, xs->cmdlen);
3200 io_req->RaidContext.TargetID = periph->periph_target;
3201 io_req->RaidContext.Status = 0;
3202 io_req->RaidContext.exStatus = 0;
3203 io_req->RaidContext.timeoutValue = MFI_FUSION_FP_DEFAULT_TIMEOUT;
3204 io_req->Function = MPI2_FUNCTION_LD_IO_REQUEST;
3205 io_req->DevHandle = periph->periph_target;
3209 io_req->DataLength = blockcnt * MFI_SECTOR_LEN;
3212 io_req->Control = MPI2_SCSIIO_CONTROL_READ;
3215 io_req->Control = MPI2_SCSIIO_CONTROL_WRITE;
3225 io_req->RaidContext.numSGE = sge_count;
3226 io_req->SGLFlags = MPI2_SGE_FLAGS_64_BIT_ADDRESSING;
3227 io_req->SGLOffset0 =
3230 io_req->SenseBufferLowAddress = htole32(ccb->ccb_psense);
3231 io_req->SenseBufferLength = MFI_SENSE_SIZE;
3248 struct mfi_mpi2_request_raid_scsi_io *io_req = ccb->ccb_tb_io_request;
3249 mfi_scsi_xs_done(ccb, io_req->RaidContext.Status,
3250 io_req->RaidContext.exStatus);
3259 struct mfi_mpi2_request_raid_scsi_io *io_req;
3281 io_req = ccb->ccb_tb_io_request;
3282 sgl_ptr = &io_req->SGL.IeeeChain.Chain64;
3294 "mfi sge_idx %d sge_count %d io_req paddr %jx\n",
3313 io_req->ChainOffset = 0;
3316 io_req->ChainOffset = MEGASAS_THUNDERBOLT_CHAIN_OFF_MAINMSG;