/linux-6.12.1/drivers/scsi/aic94xx/ |
D | aic94xx_task.c | 129 le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); in asd_unmap_scatterlist() 472 scb->ssp_task.proto_conn_rate = (1 << 4); /* SSP */ in asd_build_ssp_ascb() 473 scb->ssp_task.proto_conn_rate |= dev->linkrate; in asd_build_ssp_ascb() 474 scb->ssp_task.total_xfer_len = cpu_to_le32(task->total_xfer_len); in asd_build_ssp_ascb() 475 scb->ssp_task.ssp_frame.frame_type = SSP_DATA; in asd_build_ssp_ascb() 476 memcpy(scb->ssp_task.ssp_frame.hashed_dest_addr, dev->hashed_sas_addr, in asd_build_ssp_ascb() 478 memcpy(scb->ssp_task.ssp_frame.hashed_src_addr, in asd_build_ssp_ascb() 480 scb->ssp_task.ssp_frame.tptt = cpu_to_be16(0xFFFF); in asd_build_ssp_ascb() 482 memcpy(scb->ssp_task.ssp_cmd.lun, task->ssp_task.LUN, 8); in asd_build_ssp_ascb() 483 scb->ssp_task.ssp_cmd.efb_prio_attr |= (task->ssp_task.task_attr & 7); in asd_build_ssp_ascb() [all …]
|
D | aic94xx_tmf.c | 208 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() 682 return asd_initiate_ssp_tmf(task->dev, task->ssp_task.LUN, in asd_query_task()
|
D | aic94xx_sas.h | 459 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
|
/linux-6.12.1/drivers/scsi/libsas/ |
D | sas_scsi_host.c | 146 memcpy(task->ssp_task.LUN, &lun.scsi_lun, 8); in sas_create_task() 147 task->ssp_task.task_attr = TASK_ATTR_SIMPLE; in sas_create_task() 148 task->ssp_task.cmd = cmd; in sas_create_task() 1002 memcpy(&task->ssp_task, parameter, para_len); in sas_execute_tmf() 1098 struct sas_ssp_task ssp_task; in sas_execute_ssp_tmf() local 1103 memcpy(ssp_task.LUN, lun, 8); in sas_execute_ssp_tmf() 1105 return sas_execute_tmf(device, &ssp_task, sizeof(ssp_task), -1, tmf); in sas_execute_ssp_tmf()
|
/linux-6.12.1/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 232 struct sas_ssp_task *ssp_task = &task->ssp_task; in hisi_sas_slot_task_free() local 233 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in hisi_sas_slot_task_free() 350 struct sas_ssp_task *ssp_task = &task->ssp_task; in hisi_sas_dif_dma_unmap() local 351 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in hisi_sas_dif_dma_unmap() 363 struct sas_ssp_task *ssp_task; in hisi_sas_dif_dma_map() local 368 ssp_task = &task->ssp_task; in hisi_sas_dif_dma_map() 369 scsi_cmnd = ssp_task->cmd; in hisi_sas_dif_dma_map()
|
D | hisi_sas_v1_hw.c | 959 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() 1023 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v1_hw() 1025 buf_cmd[9] = task->ssp_task.task_attr; in prep_ssp_v1_hw() 1026 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in prep_ssp_v1_hw() 1027 task->ssp_task.cmd->cmd_len); in prep_ssp_v1_hw()
|
D | hisi_sas_v2_hw.c | 1743 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 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in prep_ssp_v2_hw() 1803 task->ssp_task.cmd->cmd_len); in prep_ssp_v2_hw()
|
D | hisi_sas.h | 599 struct ssp_tmf_iu ssp_task; member
|
D | hisi_sas_v3_hw.c | 1265 struct sas_ssp_task *ssp_task = &task->ssp_task; in prep_ssp_v3_hw() local 1266 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in prep_ssp_v3_hw() 1326 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v3_hw() 1328 buf_cmd[9] = ssp_task->task_attr; in prep_ssp_v3_hw()
|
/linux-6.12.1/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 4230 u8 cmd = task->ssp_task.cmd->cmnd[0]; in check_enc_sas_cmd() 4290 memcpy(ssp_cmd.ssp_iu.lun, task->ssp_task.LUN, 8); in pm80xx_chip_ssp_io_req() 4301 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_attr & 7); in pm80xx_chip_ssp_io_req() 4302 memcpy(ssp_cmd.ssp_iu.cdb, task->ssp_task.cmd->cmnd, in pm80xx_chip_ssp_io_req() 4303 task->ssp_task.cmd->cmd_len); in pm80xx_chip_ssp_io_req() 4311 task->ssp_task.cmd->cmnd[0]); in pm80xx_chip_ssp_io_req() 4368 ssp_cmd.twk_val0 = cpu_to_le32((task->ssp_task.cmd->cmnd[2] << 24) | in pm80xx_chip_ssp_io_req() 4369 (task->ssp_task.cmd->cmnd[3] << 16) | in pm80xx_chip_ssp_io_req() 4370 (task->ssp_task.cmd->cmnd[4] << 8) | in pm80xx_chip_ssp_io_req() 4371 (task->ssp_task.cmd->cmnd[5])); in pm80xx_chip_ssp_io_req() [all …]
|
D | pm8001_hwi.c | 3993 memcpy(ssp_cmd.ssp_iu.lun, task->ssp_task.LUN, 8); in pm8001_chip_ssp_io_req() 4000 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_attr & 7); in pm8001_chip_ssp_io_req() 4001 memcpy(ssp_cmd.ssp_iu.cdb, task->ssp_task.cmd->cmnd, in pm8001_chip_ssp_io_req() 4002 task->ssp_task.cmd->cmd_len); in pm8001_chip_ssp_io_req() 4355 memcpy(sspTMCmd.lun, task->ssp_task.LUN, 8); in pm8001_chip_ssp_tm_req()
|
/linux-6.12.1/drivers/scsi/mvsas/ |
D | mv_sas.c | 663 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in mvs_task_prep_ssp() 666 buf_cmd[9] = task->ssp_task.task_attr; in mvs_task_prep_ssp() 667 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in mvs_task_prep_ssp() 668 task->ssp_task.cmd->cmd_len); in mvs_task_prep_ssp()
|
/linux-6.12.1/drivers/scsi/isci/ |
D | request.c | 178 memcpy(cmd_iu->LUN, task->ssp_task.LUN, 8); 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-6.12.1/include/scsi/ |
D | libsas.h | 582 struct sas_ssp_task ssp_task; member
|