Home
last modified time | relevance | path

Searched refs:ata_task (Results 1 – 9 of 9) sorted by relevance

/drivers/scsi/aic94xx/
Daic94xx_task.c374 if (unlikely(task->ata_task.device_control_reg_update)) in asd_build_ata_ascb()
381 scb->ata_task.proto_conn_rate = (1 << 5); /* STP */ in asd_build_ata_ascb()
383 scb->ata_task.proto_conn_rate |= dev->linkrate; in asd_build_ata_ascb()
385 scb->ata_task.total_xfer_len = cpu_to_le32(task->total_xfer_len); in asd_build_ata_ascb()
386 scb->ata_task.fis = task->ata_task.fis; in asd_build_ata_ascb()
387 if (likely(!task->ata_task.device_control_reg_update)) in asd_build_ata_ascb()
388 scb->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ in asd_build_ata_ascb()
389 scb->ata_task.fis.flags &= 0xF0; /* PM_PORT field shall be 0 */ in asd_build_ata_ascb()
391 memcpy(scb->ata_task.atapi_packet, task->ata_task.atapi_packet, in asd_build_ata_ascb()
393 scb->ata_task.sister_scb = cpu_to_le16(0xFFFF); in asd_build_ata_ascb()
[all …]
Daic94xx_sas.h631 struct initiate_ata_task ata_task; member
/drivers/scsi/isci/
Drequest.h306 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()
Drequest.c698 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()
Dremote_device.c715 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()
/drivers/scsi/libsas/
Dsas_ata.c213 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *)&task->ata_task.fis); in sas_ata_qc_issue()
216 memcpy(task->ata_task.atapi_packet, qc->cdb, qc->dev->cdb_len); in sas_ata_qc_issue()
231 task->ata_task.retry_count = 1; in sas_ata_qc_issue()
237 task->ata_task.use_ncq = 1; in sas_ata_qc_issue()
241 task->ata_task.dma_xfer = 1; in sas_ata_qc_issue()
/drivers/scsi/pm8001/
Dpm80xx_hwi.c2121 if (t->ata_task.dma_xfer == 0 && in mpi_sata_completion()
2126 } else if (t->ata_task.use_ncq) { in mpi_sata_completion()
3987 switch (task->ata_task.fis.command) { in check_enc_sat_cmd()
4197 } else if (likely(!task->ata_task.device_control_reg_update)) { in pm80xx_chip_sata_req()
4198 if (task->ata_task.dma_xfer) { in pm80xx_chip_sata_req()
4205 if (task->ata_task.use_ncq && in pm80xx_chip_sata_req()
4211 if (task->ata_task.use_ncq && pm8001_get_ncq_tag(task, &hdr_tag)) { in pm80xx_chip_sata_req()
4212 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in pm80xx_chip_sata_req()
4220 sata_cmd.sata_fis = task->ata_task.fis; in pm80xx_chip_sata_req()
4221 if (likely(!task->ata_task.device_control_reg_update)) in pm80xx_chip_sata_req()
[all …]
Dpm8001_hwi.c2422 if (t->ata_task.dma_xfer == 0 && in mpi_sata_completion()
2427 } else if (t->ata_task.use_ncq) { in mpi_sata_completion()
4372 } else if (likely(!task->ata_task.device_control_reg_update)) { in pm8001_chip_sata_req()
4373 if (task->ata_task.dma_xfer) { in pm8001_chip_sata_req()
4380 if (task->ata_task.use_ncq && in pm8001_chip_sata_req()
4386 if (task->ata_task.use_ncq && pm8001_get_ncq_tag(task, &hdr_tag)) { in pm8001_chip_sata_req()
4387 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in pm8001_chip_sata_req()
4396 sata_cmd.sata_fis = task->ata_task.fis; in pm8001_chip_sata_req()
4397 if (likely(!task->ata_task.device_control_reg_update)) in pm8001_chip_sata_req()
/drivers/scsi/mvsas/
Dmv_sas.c477 if (task->ata_task.use_ncq) in mvs_task_prep_ata()
480 if (task->ata_task.fis.command != ATA_CMD_ID_ATAPI) in mvs_task_prep_ata()
486 if (task->ata_task.use_ncq && mvs_get_ncq_tag(task, &hdr_tag)) in mvs_task_prep_ata()
487 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in mvs_task_prep_ata()
542 if (likely(!task->ata_task.device_control_reg_update)) in mvs_task_prep_ata()
543 task->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ in mvs_task_prep_ata()
545 memcpy(buf_cmd, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); in mvs_task_prep_ata()
548 task->ata_task.atapi_packet, 16); in mvs_task_prep_ata()
1700 task->ata_task.use_ncq = 0; in mvs_slot_err()