Searched refs:sata_dev (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/drivers/scsi/libsas/ |
D | sas_ata.c | 120 dev->sata_dev.class == ATA_DEV_ATAPI)) { in sas_ata_task_done() 121 memcpy(dev->sata_dev.fis, resp->ending_fis, ATA_RESP_FIS_SIZE); in sas_ata_task_done() 124 qc->err_mask |= ac_err_mask(dev->sata_dev.fis[2]); in sas_ata_task_done() 126 link->eh_info.err_mask |= ac_err_mask(dev->sata_dev.fis[2]); in sas_ata_task_done() 142 dev->sata_dev.fis[2] = ATA_ERR | ATA_DRDY; /* tf status */ in sas_ata_task_done() 143 dev->sata_dev.fis[3] = ATA_ABORTED; /* tf error */ in sas_ata_task_done() 235 ata_tf_from_fis(dev->sata_dev.fis, &qc->result_tf); in sas_ata_qc_fill_rtf() 269 &dev->sata_dev.rps_resp); in sas_get_ata_info() 276 memcpy(dev->frame_rcvd, &dev->sata_dev.rps_resp.rps.fis, in sas_get_ata_info() 278 dev->sata_dev.class = sas_get_ata_command_set(dev); in sas_get_ata_info() [all …]
|
D | sas_discover.c | 302 if (dev_is_sata(dev) && dev->sata_dev.ap) { in sas_free_device() 303 ata_sas_tport_delete(dev->sata_dev.ap); in sas_free_device() 304 kfree(dev->sata_dev.ap); in sas_free_device() 305 ata_host_put(dev->sata_dev.ata_host); in sas_free_device() 306 dev->sata_dev.ata_host = NULL; in sas_free_device() 307 dev->sata_dev.ap = NULL; in sas_free_device() 326 sas_ata_end_eh(dev->sata_dev.ap); in sas_unregister_common_dev()
|
D | sas_scsi_host.c | 174 spin_lock_irq(dev->sata_dev.ap->lock); in sas_queuecommand() 175 res = ata_sas_queuecmd(cmd, dev->sata_dev.ap); in sas_queuecommand() 176 spin_unlock_irq(dev->sata_dev.ap->lock); in sas_queuecommand() 756 return ata_sas_scsi_ioctl(dev->sata_dev.ap, sdev, cmd, arg); in sas_ioctl() 814 ata_sas_slave_configure(scsi_dev, dev->sata_dev.ap); in sas_slave_configure() 839 return ata_change_queue_depth(dev->sata_dev.ap, sdev, depth); in sas_change_queue_depth()
|
/linux-6.6.21/drivers/scsi/aic94xx/ |
D | aic94xx_dev.c | 114 spin_lock_irqsave(dev->sata_dev.ap->lock, flags); in asd_set_dmamode() 116 spin_unlock_irqrestore(dev->sata_dev.ap->lock, flags); in asd_set_dmamode() 162 struct smp_rps_resp *rps_resp = &dev->sata_dev.rps_resp; in asd_init_target_ddb() 256 flags = (dev->sata_dev.port_no << 4) | PM_PORT_SET; in asd_init_sata_pm_port_ddb() 265 asd_ddbsite_write_word(asd_ha, pmtable_ddb, dev->sata_dev.port_no,ddb); in asd_init_sata_pm_port_ddb()
|
D | aic94xx_task.c | 360 else if (dev->sata_dev.class == ATA_DEV_ATAPI) in asd_build_ata_ascb() 374 if (dev->sata_dev.class == ATA_DEV_ATAPI) in asd_build_ata_ascb() 386 dev->sata_dev.class != ATA_DEV_ATAPI) in asd_build_ata_ascb()
|
/linux-6.6.21/include/scsi/ |
D | libsas.h | 186 struct sata_device sata_dev; /* STP & directly attached */ member 398 return &dev->sata_dev.ap->link.device[0]; in sas_to_ata_dev()
|
/linux-6.6.21/drivers/scsi/hisi_sas/ |
D | hisi_sas_v2_hw.c | 771 int sata_dev = dev_is_sata(device); in slot_index_alloc_quirk_v2_hw() local 777 if (!sata_dev) { in slot_index_alloc_quirk_v2_hw() 810 if (sata_dev ^ (start & 1)) in slot_index_alloc_quirk_v2_hw() 843 int i, sata_dev = dev_is_sata(device); in alloc_dev_quirk_v2_hw() local 848 if (sata_dev) in alloc_dev_quirk_v2_hw() 856 if (sata_dev && (i & 1)) in alloc_dev_quirk_v2_hw()
|
D | hisi_sas_main.c | 1307 struct ata_port *ap = device->sata_dev.ap; in hisi_sas_softreset_ata_disk() 1437 struct ata_port *ap = device->sata_dev.ap; in hisi_sas_send_ata_reset_each_phy() 1793 struct ata_link *link = &device->sata_dev.ap->link; in hisi_sas_debug_I_T_nexus_reset()
|
/linux-6.6.21/drivers/scsi/mvsas/ |
D | mv_sas.c | 465 if (dev->sata_dev.class == ATA_DEV_ATAPI) { in mvs_task_prep_ata() 532 if (dev->sata_dev.class == ATA_DEV_ATAPI) in mvs_task_prep_ata()
|
/linux-6.6.21/drivers/scsi/isci/ |
D | request.c | 692 if (dev->sata_dev.class == ATA_DEV_ATAPI && in sci_io_request_construct_sata() 2975 if (dev->sata_dev.class == ATA_DEV_ATAPI && in sci_request_started_state_enter()
|
/linux-6.6.21/drivers/scsi/pm8001/ |
D | pm80xx_hwi.c | 4470 dev->sata_dev.class != ATA_DEV_ATAPI) { in pm80xx_chip_sata_req()
|
D | pm8001_hwi.c | 4105 dev->sata_dev.class != ATA_DEV_ATAPI) { in pm8001_chip_sata_req()
|