/linux/drivers/scsi/ |
H A D | 53c700.h | 131 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()
|
H A D | scsi_transport_spi.c | 215 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 …]
|
H A D | 53c700.c | 267 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()
|
H A D | scsi_error.c | 449 sdev->sdev_target->expecting_lun_change = 1; in scsi_report_lun_change() 649 if (scmd->device->sdev_target->expecting_lun_change && in scsi_check_sense() 2007 scmd->device->sdev_target->expecting_lun_change = 0; in scsi_decide_disposition()
|
H A D | scsi_scan.c | 313 sdev->sdev_target = starget; in scsi_alloc_sdev() 843 sdev->sdev_target->scsi_level = sdev->scsi_level; in scsi_probe_lun()
|
H A D | scsi_sysfs.c | 1407 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_add_sdev() 1651 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_device_initialize()
|
H A D | ses.c | 681 if (scsi_is_sas_rphy(sdev->sdev_target->dev.parent)) in ses_match_to_enclosure()
|
H A D | ncr53c8xx.c | 5439 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))
|
H A D | esp_scsi.c | 2476 if (!spi_initial_dv(dev->sdev_target)) in esp_slave_configure()
|
/linux/drivers/scsi/aic7xxx/ |
H A D | aic79xx_proc.c | 197 sdev->sdev_target->channel + 'A', in ahd_dump_device_state() 198 sdev->sdev_target->id, (u8)sdev->lun); in ahd_dump_device_state()
|
H A D | aic7xxx_proc.c | 177 sdev->sdev_target->channel + 'A', in ahc_dump_device_state() 178 sdev->sdev_target->id, (u8)sdev->lun); in ahc_dump_device_state()
|
H A D | aic7xxx_osm.c | 639 struct scsi_target *starget = sdev->sdev_target; in ahc_linux_slave_alloc() 675 if (!spi_initial_dv(sdev->sdev_target)) in ahc_linux_slave_configure() 1389 sdev->sdev_target->channel == 0 in ahc_linux_device_queue_depth() 1391 sdev->sdev_target->id, sdev->lun, in ahc_linux_device_queue_depth() 1392 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahc_linux_device_queue_depth() 1809 sdev->sdev_target->id, sdev->lun, in ahc_linux_handle_scsi_status() 1810 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahc_linux_handle_scsi_status()
|
H A D | aic79xx_osm.c | 712 if (!spi_initial_dv(sdev->sdev_target)) in ahd_linux_slave_configure() 1520 sdev->sdev_target->id, sdev->lun, in ahd_linux_device_queue_depth() 1521 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahd_linux_device_queue_depth() 1885 sdev->sdev_target->id, sdev->lun, in ahd_linux_handle_scsi_status() 1886 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahd_linux_handle_scsi_status()
|
/linux/drivers/message/fusion/ |
H A D | mptspi.c | 711 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()
|
H A D | mptsas.c | 1893 rphy = dev_to_rphy(sdev->sdev_target->dev.parent); in mptsas_slave_alloc()
|
/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_glue.c | 792 starget_printk(KERN_INFO, sdev->sdev_target, in sym53c8xx_slave_alloc() 803 starget_printk(KERN_INFO, sdev->sdev_target, in sym53c8xx_slave_alloc() 813 tp->starget = sdev->sdev_target; in sym53c8xx_slave_alloc() 858 if (!spi_initial_dv(sdev->sdev_target)) in sym53c8xx_slave_configure()
|
/linux/include/scsi/ |
H A D | scsi_device.h | 154 struct scsi_target *sdev_target; member
|
H A D | libsas.h | 393 return starget_to_domain_dev(sdev->sdev_target); in sdev_to_domain_dev()
|
/linux/drivers/scsi/libsas/ |
H A D | sas_scsi_host.c | 235 if (cmd->device->sdev_target == my_cmd->device->sdev_target && in sas_scsi_clear_queue_lu()
|
/linux/drivers/staging/rts5208/ |
H A D | rtsx.c | 89 sdev->sdev_target->scsi_level = SCSI_2; in slave_configure()
|
/linux/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_scsih.c | 3206 struct scsi_target *starget = scmd->device->sdev_target; in _scsih_tm_display_info() 3370 struct scsi_target *starget = scmd->device->sdev_target; in scsih_dev_reset() 3450 struct scsi_target *starget = scmd->device->sdev_target; in scsih_target_reset() 5326 struct scsi_target *starget = scmd->device->sdev_target; in _scsih_scsi_ioc_info()
|
/linux/drivers/scsi/qla4xxx/ |
H A D | ql4_os.c | 9062 cls_sess = starget_to_session(sdev->sdev_target); in qla4xxx_slave_alloc()
|