Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/aic94xx/
Daic94xx_task.c126 le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); in asd_unmap_scatterlist()
475 scb->ssp_task.proto_conn_rate = (1 << 4); /* SSP */ in asd_build_ssp_ascb()
476 scb->ssp_task.proto_conn_rate |= dev->linkrate; in asd_build_ssp_ascb()
477 scb->ssp_task.total_xfer_len = cpu_to_le32(task->total_xfer_len); in asd_build_ssp_ascb()
478 scb->ssp_task.ssp_frame.frame_type = SSP_DATA; in asd_build_ssp_ascb()
479 memcpy(scb->ssp_task.ssp_frame.hashed_dest_addr, dev->hashed_sas_addr, in asd_build_ssp_ascb()
481 memcpy(scb->ssp_task.ssp_frame.hashed_src_addr, in asd_build_ssp_ascb()
483 scb->ssp_task.ssp_frame.tptt = cpu_to_be16(0xFFFF); in asd_build_ssp_ascb()
485 memcpy(scb->ssp_task.ssp_cmd.lun, task->ssp_task.LUN, 8); in asd_build_ssp_ascb()
486 if (task->ssp_task.enable_first_burst) in asd_build_ssp_ascb()
[all …]
Daic94xx_tmf.c208 memcpy(scb->clear_nexus.ssp_task.lun, lun, 8); in asd_clear_nexus_I_T_L()
221 memcpy(scb->clear_nexus.ssp_task.lun, task->ssp_task.LUN, 8); in asd_clear_nexus_tag()
222 scb->clear_nexus.ssp_task.tag = tascb->tag; in asd_clear_nexus_tag()
443 memcpy(scb->abort_task.ssp_task.lun, task->ssp_task.LUN, 8); in asd_abort_task()
444 scb->abort_task.ssp_task.tmf = TMF_ABORT_TASK; in asd_abort_task()
445 scb->abort_task.ssp_task.tag = cpu_to_be16(0xFFFF); in asd_abort_task()
592 memcpy(scb->ssp_tmf.ssp_task.lun, lun, 8); in asd_initiate_ssp_tmf()
593 scb->ssp_tmf.ssp_task.tmf = tmf; in asd_initiate_ssp_tmf()
691 return asd_initiate_ssp_tmf(task->dev, task->ssp_task.LUN, in asd_query_task()
Daic94xx_sas.h459 struct ssp_tmf_iu ssp_task; member
497 struct ssp_tmf_iu ssp_task; /* LUN and TAG */ member
510 struct ssp_tmf_iu ssp_task; member
575 struct initiate_ssp_task ssp_task; member
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/
Dhisi_sas_v1_hw.c959 struct sas_ssp_task *ssp_task = &task->ssp_task; in prep_ssp_v1_hw() local
960 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in prep_ssp_v1_hw()
1021 if (task->ssp_task.enable_first_burst) { in prep_ssp_v1_hw()
1027 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v1_hw()
1029 buf_cmd[9] = fburst | task->ssp_task.task_attr | in prep_ssp_v1_hw()
1030 (task->ssp_task.task_prio << 3); in prep_ssp_v1_hw()
1031 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in prep_ssp_v1_hw()
1032 task->ssp_task.cmd->cmd_len); in prep_ssp_v1_hw()
Dhisi_sas_main.c237 struct sas_ssp_task *ssp_task = &task->ssp_task; in hisi_sas_slot_task_free() local
238 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in hisi_sas_slot_task_free()
359 struct sas_ssp_task *ssp_task = &task->ssp_task; in hisi_sas_dif_dma_unmap() local
360 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in hisi_sas_dif_dma_unmap()
372 struct sas_ssp_task *ssp_task; in hisi_sas_dif_dma_map() local
377 ssp_task = &task->ssp_task; in hisi_sas_dif_dma_map()
378 scsi_cmnd = ssp_task->cmd; in hisi_sas_dif_dma_map()
1217 memcpy(&task->ssp_task, parameter, para_len); in hisi_sas_exec_internal_tmf_task()
1366 struct sas_ssp_task ssp_task; in hisi_sas_debug_issue_ssp_tmf() local
1371 memcpy(ssp_task.LUN, lun, 8); in hisi_sas_debug_issue_ssp_tmf()
[all …]
Dhisi_sas_v2_hw.c1743 struct sas_ssp_task *ssp_task = &task->ssp_task; in prep_ssp_v2_hw() local
1744 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in prep_ssp_v2_hw()
1799 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v2_hw()
1801 buf_cmd[9] = task->ssp_task.task_attr | in prep_ssp_v2_hw()
1802 (task->ssp_task.task_prio << 3); in prep_ssp_v2_hw()
1803 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in prep_ssp_v2_hw()
1804 task->ssp_task.cmd->cmd_len); in prep_ssp_v2_hw()
Dhisi_sas_v3_hw.c1206 struct sas_ssp_task *ssp_task = &task->ssp_task; in prep_ssp_v3_hw() local
1207 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in prep_ssp_v3_hw()
1267 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v3_hw()
1269 buf_cmd[9] = ssp_task->task_attr | (ssp_task->task_prio << 3); in prep_ssp_v3_hw()
Dhisi_sas.h608 struct ssp_tmf_iu ssp_task; member
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_sas.c584 if (task->ssp_task.enable_first_burst) { in mvs_task_prep_ssp()
666 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in mvs_task_prep_ssp()
669 buf_cmd[9] = fburst | task->ssp_task.task_attr | in mvs_task_prep_ssp()
670 (task->ssp_task.task_prio << 3); in mvs_task_prep_ssp()
671 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in mvs_task_prep_ssp()
672 task->ssp_task.cmd->cmd_len); in mvs_task_prep_ssp()
1291 memcpy(&task->ssp_task, parameter, para_len); in mvs_exec_internal_tmf_task()
1355 struct sas_ssp_task ssp_task; in mvs_debug_issue_ssp_tmf() local
1359 memcpy(ssp_task.LUN, lun, 8); in mvs_debug_issue_ssp_tmf()
1361 return mvs_exec_internal_tmf_task(dev, &ssp_task, in mvs_debug_issue_ssp_tmf()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_scsi_host.c147 task->ssp_task.retry_count = 1; in sas_create_task()
149 memcpy(task->ssp_task.LUN, &lun.scsi_lun, 8); in sas_create_task()
150 task->ssp_task.task_attr = TASK_ATTR_SIMPLE; in sas_create_task()
151 task->ssp_task.cmd = cmd; in sas_create_task()
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
Dpm8001_sas.c733 memcpy(&task->ssp_task, parameter, para_len); in pm8001_exec_internal_tmf_task()
911 struct sas_ssp_task ssp_task; in pm8001_issue_ssp_tmf() local
915 strncpy((u8 *)&ssp_task.LUN, lun, 8); in pm8001_issue_ssp_tmf()
916 return pm8001_exec_internal_tmf_task(dev, &ssp_task, sizeof(ssp_task), in pm8001_issue_ssp_tmf()
Dpm80xx_hwi.c4281 u8 cmd = task->ssp_task.cmd->cmnd[0]; in check_enc_sas_cmd()
4333 memcpy(ssp_cmd.ssp_iu.lun, task->ssp_task.LUN, 8); in pm80xx_chip_ssp_io_req()
4344 if (task->ssp_task.enable_first_burst) in pm80xx_chip_ssp_io_req()
4346 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_prio << 3); in pm80xx_chip_ssp_io_req()
4347 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_attr & 7); in pm80xx_chip_ssp_io_req()
4348 memcpy(ssp_cmd.ssp_iu.cdb, task->ssp_task.cmd->cmnd, in pm80xx_chip_ssp_io_req()
4349 task->ssp_task.cmd->cmd_len); in pm80xx_chip_ssp_io_req()
4359 task->ssp_task.cmd->cmnd[0]); in pm80xx_chip_ssp_io_req()
4416 ssp_cmd.twk_val0 = cpu_to_le32((task->ssp_task.cmd->cmnd[2] << 24) | in pm80xx_chip_ssp_io_req()
4417 (task->ssp_task.cmd->cmnd[3] << 16) | in pm80xx_chip_ssp_io_req()
[all …]
Dpm8001_hwi.c4171 memcpy(ssp_cmd.ssp_iu.lun, task->ssp_task.LUN, 8); in pm8001_chip_ssp_io_req()
4178 if (task->ssp_task.enable_first_burst) in pm8001_chip_ssp_io_req()
4180 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_prio << 3); in pm8001_chip_ssp_io_req()
4181 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_attr & 7); in pm8001_chip_ssp_io_req()
4182 memcpy(ssp_cmd.ssp_iu.cdb, task->ssp_task.cmd->cmnd, in pm8001_chip_ssp_io_req()
4183 task->ssp_task.cmd->cmd_len); in pm8001_chip_ssp_io_req()
4583 memcpy(sspTMCmd.lun, task->ssp_task.LUN, 8); in pm8001_chip_ssp_tm_req()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/include/scsi/
Dlibsas.h584 struct sas_ssp_task ssp_task; member