Searched refs:ata_task (Results 1 – 9 of 9) sorted by relevance
/drivers/scsi/aic94xx/ |
D | aic94xx_task.c | 374 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 …]
|
D | aic94xx_sas.h | 631 struct initiate_ata_task ata_task; member
|
/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() 2986 !task->ata_task.use_ncq) { in sci_request_started_state_enter() 2988 task->ata_task.fis.command == ATA_CMD_PACKET) { in sci_request_started_state_enter() 2992 } else if (task->ata_task.dma_xfer) { in sci_request_started_state_enter() 3168 memcpy(fis, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); in isci_request_stp_request_construct() 3169 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()
|
/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 1773 if (t->ata_task.dma_xfer == 0 && in mpi_sata_completion() 1778 } else if (t->ata_task.use_ncq) { in mpi_sata_completion() 3573 switch (task->ata_task.fis.command) { in check_enc_sat_cmd() 3734 } else if (likely(!task->ata_task.device_control_reg_update)) { in pm80xx_chip_sata_req() 3735 if (task->ata_task.dma_xfer) { in pm80xx_chip_sata_req() 3742 if (task->ata_task.use_ncq && in pm80xx_chip_sata_req() 3748 if (task->ata_task.use_ncq && pm8001_get_ncq_tag(task, &hdr_tag)) { in pm80xx_chip_sata_req() 3749 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in pm80xx_chip_sata_req() 3757 sata_cmd.sata_fis = task->ata_task.fis; in pm80xx_chip_sata_req() 3758 if (likely(!task->ata_task.device_control_reg_update)) in pm80xx_chip_sata_req() [all …]
|
D | pm8001_hwi.c | 2358 if (t->ata_task.dma_xfer == 0 && in mpi_sata_completion() 2363 } else if (t->ata_task.use_ncq) { in mpi_sata_completion() 4342 } else if (likely(!task->ata_task.device_control_reg_update)) { in pm8001_chip_sata_req() 4343 if (task->ata_task.dma_xfer) { in pm8001_chip_sata_req() 4350 if (task->ata_task.use_ncq && in pm8001_chip_sata_req() 4356 if (task->ata_task.use_ncq && pm8001_get_ncq_tag(task, &hdr_tag)) { in pm8001_chip_sata_req() 4357 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in pm8001_chip_sata_req() 4366 sata_cmd.sata_fis = task->ata_task.fis; in pm8001_chip_sata_req() 4367 if (likely(!task->ata_task.device_control_reg_update)) in pm8001_chip_sata_req()
|
/drivers/scsi/libsas/ |
D | sas_ata.c | 214 ata_tf_to_fis(&qc->tf, 1, 0, (u8*)&task->ata_task.fis); in sas_ata_qc_issue() 217 memcpy(task->ata_task.atapi_packet, qc->cdb, qc->dev->cdb_len); in sas_ata_qc_issue() 230 task->ata_task.retry_count = 1; in sas_ata_qc_issue() 236 task->ata_task.use_ncq = 1; in sas_ata_qc_issue() 240 task->ata_task.dma_xfer = 1; in sas_ata_qc_issue()
|
/drivers/scsi/mvsas/ |
D | mv_sas.c | 480 if (task->ata_task.use_ncq) in mvs_task_prep_ata() 483 if (task->ata_task.fis.command != ATA_CMD_ID_ATAPI) in mvs_task_prep_ata() 489 if (task->ata_task.use_ncq && mvs_get_ncq_tag(task, &hdr_tag)) in mvs_task_prep_ata() 490 task->ata_task.fis.sector_count |= (u8) (hdr_tag << 3); in mvs_task_prep_ata() 545 if (likely(!task->ata_task.device_control_reg_update)) in mvs_task_prep_ata() 546 task->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ in mvs_task_prep_ata() 548 memcpy(buf_cmd, &task->ata_task.fis, sizeof(struct host_to_dev_fis)); in mvs_task_prep_ata() 551 task->ata_task.atapi_packet, 16); in mvs_task_prep_ata() 1797 task->ata_task.use_ncq = 0; in mvs_slot_err()
|