Home
last modified time | relevance | path

Searched refs:sdev_target (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/drivers/scsi/
D53c700.h131 return (spi_flags(SDp->sdev_target) & flag) == flag; in NCR_700_is_flag_set()
136 return (spi_flags(SDp->sdev_target) & flag) == 0; in NCR_700_is_flag_clear()
141 spi_flags(SDp->sdev_target) |= flag; in NCR_700_set_flag()
146 spi_flags(SDp->sdev_target) &= ~flag; in NCR_700_clear_flag()
158 return (enum NCR_700_tag_neg_state)((spi_flags(SDp->sdev_target)>>20) & 0x3); in NCR_700_get_tag_neg_state()
166 spi_flags(SDp->sdev_target) &= ~(0x3 << 20); in NCR_700_set_tag_neg_state()
167 spi_flags(SDp->sdev_target) |= ((__u32)state) << 20; in NCR_700_set_tag_neg_state()
Dscsi_transport_spi.c215 struct scsi_target *starget = sdev->sdev_target; in spi_device_configure()
615 i->f->set_##x(sdev->sdev_target, y)
754 struct scsi_target *starget = sdev->sdev_target; in spi_dv_retrain()
773 i->f->get_period(sdev->sdev_target); in spi_dv_retrain()
857 struct scsi_target *starget = sdev->sdev_target; in spi_dv_device_internal()
1000 struct scsi_target *starget = sdev->sdev_target; in spi_dv_device()
1080 spi_dv_pending(sdev->sdev_target) = 0; in spi_dv_device_work_wrapper()
1103 if (unlikely(spi_dv_pending(sdev->sdev_target))) { in spi_schedule_dv_device()
1108 spi_dv_pending(sdev->sdev_target) = 1; in spi_schedule_dv_device()
1111 spi_dv_pending(sdev->sdev_target) = 0; in spi_schedule_dv_device()
[all …]
D53c700.c267 spi_offset(SDp->sdev_target), in NCR_700_get_SXFER()
268 spi_period(SDp->sdev_target)); in NCR_700_get_SXFER()
808 struct scsi_target *starget = SCp->device->sdev_target; in process_extended_message()
903 spi_period(SCp->device->sdev_target) = in process_message()
904 spi_offset(SCp->device->sdev_target) = 0; in process_message()
1449 spi_period(SCp->device->sdev_target), in NCR_700_start_command()
1450 spi_offset(SCp->device->sdev_target)); in NCR_700_start_command()
2045 if (!spi_initial_dv(SDp->sdev_target)) in NCR_700_slave_configure()
2048 spi_offset(SDp->sdev_target) = 0; in NCR_700_slave_configure()
2049 spi_period(SDp->sdev_target) = 0; in NCR_700_slave_configure()
Dscsi_error.c436 sdev->sdev_target->expecting_lun_change = 1; in scsi_report_lun_change()
619 if (scmd->device->sdev_target->expecting_lun_change && in scsi_check_sense()
1956 scmd->device->sdev_target->expecting_lun_change = 0; in scsi_decide_disposition()
Dscsi_scan.c312 sdev->sdev_target = starget; in scsi_alloc_sdev()
828 sdev->sdev_target->scsi_level = sdev->scsi_level; in scsi_probe_lun()
Dses.c627 if (scsi_is_sas_rphy(sdev->sdev_target->dev.parent)) in ses_match_to_enclosure()
Dscsi_sysfs.c1383 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_add_sdev()
1626 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_device_initialize()
Dncr53c8xx.c5439 dev_info(&cmd->device->sdev_target->dev, "WIDE SCSI %sabled.\n", in ncr_setwide()
7794 tp->starget = device->sdev_target;
7848 if (spi_support_sync(device->sdev_target) &&
7849 !spi_initial_dv(device->sdev_target))
Dscsi_transport_sas.c163 struct sas_rphy *rphy = target_to_rphy(sdev->sdev_target); in sas_bitfield_name_search()
Desp_scsi.c2476 if (!spi_initial_dv(dev->sdev_target)) in esp_slave_configure()
Dipr.c5006 if (sdev->sdev_target) in ipr_ata_slave_alloc()
5007 sata_port = sdev->sdev_target->hostdata; in ipr_ata_slave_alloc()
/linux-6.1.9/drivers/scsi/aic7xxx/
Daic79xx_proc.c197 sdev->sdev_target->channel + 'A', in ahd_dump_device_state()
198 sdev->sdev_target->id, (u8)sdev->lun); in ahd_dump_device_state()
Daic7xxx_proc.c177 sdev->sdev_target->channel + 'A', in ahc_dump_device_state()
178 sdev->sdev_target->id, (u8)sdev->lun); in ahc_dump_device_state()
Daic7xxx_osm.c638 struct scsi_target *starget = sdev->sdev_target; in ahc_linux_slave_alloc()
674 if (!spi_initial_dv(sdev->sdev_target)) in ahc_linux_slave_configure()
1381 sdev->sdev_target->channel == 0 in ahc_linux_device_queue_depth()
1383 sdev->sdev_target->id, sdev->lun, in ahc_linux_device_queue_depth()
1384 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahc_linux_device_queue_depth()
1801 sdev->sdev_target->id, sdev->lun, in ahc_linux_handle_scsi_status()
1802 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahc_linux_handle_scsi_status()
Daic79xx_osm.c707 if (!spi_initial_dv(sdev->sdev_target)) in ahd_linux_slave_configure()
1515 sdev->sdev_target->id, sdev->lun, in ahd_linux_device_queue_depth()
1516 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahd_linux_device_queue_depth()
1871 sdev->sdev_target->id, sdev->lun, in ahd_linux_handle_scsi_status()
1872 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahd_linux_handle_scsi_status()
/linux-6.1.9/drivers/message/fusion/
Dmptspi.c711 mptspi_read_parameters(sdev->sdev_target); in mptspi_dv_device()
712 spi_display_xfer_agreement(sdev->sdev_target); in mptspi_dv_device()
713 mptspi_read_parameters(sdev->sdev_target); in mptspi_dv_device()
770 !spi_initial_dv(sdev->sdev_target)) in mptspi_slave_configure()
Dmptsas.c1893 rphy = dev_to_rphy(sdev->sdev_target->dev.parent); in mptsas_slave_alloc()
/linux-6.1.9/drivers/scsi/sym53c8xx_2/
Dsym_glue.c739 starget_printk(KERN_INFO, sdev->sdev_target, in sym53c8xx_slave_alloc()
750 starget_printk(KERN_INFO, sdev->sdev_target, in sym53c8xx_slave_alloc()
760 tp->starget = sdev->sdev_target; in sym53c8xx_slave_alloc()
805 if (!spi_initial_dv(sdev->sdev_target)) in sym53c8xx_slave_configure()
/linux-6.1.9/include/scsi/
Dscsi_device.h156 struct scsi_target *sdev_target; member
Dlibsas.h412 return starget_to_domain_dev(sdev->sdev_target); in sdev_to_domain_dev()
/linux-6.1.9/drivers/scsi/libsas/
Dsas_scsi_host.c236 if (cmd->device->sdev_target == my_cmd->device->sdev_target && in sas_scsi_clear_queue_lu()
/linux-6.1.9/drivers/staging/rts5208/
Drtsx.c101 sdev->sdev_target->scsi_level = SCSI_2; in slave_configure()
/linux-6.1.9/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c3216 struct scsi_target *starget = scmd->device->sdev_target; in _scsih_tm_display_info()
3380 struct scsi_target *starget = scmd->device->sdev_target; in scsih_dev_reset()
3460 struct scsi_target *starget = scmd->device->sdev_target; in scsih_target_reset()
5336 struct scsi_target *starget = scmd->device->sdev_target; in _scsih_scsi_ioc_info()
/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_os.c9051 cls_sess = starget_to_session(sdev->sdev_target); in qla4xxx_slave_alloc()