Home
last modified time | relevance | path

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

/linux/drivers/scsi/
H A 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()
H A 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 …]
H A 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()
H A Dscsi_error.c449 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 Dscsi_scan.c313 sdev->sdev_target = starget; in scsi_alloc_sdev()
843 sdev->sdev_target->scsi_level = sdev->scsi_level; in scsi_probe_lun()
H A Dscsi_sysfs.c1407 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 Dses.c681 if (scsi_is_sas_rphy(sdev->sdev_target->dev.parent)) in ses_match_to_enclosure()
H A 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))
H A Desp_scsi.c2476 if (!spi_initial_dv(dev->sdev_target)) in esp_slave_configure()
/linux/drivers/scsi/aic7xxx/
H A 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()
H A 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()
H A Daic7xxx_osm.c639 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 Daic79xx_osm.c712 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 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()
H A Dmptsas.c1893 rphy = dev_to_rphy(sdev->sdev_target->dev.parent); in mptsas_slave_alloc()
/linux/drivers/scsi/sym53c8xx_2/
H A Dsym_glue.c792 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 Dscsi_device.h154 struct scsi_target *sdev_target; member
H A Dlibsas.h393 return starget_to_domain_dev(sdev->sdev_target); in sdev_to_domain_dev()
/linux/drivers/scsi/libsas/
H A Dsas_scsi_host.c235 if (cmd->device->sdev_target == my_cmd->device->sdev_target && in sas_scsi_clear_queue_lu()
/linux/drivers/staging/rts5208/
H A Drtsx.c89 sdev->sdev_target->scsi_level = SCSI_2; in slave_configure()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_scsih.c3206 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 Dql4_os.c9062 cls_sess = starget_to_session(sdev->sdev_target); in qla4xxx_slave_alloc()