Home
last modified time | relevance | path

Searched refs:sata_dev (Results 1 – 12 of 12) sorted by relevance

/linux/drivers/scsi/libsas/
H A Dsas_ata.c269 &dev->sata_dev.rps_resp); in sas_get_ata_info()
378 struct ata_port *ap = ddev->sata_dev.ap; in sas_ata_printk()
399 struct sata_device *sata_dev = &dev->sata_dev; in sas_ata_wait_after_reset() local
401 struct ata_port *ap = sata_dev->ap; in sas_ata_wait_after_reset()
437 *class = dev->sata_dev.class; in sas_ata_hard_reset()
613 found_dev->sata_dev.ap = ap; in sas_ata_init()
652 ata_port_probe(dev->sata_dev.ap); in sas_probe_sata()
760 sata = &dev->sata_dev; in sas_suspend_sata()
782 sata = &dev->sata_dev; in sas_resume_sata()
917 ap = dev->sata_dev.ap; in sas_ata_schedule_reset()
[all …]
H A Dsas_discover.c302 if (dev_is_sata(dev) && dev->sata_dev.ap) { in sas_free_device()
303 ata_tport_delete(dev->sata_dev.ap); in sas_free_device()
304 ata_port_free(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()
H A Dsas_scsi_host.c174 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()
815 ata_sas_device_configure(scsi_dev, lim, dev->sata_dev.ap); in sas_device_configure()
840 return ata_change_queue_depth(dev->sata_dev.ap, sdev, depth); in sas_change_queue_depth()
/linux/drivers/scsi/aic94xx/
H A Daic94xx_dev.c114 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()
H A Daic94xx_task.c360 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/include/scsi/
H A Dlibsas.h186 struct sata_device sata_dev; /* STP & directly attached */ member
398 return &dev->sata_dev.ap->link.device[0]; in sas_to_ata_dev()
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_v2_hw.c771 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()
H A Dhisi_sas_main.c1308 struct ata_port *ap = device->sata_dev.ap; in hisi_sas_softreset_ata_disk()
1438 struct ata_port *ap = device->sata_dev.ap; in hisi_sas_send_ata_reset_each_phy()
1799 struct ata_link *link = &device->sata_dev.ap->link; in hisi_sas_debug_I_T_nexus_reset()
/linux/drivers/scsi/mvsas/
H A Dmv_sas.c465 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/drivers/scsi/isci/
H A Drequest.c692 if (dev->sata_dev.class == ATA_DEV_ATAPI && in sci_io_request_construct_sata()
2972 if (dev->sata_dev.class == ATA_DEV_ATAPI && in sci_request_started_state_enter()
/linux/drivers/scsi/pm8001/
H A Dpm8001_hwi.c4049 dev->sata_dev.class != ATA_DEV_ATAPI) { in pm8001_chip_sata_req()
H A Dpm80xx_hwi.c4450 dev->sata_dev.class != ATA_DEV_ATAPI) { in pm80xx_chip_sata_req()