Searched refs:ata_task (Results 1 – 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/aic94xx/ |
D | aic94xx_task.c | 359 if (unlikely(task->ata_task.device_control_reg_update)) in asd_build_ata_ascb() 366 scb->ata_task.proto_conn_rate = (1 << 5); /* STP */ in asd_build_ata_ascb() 368 scb->ata_task.proto_conn_rate |= dev->linkrate; in asd_build_ata_ascb() 370 scb->ata_task.total_xfer_len = cpu_to_le32(task->total_xfer_len); in asd_build_ata_ascb() 371 scb->ata_task.fis = task->ata_task.fis; in asd_build_ata_ascb() 372 if (likely(!task->ata_task.device_control_reg_update)) in asd_build_ata_ascb() 373 scb->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ in asd_build_ata_ascb() 374 scb->ata_task.fis.flags &= 0xF0; /* PM_PORT field shall be 0 */ in asd_build_ata_ascb() 376 memcpy(scb->ata_task.atapi_packet, task->ata_task.atapi_packet, in asd_build_ata_ascb() 378 scb->ata_task.sister_scb = cpu_to_le16(0xFFFF); in asd_build_ata_ascb() [all …]
|
D | aic94xx_sas.h | 576 struct initiate_ata_task ata_task; member
|
/kernel/linux/linux-5.10/drivers/scsi/isci/ |
D | request.h | 306 task->ata_task.fis.command == ATA_CMD_READ_LOG_EXT && in isci_task_is_ncq_recovery() 307 task->ata_task.fis.lbal == ATA_LOG_SATA_NCQ); in isci_task_is_ncq_recovery()
|
D | request.c | 698 task->ata_task.fis.command == ATA_CMD_PACKET) { in sci_io_request_construct_sata() 710 if (task->ata_task.use_ncq) { in sci_io_request_construct_sata() 718 if (task->ata_task.dma_xfer) { in sci_io_request_construct_sata() 1652 void *atapi_cdb = ireq->ttype_ptr.io_task_ptr->ata_task.atapi_packet; in scu_atapi_reconstruct_raw_frame_task_context() 1689 memcpy(&ireq->stp.cmd.lbal, task->ata_task.atapi_packet, cdb_len); in scu_atapi_construct_task_context() 2982 !task->ata_task.use_ncq) { in sci_request_started_state_enter() 2984 task->ata_task.fis.command == ATA_CMD_PACKET) { in sci_request_started_state_enter() 2988 } else if (task->ata_task.dma_xfer) { in sci_request_started_state_enter() 3164 memcpy(fis, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); in isci_request_stp_request_construct() 3165 if (!task->ata_task.device_control_reg_update) in isci_request_stp_request_construct()
|
D | remote_device.c | 715 if (task->ata_task.use_ncq) in sci_remote_device_start_io() 727 if (task->ata_task.use_ncq) { in sci_remote_device_start_io()
|
/kernel/linux/linux-5.10/drivers/scsi/libsas/ |
D | sas_ata.c | 198 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *)&task->ata_task.fis); in sas_ata_qc_issue() 201 memcpy(task->ata_task.atapi_packet, qc->cdb, qc->dev->cdb_len); in sas_ata_qc_issue() 216 task->ata_task.retry_count = 1; in sas_ata_qc_issue() 220 task->ata_task.use_ncq = ata_is_ncq(qc->tf.protocol); in sas_ata_qc_issue() 221 task->ata_task.dma_xfer = ata_is_dma(qc->tf.protocol); in sas_ata_qc_issue()
|
/kernel/linux/linux-5.10/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 2477 if (t->ata_task.dma_xfer == 0 && in mpi_sata_completion() 2482 } else if (t->ata_task.use_ncq && in mpi_sata_completion() 4292 switch (task->ata_task.fis.command) { in check_enc_sat_cmd() 4497 if (task->data_dir == DMA_NONE && !task->ata_task.use_ncq) { in pm80xx_chip_sata_req() 4500 } else if (likely(!task->ata_task.device_control_reg_update)) { in pm80xx_chip_sata_req() 4501 if (task->ata_task.use_ncq && in pm80xx_chip_sata_req() 4505 } else if (task->ata_task.dma_xfer) { in pm80xx_chip_sata_req() 4513 if (task->ata_task.use_ncq && pm8001_get_ncq_tag(task, &hdr_tag)) { in pm80xx_chip_sata_req() 4514 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in pm80xx_chip_sata_req() 4522 sata_cmd.sata_fis = task->ata_task.fis; in pm80xx_chip_sata_req() [all …]
|
D | pm8001_hwi.c | 2368 if (t->ata_task.dma_xfer == 0 && in mpi_sata_completion() 2373 } else if (t->ata_task.use_ncq && in mpi_sata_completion() 4229 if (task->data_dir == DMA_NONE && !task->ata_task.use_ncq) { in pm8001_chip_sata_req() 4232 } else if (likely(!task->ata_task.device_control_reg_update)) { in pm8001_chip_sata_req() 4233 if (task->ata_task.use_ncq && in pm8001_chip_sata_req() 4237 } else if (task->ata_task.dma_xfer) { in pm8001_chip_sata_req() 4245 if (task->ata_task.use_ncq && pm8001_get_ncq_tag(task, &hdr_tag)) { in pm8001_chip_sata_req() 4246 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in pm8001_chip_sata_req() 4255 sata_cmd.sata_fis = task->ata_task.fis; in pm8001_chip_sata_req() 4256 if (likely(!task->ata_task.device_control_reg_update)) in pm8001_chip_sata_req()
|
/kernel/linux/linux-5.10/drivers/scsi/mvsas/ |
D | mv_sas.c | 462 if (task->ata_task.use_ncq) in mvs_task_prep_ata() 465 if (task->ata_task.fis.command != ATA_CMD_ID_ATAPI) in mvs_task_prep_ata() 471 if (task->ata_task.use_ncq && mvs_get_ncq_tag(task, &hdr_tag)) in mvs_task_prep_ata() 472 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in mvs_task_prep_ata() 527 if (likely(!task->ata_task.device_control_reg_update)) in mvs_task_prep_ata() 528 task->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ in mvs_task_prep_ata() 530 memcpy(buf_cmd, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); in mvs_task_prep_ata() 533 task->ata_task.atapi_packet, 16); in mvs_task_prep_ata() 1686 task->ata_task.use_ncq = 0; in mvs_slot_err()
|
/kernel/linux/linux-5.10/drivers/scsi/hisi_sas/ |
D | hisi_sas_v3_hw.c | 1392 if ((task->ata_task.fis.command == ATA_CMD_DEV_RESET) && in prep_ata_v3_hw() 1393 (task->ata_task.fis.control & ATA_SRST)) in prep_ata_v3_hw() 1397 &task->ata_task.fis, task->data_dir)) in prep_ata_v3_hw() 1401 if (FIS_CMD_IS_UNCONSTRAINED(task->ata_task.fis)) in prep_ata_v3_hw() 1407 if (task->ata_task.use_ncq) { in prep_ata_v3_hw() 1411 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in prep_ata_v3_hw() 1432 if (likely(!task->ata_task.device_control_reg_update)) in prep_ata_v3_hw() 1433 task->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ in prep_ata_v3_hw() 1435 memcpy(buf_cmd, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); in prep_ata_v3_hw()
|
D | hisi_sas_v2_hw.c | 2529 if ((task->ata_task.fis.command == ATA_CMD_DEV_RESET) && in prep_ata_v2_hw() 2530 (task->ata_task.fis.control & ATA_SRST)) in prep_ata_v2_hw() 2534 &task->ata_task.fis, task->data_dir)) in prep_ata_v2_hw() 2540 if (task->ata_task.use_ncq) { in prep_ata_v2_hw() 2544 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in prep_ata_v2_hw() 2565 if (likely(!task->ata_task.device_control_reg_update)) in prep_ata_v2_hw() 2566 task->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ in prep_ata_v2_hw() 2568 memcpy(buf_cmd, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); in prep_ata_v2_hw()
|
D | hisi_sas_main.c | 1214 task->ata_task.device_control_reg_update = 1; in hisi_sas_exec_internal_tmf_task() 1215 memcpy(&task->ata_task.fis, parameter, para_len); in hisi_sas_exec_internal_tmf_task()
|
/kernel/linux/linux-5.10/include/scsi/ |
D | libsas.h | 582 struct sas_ata_task ata_task; member
|