Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/scsi/
D53c700.h132 return (spi_flags(SDp->sdev_target) & flag) == flag; in NCR_700_is_flag_set()
137 return (spi_flags(SDp->sdev_target) & flag) == 0; in NCR_700_is_flag_clear()
142 spi_flags(SDp->sdev_target) |= flag; in NCR_700_set_flag()
147 spi_flags(SDp->sdev_target) &= ~flag; in NCR_700_clear_flag()
159 return (enum NCR_700_tag_neg_state)((spi_flags(SDp->sdev_target)>>20) & 0x3); in NCR_700_get_tag_neg_state()
167 spi_flags(SDp->sdev_target) &= ~(0x3 << 20); in NCR_700_set_tag_neg_state()
168 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()
1079 spi_dv_pending(sdev->sdev_target) = 0; in spi_dv_device_work_wrapper()
1102 if (unlikely(spi_dv_pending(sdev->sdev_target))) { in spi_schedule_dv_device()
1107 spi_dv_pending(sdev->sdev_target) = 1; in spi_schedule_dv_device()
1110 spi_dv_pending(sdev->sdev_target) = 0; in spi_schedule_dv_device()
[all …]
D53c700.c268 spi_offset(SDp->sdev_target), in NCR_700_get_SXFER()
269 spi_period(SDp->sdev_target)); in NCR_700_get_SXFER()
809 struct scsi_target *starget = SCp->device->sdev_target; in process_extended_message()
904 spi_period(SCp->device->sdev_target) = in process_message()
905 spi_offset(SCp->device->sdev_target) = 0; in process_message()
1450 spi_period(SCp->device->sdev_target), in NCR_700_start_command()
1451 spi_offset(SCp->device->sdev_target)); in NCR_700_start_command()
2051 if (!spi_initial_dv(SDp->sdev_target)) in NCR_700_slave_configure()
2054 spi_offset(SDp->sdev_target) = 0; in NCR_700_slave_configure()
2055 spi_period(SDp->sdev_target) = 0; in NCR_700_slave_configure()
Dscsi_error.c407 sdev->sdev_target->expecting_lun_change = 1; in scsi_report_lun_change()
581 if (scmd->device->sdev_target->expecting_lun_change && in scsi_check_sense()
1921 scmd->device->sdev_target->expecting_lun_change = 0; in scsi_decide_disposition()
Dscsi_scan.c247 sdev->sdev_target = starget; in scsi_alloc_sdev()
734 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.c1354 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_add_sdev()
1623 struct scsi_target *starget = sdev->sdev_target; in scsi_sysfs_device_initialize()
Dncr53c8xx.c5605 dev_info(&cmd->device->sdev_target->dev, "WIDE SCSI %sabled.\n", in ncr_setwide()
7960 tp->starget = device->sdev_target;
8014 if (spi_support_sync(device->sdev_target) &&
8015 !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.c2487 if (!spi_initial_dv(dev->sdev_target)) in esp_slave_configure()
Dipr.c5002 if (sdev->sdev_target) in ipr_ata_slave_alloc()
5003 sata_port = sdev->sdev_target->hostdata; in ipr_ata_slave_alloc()
/kernel/linux/linux-5.10/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.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()
1382 sdev->sdev_target->channel == 0 in ahc_linux_device_queue_depth()
1384 sdev->sdev_target->id, sdev->lun, in ahc_linux_device_queue_depth()
1385 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahc_linux_device_queue_depth()
1802 sdev->sdev_target->id, sdev->lun, in ahc_linux_handle_scsi_status()
1803 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahc_linux_handle_scsi_status()
Daic79xx_osm.c709 if (!spi_initial_dv(sdev->sdev_target)) in ahd_linux_slave_configure()
1521 sdev->sdev_target->id, sdev->lun, in ahd_linux_device_queue_depth()
1522 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahd_linux_device_queue_depth()
1877 sdev->sdev_target->id, sdev->lun, in ahd_linux_handle_scsi_status()
1878 sdev->sdev_target->channel == 0 ? 'A' : 'B', in ahd_linux_handle_scsi_status()
/kernel/linux/linux-5.10/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.c1865 rphy = dev_to_rphy(sdev->sdev_target->dev.parent); in mptsas_slave_alloc()
/kernel/linux/linux-5.10/drivers/scsi/sym53c8xx_2/
Dsym_glue.c744 starget_printk(KERN_INFO, sdev->sdev_target, in sym53c8xx_slave_alloc()
755 starget_printk(KERN_INFO, sdev->sdev_target, in sym53c8xx_slave_alloc()
765 tp->starget = sdev->sdev_target; in sym53c8xx_slave_alloc()
810 if (!spi_initial_dv(sdev->sdev_target)) in sym53c8xx_slave_configure()
/kernel/linux/linux-5.10/drivers/scsi/libsas/
Dsas_scsi_host.c237 if (cmd->device->sdev_target == my_cmd->device->sdev_target && in sas_scsi_clear_queue_lu()
/kernel/linux/linux-5.10/include/scsi/
Dscsi_device.h148 struct scsi_target *sdev_target; /* used only for single_lun */ member
Dlibsas.h411 return starget_to_domain_dev(sdev->sdev_target); in sdev_to_domain_dev()
/kernel/linux/linux-5.10/drivers/staging/rts5208/
Drtsx.c101 sdev->sdev_target->scsi_level = SCSI_2; in slave_configure()
/kernel/linux/linux-5.10/drivers/scsi/mpt3sas/
Dmpt3sas_scsih.c3045 struct scsi_target *starget = scmd->device->sdev_target; in _scsih_tm_display_info()
3209 struct scsi_target *starget = scmd->device->sdev_target; in scsih_dev_reset()
3289 struct scsi_target *starget = scmd->device->sdev_target; in scsih_target_reset()
5139 struct scsi_target *starget = scmd->device->sdev_target; in _scsih_scsi_ioc_info()
/kernel/linux/linux-5.10/drivers/scsi/qla4xxx/
Dql4_os.c9064 cls_sess = starget_to_session(sdev->sdev_target); in qla4xxx_slave_alloc()