Lines Matching refs:req_desc
260 union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc) in megasas_write_64bit_req_desc() argument
263 u64 req_data = (((u64)le32_to_cpu(req_desc->u.high) << 32) | in megasas_write_64bit_req_desc()
264 le32_to_cpu(req_desc->u.low)); in megasas_write_64bit_req_desc()
269 writel(le32_to_cpu(req_desc->u.low), in megasas_write_64bit_req_desc()
271 writel(le32_to_cpu(req_desc->u.high), in megasas_write_64bit_req_desc()
287 union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc) in megasas_fire_cmd_fusion() argument
290 writel(le32_to_cpu(req_desc->u.low), in megasas_fire_cmd_fusion()
293 megasas_write_64bit_req_desc(instance, req_desc); in megasas_fire_cmd_fusion()
1056 union MEGASAS_REQUEST_DESCRIPTOR_UNION req_desc; in megasas_ioc_init_fusion() local
1208 req_desc.u.low = cpu_to_le32(lower_32_bits(cmd->frame_phys_addr)); in megasas_ioc_init_fusion()
1209 req_desc.u.high = cpu_to_le32(upper_32_bits(cmd->frame_phys_addr)); in megasas_ioc_init_fusion()
1210 req_desc.MFAIo.RequestFlags = in megasas_ioc_init_fusion()
1227 megasas_write_64bit_req_desc(instance, &req_desc); in megasas_ioc_init_fusion()
3278 union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc, *req_desc2 = NULL; in megasas_prepare_secondRaid1_IO() local
3281 req_desc = cmd->request_desc; in megasas_prepare_secondRaid1_IO()
3296 req_desc2->SCSIIO.RequestFlags = req_desc->SCSIIO.RequestFlags; in megasas_prepare_secondRaid1_IO()
3323 union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc; in megasas_build_and_issue_cmd_fusion() local
3349 req_desc = megasas_get_request_descriptor(instance, index-1); in megasas_build_and_issue_cmd_fusion()
3351 req_desc->Words = 0; in megasas_build_and_issue_cmd_fusion()
3352 cmd->request_desc = req_desc; in megasas_build_and_issue_cmd_fusion()
3362 req_desc = cmd->request_desc; in megasas_build_and_issue_cmd_fusion()
3363 req_desc->SCSIIO.SMID = cpu_to_le16(index); in megasas_build_and_issue_cmd_fusion()
3390 megasas_fire_cmd_fusion(instance, req_desc); in megasas_build_and_issue_cmd_fusion()
3829 union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc = NULL; in build_mpt_cmd() local
3835 req_desc = megasas_get_request_descriptor(instance, index - 1); in build_mpt_cmd()
3837 req_desc->Words = 0; in build_mpt_cmd()
3838 req_desc->SCSIIO.RequestFlags = (MPI2_REQ_DESCRIPT_FLAGS_SCSI_IO << in build_mpt_cmd()
3841 req_desc->SCSIIO.SMID = cpu_to_le16(index); in build_mpt_cmd()
3843 return req_desc; in build_mpt_cmd()
3856 union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc; in megasas_issue_dcmd_fusion() local
3858 req_desc = build_mpt_cmd(instance, cmd); in megasas_issue_dcmd_fusion()
3860 megasas_fire_cmd_fusion(instance, req_desc); in megasas_issue_dcmd_fusion()
4183 union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc; in megasas_refire_mgmt_cmd() local
4204 req_desc = megasas_get_request_descriptor(instance, smid - 1); in megasas_refire_mgmt_cmd()
4259 megasas_fire_cmd_fusion(instance, req_desc); in megasas_refire_mgmt_cmd()
4415 union MEGASAS_REQUEST_DESCRIPTOR_UNION *req_desc; in megasas_issue_tm() local
4438 req_desc = megasas_get_request_descriptor(instance, in megasas_issue_tm()
4441 cmd_fusion->request_desc = req_desc; in megasas_issue_tm()
4442 req_desc->Words = 0; in megasas_issue_tm()
4454 req_desc = cmd_fusion->request_desc; in megasas_issue_tm()
4455 req_desc->HighPriority.SMID = cpu_to_le16(cmd_fusion->index); in megasas_issue_tm()
4456 req_desc->HighPriority.RequestFlags = in megasas_issue_tm()
4459 req_desc->HighPriority.MSIxIndex = 0; in megasas_issue_tm()
4460 req_desc->HighPriority.LMID = 0; in megasas_issue_tm()
4461 req_desc->HighPriority.Reserved1 = 0; in megasas_issue_tm()
4469 megasas_fire_cmd_fusion(instance, req_desc); in megasas_issue_tm()