/drivers/scsi/aic94xx/ |
D | aic94xx_task.c | 144 le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); in asd_unmap_scatterlist() 493 scb->ssp_task.proto_conn_rate = (1 << 4); /* SSP */ in asd_build_ssp_ascb() 494 scb->ssp_task.proto_conn_rate |= dev->linkrate; in asd_build_ssp_ascb() 495 scb->ssp_task.total_xfer_len = cpu_to_le32(task->total_xfer_len); in asd_build_ssp_ascb() 496 scb->ssp_task.ssp_frame.frame_type = SSP_DATA; in asd_build_ssp_ascb() 497 memcpy(scb->ssp_task.ssp_frame.hashed_dest_addr, dev->hashed_sas_addr, in asd_build_ssp_ascb() 499 memcpy(scb->ssp_task.ssp_frame.hashed_src_addr, in asd_build_ssp_ascb() 501 scb->ssp_task.ssp_frame.tptt = cpu_to_be16(0xFFFF); in asd_build_ssp_ascb() 503 memcpy(scb->ssp_task.ssp_cmd.lun, task->ssp_task.LUN, 8); in asd_build_ssp_ascb() 504 if (task->ssp_task.enable_first_burst) in asd_build_ssp_ascb() [all …]
|
D | aic94xx_tmf.c | 227 memcpy(scb->clear_nexus.ssp_task.lun, lun, 8); in asd_clear_nexus_I_T_L() 240 memcpy(scb->clear_nexus.ssp_task.lun, task->ssp_task.LUN, 8); in asd_clear_nexus_tag() 241 scb->clear_nexus.ssp_task.tag = tascb->tag; in asd_clear_nexus_tag() 462 memcpy(scb->abort_task.ssp_task.lun, task->ssp_task.LUN, 8); in asd_abort_task() 463 scb->abort_task.ssp_task.tmf = TMF_ABORT_TASK; in asd_abort_task() 464 scb->abort_task.ssp_task.tag = cpu_to_be16(0xFFFF); in asd_abort_task() 611 memcpy(scb->ssp_tmf.ssp_task.lun, lun, 8); in asd_initiate_ssp_tmf() 612 scb->ssp_tmf.ssp_task.tmf = tmf; in asd_initiate_ssp_tmf() 710 return asd_initiate_ssp_tmf(task->dev, task->ssp_task.LUN, in asd_query_task()
|
D | aic94xx_sas.h | 477 struct ssp_tmf_iu ssp_task; member 515 struct ssp_tmf_iu ssp_task; /* LUN and TAG */ member 528 struct ssp_tmf_iu ssp_task; member 593 struct initiate_ssp_task ssp_task; member
|
/drivers/scsi/hisi_sas/ |
D | hisi_sas_v1_hw.c | 1047 struct sas_ssp_task *ssp_task = &task->ssp_task; in prep_ssp_v1_hw() local 1048 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in prep_ssp_v1_hw() 1111 if (task->ssp_task.enable_first_burst) { in prep_ssp_v1_hw() 1117 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v1_hw() 1119 buf_cmd[9] = fburst | task->ssp_task.task_attr | in prep_ssp_v1_hw() 1120 (task->ssp_task.task_prio << 3); in prep_ssp_v1_hw() 1121 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in prep_ssp_v1_hw() 1122 task->ssp_task.cmd->cmd_len); in prep_ssp_v1_hw()
|
D | hisi_sas_v3_hw.c | 843 struct sas_ssp_task *ssp_task = &task->ssp_task; in prep_ssp_v3_hw() local 844 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in prep_ssp_v3_hw() 900 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v3_hw() 902 buf_cmd[9] = ssp_task->task_attr | (ssp_task->task_prio << 3); in prep_ssp_v3_hw()
|
D | hisi_sas_v2_hw.c | 1763 struct sas_ssp_task *ssp_task = &task->ssp_task; in prep_ssp_v2_hw() local 1764 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in prep_ssp_v2_hw() 1821 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v2_hw() 1823 buf_cmd[9] = task->ssp_task.task_attr | in prep_ssp_v2_hw() 1824 (task->ssp_task.task_prio << 3); in prep_ssp_v2_hw() 1825 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in prep_ssp_v2_hw() 1826 task->ssp_task.cmd->cmd_len); in prep_ssp_v2_hw()
|
D | hisi_sas_main.c | 836 memcpy(&task->ssp_task, parameter, para_len); in hisi_sas_exec_internal_tmf_task() 976 struct sas_ssp_task ssp_task; in hisi_sas_debug_issue_ssp_tmf() local 981 memcpy(ssp_task.LUN, lun, 8); in hisi_sas_debug_issue_ssp_tmf() 983 return hisi_sas_exec_internal_tmf_task(device, &ssp_task, in hisi_sas_debug_issue_ssp_tmf() 984 sizeof(ssp_task), tmf); in hisi_sas_debug_issue_ssp_tmf()
|
D | hisi_sas.h | 378 struct ssp_tmf_iu ssp_task; member
|
/drivers/scsi/mvsas/ |
D | mv_sas.c | 602 if (task->ssp_task.enable_first_burst) { in mvs_task_prep_ssp() 684 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in mvs_task_prep_ssp() 687 buf_cmd[9] = fburst | task->ssp_task.task_attr | in mvs_task_prep_ssp() 688 (task->ssp_task.task_prio << 3); in mvs_task_prep_ssp() 689 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in mvs_task_prep_ssp() 690 task->ssp_task.cmd->cmd_len); in mvs_task_prep_ssp() 1309 memcpy(&task->ssp_task, parameter, para_len); in mvs_exec_internal_tmf_task() 1374 struct sas_ssp_task ssp_task; in mvs_debug_issue_ssp_tmf() local 1378 memcpy(ssp_task.LUN, lun, 8); in mvs_debug_issue_ssp_tmf() 1380 return mvs_exec_internal_tmf_task(dev, &ssp_task, in mvs_debug_issue_ssp_tmf() [all …]
|
/drivers/scsi/pm8001/ |
D | pm8001_sas.c | 702 memcpy(&task->ssp_task, parameter, para_len); in pm8001_exec_internal_tmf_task() 890 struct sas_ssp_task ssp_task; in pm8001_issue_ssp_tmf() local 894 strncpy((u8 *)&ssp_task.LUN, lun, 8); in pm8001_issue_ssp_tmf() 895 return pm8001_exec_internal_tmf_task(dev, &ssp_task, sizeof(ssp_task), in pm8001_issue_ssp_tmf()
|
D | pm80xx_hwi.c | 3976 u8 cmd = task->ssp_task.cmd->cmnd[0]; in check_enc_sas_cmd() 4027 memcpy(ssp_cmd.ssp_iu.lun, task->ssp_task.LUN, 8); in pm80xx_chip_ssp_io_req() 4037 if (task->ssp_task.enable_first_burst) in pm80xx_chip_ssp_io_req() 4039 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_prio << 3); in pm80xx_chip_ssp_io_req() 4040 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_attr & 7); in pm80xx_chip_ssp_io_req() 4041 memcpy(ssp_cmd.ssp_iu.cdb, task->ssp_task.cmd->cmnd, in pm80xx_chip_ssp_io_req() 4042 task->ssp_task.cmd->cmd_len); in pm80xx_chip_ssp_io_req() 4051 task->ssp_task.cmd->cmnd[0])); in pm80xx_chip_ssp_io_req() 4109 ssp_cmd.twk_val0 = cpu_to_le32((task->ssp_task.cmd->cmnd[2] << 24) | in pm80xx_chip_ssp_io_req() 4110 (task->ssp_task.cmd->cmnd[3] << 16) | in pm80xx_chip_ssp_io_req() [all …]
|
D | pm8001_hwi.c | 4312 memcpy(ssp_cmd.ssp_iu.lun, task->ssp_task.LUN, 8); in pm8001_chip_ssp_io_req() 4319 if (task->ssp_task.enable_first_burst) in pm8001_chip_ssp_io_req() 4321 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_prio << 3); in pm8001_chip_ssp_io_req() 4322 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_attr & 7); in pm8001_chip_ssp_io_req() 4323 memcpy(ssp_cmd.ssp_iu.cdb, task->ssp_task.cmd->cmnd, in pm8001_chip_ssp_io_req() 4324 task->ssp_task.cmd->cmd_len); in pm8001_chip_ssp_io_req() 4718 memcpy(sspTMCmd.lun, task->ssp_task.LUN, 8); in pm8001_chip_ssp_tm_req()
|
/drivers/scsi/libsas/ |
D | sas_scsi_host.c | 164 task->ssp_task.retry_count = 1; in sas_create_task() 166 memcpy(task->ssp_task.LUN, &lun.scsi_lun, 8); in sas_create_task() 167 task->ssp_task.task_attr = TASK_ATTR_SIMPLE; in sas_create_task() 168 task->ssp_task.cmd = cmd; in sas_create_task()
|
/drivers/scsi/isci/ |
D | request.c | 178 memcpy(cmd_iu->LUN, task->ssp_task.LUN, 8); in sci_io_request_build_ssp_command_iu() 183 cmd_iu->task_prio = task->ssp_task.task_prio; in sci_io_request_build_ssp_command_iu() 184 cmd_iu->task_attr = task->ssp_task.task_attr; in sci_io_request_build_ssp_command_iu() 187 sci_swab32_cpy(&cmd_iu->cdb, task->ssp_task.cmd->cmnd, in sci_io_request_build_ssp_command_iu() 188 (task->ssp_task.cmd->cmd_len+3) / sizeof(u32)); in sci_io_request_build_ssp_command_iu() 201 memcpy(task_iu->LUN, task->ssp_task.LUN, 8); in sci_task_request_build_ssp_task_iu()
|