Searched refs:sata_dev (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/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[3] = 0x04; /* status err */ in sas_ata_task_done() 143 dev->sata_dev.fis[2] = ATA_ERR; in sas_ata_task_done() 233 ata_tf_from_fis(dev->sata_dev.fis, &qc->result_tf); in sas_ata_qc_fill_rtf() 258 &dev->sata_dev.rps_resp); in sas_get_ata_info() 265 memcpy(dev->frame_rcvd, &dev->sata_dev.rps_resp.rps.fis, in sas_get_ata_info() 267 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 ata_sas_port_destroy(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 | 175 spin_lock_irq(dev->sata_dev.ap->lock); in sas_queuecommand() 176 res = ata_sas_queuecmd(cmd, dev->sata_dev.ap); in sas_queuecommand() 177 spin_unlock_irq(dev->sata_dev.ap->lock); in sas_queuecommand() 396 ata_port_wait_eh(dev->sata_dev.ap); in sas_wait_eh() 792 return ata_sas_scsi_ioctl(dev->sata_dev.ap, sdev, cmd, arg); in sas_ioctl() 850 ata_sas_slave_configure(scsi_dev, dev->sata_dev.ap); in sas_slave_configure() 875 return ata_change_queue_depth(dev->sata_dev.ap, in sas_change_queue_depth()
|
/linux-6.1.9/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 | 357 else if (dev->sata_dev.class == ATA_DEV_ATAPI) in asd_build_ata_ascb() 371 if (dev->sata_dev.class == ATA_DEV_ATAPI) in asd_build_ata_ascb() 383 dev->sata_dev.class != ATA_DEV_ATAPI) in asd_build_ata_ascb()
|
/linux-6.1.9/include/scsi/ |
D | libsas.h | 196 struct sata_device sata_dev; /* STP & directly attached */ member 417 return &dev->sata_dev.ap->link.device[0]; in sas_to_ata_dev()
|
/linux-6.1.9/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 | 1265 struct ata_port *ap = device->sata_dev.ap; in hisi_sas_softreset_ata_disk() 1402 struct ata_port *ap = device->sata_dev.ap; in hisi_sas_send_ata_reset_each_phy()
|
/linux-6.1.9/drivers/scsi/mvsas/ |
D | mv_sas.c | 469 if (dev->sata_dev.class == ATA_DEV_ATAPI) { in mvs_task_prep_ata() 536 if (dev->sata_dev.class == ATA_DEV_ATAPI) in mvs_task_prep_ata()
|
/linux-6.1.9/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.1.9/drivers/scsi/pm8001/ |
D | pm8001_hwi.c | 4208 dev->sata_dev.class != ATA_DEV_ATAPI) { in pm8001_chip_sata_req()
|
D | pm80xx_hwi.c | 4564 dev->sata_dev.class != ATA_DEV_ATAPI) { in pm80xx_chip_sata_req()
|