Home
last modified time | relevance | path

Searched refs:ssp_task (Results 1 – 15 of 15) sorted by relevance

/Linux-v4.19/drivers/scsi/aic94xx/
Daic94xx_task.c144 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 …]
Daic94xx_tmf.c226 memcpy(scb->clear_nexus.ssp_task.lun, lun, 8); in asd_clear_nexus_I_T_L()
239 memcpy(scb->clear_nexus.ssp_task.lun, task->ssp_task.LUN, 8); in asd_clear_nexus_tag()
240 scb->clear_nexus.ssp_task.tag = tascb->tag; in asd_clear_nexus_tag()
461 memcpy(scb->abort_task.ssp_task.lun, task->ssp_task.LUN, 8); in asd_abort_task()
462 scb->abort_task.ssp_task.tmf = TMF_ABORT_TASK; in asd_abort_task()
463 scb->abort_task.ssp_task.tag = cpu_to_be16(0xFFFF); in asd_abort_task()
610 memcpy(scb->ssp_tmf.ssp_task.lun, lun, 8); in asd_initiate_ssp_tmf()
611 scb->ssp_tmf.ssp_task.tmf = tmf; in asd_initiate_ssp_tmf()
709 return asd_initiate_ssp_tmf(task->dev, task->ssp_task.LUN, in asd_query_task()
Daic94xx_sas.h477 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
/Linux-v4.19/drivers/scsi/hisi_sas/
Dhisi_sas_v1_hw.c1001 struct sas_ssp_task *ssp_task = &task->ssp_task; in prep_ssp_v1_hw() local
1002 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in prep_ssp_v1_hw()
1063 if (task->ssp_task.enable_first_burst) { in prep_ssp_v1_hw()
1069 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v1_hw()
1071 buf_cmd[9] = fburst | task->ssp_task.task_attr | in prep_ssp_v1_hw()
1072 (task->ssp_task.task_prio << 3); in prep_ssp_v1_hw()
1073 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in prep_ssp_v1_hw()
1074 task->ssp_task.cmd->cmd_len); in prep_ssp_v1_hw()
Dhisi_sas_v2_hw.c1764 struct sas_ssp_task *ssp_task = &task->ssp_task; in prep_ssp_v2_hw() local
1765 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in prep_ssp_v2_hw()
1820 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v2_hw()
1822 buf_cmd[9] = task->ssp_task.task_attr | in prep_ssp_v2_hw()
1823 (task->ssp_task.task_prio << 3); in prep_ssp_v2_hw()
1824 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in prep_ssp_v2_hw()
1825 task->ssp_task.cmd->cmd_len); in prep_ssp_v2_hw()
Dhisi_sas_v3_hw.c942 struct sas_ssp_task *ssp_task = &task->ssp_task; in prep_ssp_v3_hw() local
943 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in prep_ssp_v3_hw()
997 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v3_hw()
999 buf_cmd[9] = ssp_task->task_attr | (ssp_task->task_prio << 3); in prep_ssp_v3_hw()
Dhisi_sas_main.c997 memcpy(&task->ssp_task, parameter, para_len); in hisi_sas_exec_internal_tmf_task()
1133 struct sas_ssp_task ssp_task; in hisi_sas_debug_issue_ssp_tmf() local
1138 memcpy(ssp_task.LUN, lun, 8); in hisi_sas_debug_issue_ssp_tmf()
1140 return hisi_sas_exec_internal_tmf_task(device, &ssp_task, in hisi_sas_debug_issue_ssp_tmf()
1141 sizeof(ssp_task), tmf); in hisi_sas_debug_issue_ssp_tmf()
Dhisi_sas.h429 struct ssp_tmf_iu ssp_task; member
/Linux-v4.19/drivers/scsi/mvsas/
Dmv_sas.c602 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()
1310 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 …]
/Linux-v4.19/drivers/scsi/libsas/
Dsas_scsi_host.c165 task->ssp_task.retry_count = 1; in sas_create_task()
167 memcpy(task->ssp_task.LUN, &lun.scsi_lun, 8); in sas_create_task()
168 task->ssp_task.task_attr = TASK_ATTR_SIMPLE; in sas_create_task()
169 task->ssp_task.cmd = cmd; in sas_create_task()
/Linux-v4.19/drivers/scsi/pm8001/
Dpm8001_sas.c696 memcpy(&task->ssp_task, parameter, para_len); in pm8001_exec_internal_tmf_task()
882 struct sas_ssp_task ssp_task; in pm8001_issue_ssp_tmf() local
886 strncpy((u8 *)&ssp_task.LUN, lun, 8); in pm8001_issue_ssp_tmf()
887 return pm8001_exec_internal_tmf_task(dev, &ssp_task, sizeof(ssp_task), in pm8001_issue_ssp_tmf()
Dpm80xx_hwi.c3941 u8 cmd = task->ssp_task.cmd->cmnd[0]; in check_enc_sas_cmd()
3992 memcpy(ssp_cmd.ssp_iu.lun, task->ssp_task.LUN, 8); in pm80xx_chip_ssp_io_req()
4002 if (task->ssp_task.enable_first_burst) in pm80xx_chip_ssp_io_req()
4004 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_prio << 3); in pm80xx_chip_ssp_io_req()
4005 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_attr & 7); in pm80xx_chip_ssp_io_req()
4006 memcpy(ssp_cmd.ssp_iu.cdb, task->ssp_task.cmd->cmnd, in pm80xx_chip_ssp_io_req()
4007 task->ssp_task.cmd->cmd_len); in pm80xx_chip_ssp_io_req()
4016 task->ssp_task.cmd->cmnd[0])); in pm80xx_chip_ssp_io_req()
4074 ssp_cmd.twk_val0 = cpu_to_le32((task->ssp_task.cmd->cmnd[2] << 24) | in pm80xx_chip_ssp_io_req()
4075 (task->ssp_task.cmd->cmnd[3] << 16) | in pm80xx_chip_ssp_io_req()
[all …]
Dpm8001_hwi.c4315 memcpy(ssp_cmd.ssp_iu.lun, task->ssp_task.LUN, 8); in pm8001_chip_ssp_io_req()
4322 if (task->ssp_task.enable_first_burst) in pm8001_chip_ssp_io_req()
4324 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_prio << 3); in pm8001_chip_ssp_io_req()
4325 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_attr & 7); in pm8001_chip_ssp_io_req()
4326 memcpy(ssp_cmd.ssp_iu.cdb, task->ssp_task.cmd->cmnd, in pm8001_chip_ssp_io_req()
4327 task->ssp_task.cmd->cmd_len); in pm8001_chip_ssp_io_req()
4721 memcpy(sspTMCmd.lun, task->ssp_task.LUN, 8); in pm8001_chip_ssp_tm_req()
/Linux-v4.19/drivers/scsi/isci/
Drequest.c178 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()
/Linux-v4.19/include/scsi/
Dlibsas.h599 struct sas_ssp_task ssp_task; member