/linux-6.1.9/drivers/scsi/aic94xx/ |
D | aic94xx_task.c | 126 le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); in asd_unmap_scatterlist() 474 scb->ssp_task.proto_conn_rate = (1 << 4); /* SSP */ in asd_build_ssp_ascb() 475 scb->ssp_task.proto_conn_rate |= dev->linkrate; in asd_build_ssp_ascb() 476 scb->ssp_task.total_xfer_len = cpu_to_le32(task->total_xfer_len); in asd_build_ssp_ascb() 477 scb->ssp_task.ssp_frame.frame_type = SSP_DATA; in asd_build_ssp_ascb() 478 memcpy(scb->ssp_task.ssp_frame.hashed_dest_addr, dev->hashed_sas_addr, in asd_build_ssp_ascb() 480 memcpy(scb->ssp_task.ssp_frame.hashed_src_addr, in asd_build_ssp_ascb() 482 scb->ssp_task.ssp_frame.tptt = cpu_to_be16(0xFFFF); in asd_build_ssp_ascb() 484 memcpy(scb->ssp_task.ssp_cmd.lun, task->ssp_task.LUN, 8); in asd_build_ssp_ascb() 485 if (task->ssp_task.enable_first_burst) 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.1.9/drivers/scsi/libsas/ |
D | sas_scsi_host.c | 145 task->ssp_task.retry_count = 1; in sas_create_task() 147 memcpy(task->ssp_task.LUN, &lun.scsi_lun, 8); in sas_create_task() 148 task->ssp_task.task_attr = TASK_ATTR_SIMPLE; in sas_create_task() 149 task->ssp_task.cmd = cmd; in sas_create_task() 1038 memcpy(&task->ssp_task, parameter, para_len); in sas_execute_tmf() 1134 struct sas_ssp_task ssp_task; in sas_execute_ssp_tmf() local 1139 memcpy(ssp_task.LUN, lun, 8); in sas_execute_ssp_tmf() 1141 return sas_execute_tmf(device, &ssp_task, sizeof(ssp_task), -1, tmf); in sas_execute_ssp_tmf()
|
/linux-6.1.9/drivers/scsi/hisi_sas/ |
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() 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()
|
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() 346 struct sas_ssp_task *ssp_task = &task->ssp_task; in hisi_sas_dif_dma_unmap() local 347 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in hisi_sas_dif_dma_unmap() 359 struct sas_ssp_task *ssp_task; in hisi_sas_dif_dma_map() local 364 ssp_task = &task->ssp_task; in hisi_sas_dif_dma_map() 365 scsi_cmnd = ssp_task->cmd; in hisi_sas_dif_dma_map()
|
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 (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()
|
D | hisi_sas.h | 596 struct ssp_tmf_iu ssp_task; member
|
D | hisi_sas_v3_hw.c | 1225 struct sas_ssp_task *ssp_task = &task->ssp_task; in prep_ssp_v3_hw() local 1226 struct scsi_cmnd *scsi_cmnd = ssp_task->cmd; in prep_ssp_v3_hw() 1286 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in prep_ssp_v3_hw() 1288 buf_cmd[9] = ssp_task->task_attr | (ssp_task->task_prio << 3); in prep_ssp_v3_hw()
|
/linux-6.1.9/drivers/scsi/mvsas/ |
D | mv_sas.c | 589 if (task->ssp_task.enable_first_burst) { in mvs_task_prep_ssp() 671 memcpy(buf_cmd, &task->ssp_task.LUN, 8); in mvs_task_prep_ssp() 674 buf_cmd[9] = fburst | task->ssp_task.task_attr | in mvs_task_prep_ssp() 675 (task->ssp_task.task_prio << 3); in mvs_task_prep_ssp() 676 memcpy(buf_cmd + 12, task->ssp_task.cmd->cmnd, in mvs_task_prep_ssp() 677 task->ssp_task.cmd->cmd_len); in mvs_task_prep_ssp()
|
/linux-6.1.9/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 4327 u8 cmd = task->ssp_task.cmd->cmnd[0]; in check_enc_sas_cmd() 4400 memcpy(ssp_cmd.ssp_iu.lun, task->ssp_task.LUN, 8); in pm80xx_chip_ssp_io_req() 4411 if (task->ssp_task.enable_first_burst) in pm80xx_chip_ssp_io_req() 4413 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_prio << 3); in pm80xx_chip_ssp_io_req() 4414 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_attr & 7); in pm80xx_chip_ssp_io_req() 4415 memcpy(ssp_cmd.ssp_iu.cdb, task->ssp_task.cmd->cmnd, in pm80xx_chip_ssp_io_req() 4416 task->ssp_task.cmd->cmd_len); in pm80xx_chip_ssp_io_req() 4424 task->ssp_task.cmd->cmnd[0]); in pm80xx_chip_ssp_io_req() 4481 ssp_cmd.twk_val0 = cpu_to_le32((task->ssp_task.cmd->cmnd[2] << 24) | in pm80xx_chip_ssp_io_req() 4482 (task->ssp_task.cmd->cmnd[3] << 16) | in pm80xx_chip_ssp_io_req() [all …]
|
D | pm8001_hwi.c | 4148 memcpy(ssp_cmd.ssp_iu.lun, task->ssp_task.LUN, 8); in pm8001_chip_ssp_io_req() 4155 if (task->ssp_task.enable_first_burst) in pm8001_chip_ssp_io_req() 4157 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_prio << 3); in pm8001_chip_ssp_io_req() 4158 ssp_cmd.ssp_iu.efb_prio_attr |= (task->ssp_task.task_attr & 7); in pm8001_chip_ssp_io_req() 4159 memcpy(ssp_cmd.ssp_iu.cdb, task->ssp_task.cmd->cmnd, in pm8001_chip_ssp_io_req() 4160 task->ssp_task.cmd->cmd_len); in pm8001_chip_ssp_io_req() 4545 memcpy(sspTMCmd.lun, task->ssp_task.LUN, 8); in pm8001_chip_ssp_tm_req()
|
/linux-6.1.9/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()
|
/linux-6.1.9/include/scsi/ |
D | libsas.h | 610 struct sas_ssp_task ssp_task; member
|