Lines Matching refs:r56_request
5837 struct pqi_aio_r56_path_request *r56_request; in pqi_aio_submit_r56_write_io() local
5846 r56_request = io_request->iu; in pqi_aio_submit_r56_write_io()
5847 memset(r56_request, 0, offsetof(struct pqi_aio_r56_path_request, sg_descriptors)); in pqi_aio_submit_r56_write_io()
5850 r56_request->header.iu_type = PQI_REQUEST_IU_AIO_PATH_RAID5_IO; in pqi_aio_submit_r56_write_io()
5852 r56_request->header.iu_type = PQI_REQUEST_IU_AIO_PATH_RAID6_IO; in pqi_aio_submit_r56_write_io()
5854 put_unaligned_le16(*(u16 *)device->scsi3addr & 0x3fff, &r56_request->volume_id); in pqi_aio_submit_r56_write_io()
5855 put_unaligned_le32(rmd->aio_handle, &r56_request->data_it_nexus); in pqi_aio_submit_r56_write_io()
5856 put_unaligned_le32(rmd->p_parity_it_nexus, &r56_request->p_parity_it_nexus); in pqi_aio_submit_r56_write_io()
5858 put_unaligned_le32(rmd->q_parity_it_nexus, &r56_request->q_parity_it_nexus); in pqi_aio_submit_r56_write_io()
5859 r56_request->xor_multiplier = rmd->xor_mult; in pqi_aio_submit_r56_write_io()
5861 put_unaligned_le32(scsi_bufflen(scmd), &r56_request->data_length); in pqi_aio_submit_r56_write_io()
5862 r56_request->task_attribute = SOP_TASK_ATTRIBUTE_SIMPLE; in pqi_aio_submit_r56_write_io()
5863 put_unaligned_le64(rmd->row, &r56_request->row); in pqi_aio_submit_r56_write_io()
5865 put_unaligned_le16(io_request->index, &r56_request->request_id); in pqi_aio_submit_r56_write_io()
5866 r56_request->error_index = r56_request->request_id; in pqi_aio_submit_r56_write_io()
5868 if (rmd->cdb_length > sizeof(r56_request->cdb)) in pqi_aio_submit_r56_write_io()
5869 rmd->cdb_length = sizeof(r56_request->cdb); in pqi_aio_submit_r56_write_io()
5870 r56_request->cdb_length = rmd->cdb_length; in pqi_aio_submit_r56_write_io()
5871 memcpy(r56_request->cdb, rmd->cdb, rmd->cdb_length); in pqi_aio_submit_r56_write_io()
5874 r56_request->data_direction = SOP_READ_FLAG; in pqi_aio_submit_r56_write_io()
5877 r56_request->encryption_enable = true; in pqi_aio_submit_r56_write_io()
5879 &r56_request->data_encryption_key_index); in pqi_aio_submit_r56_write_io()
5881 &r56_request->encrypt_tweak_lower); in pqi_aio_submit_r56_write_io()
5883 &r56_request->encrypt_tweak_upper); in pqi_aio_submit_r56_write_io()
5886 rc = pqi_build_aio_r56_sg_list(ctrl_info, r56_request, scmd, io_request); in pqi_aio_submit_r56_write_io()