Lines Matching defs:starget
1236 struct scsi_target *starget;
4028 struct scsi_target *starget = tp->starget;
4032 if (spi_support_wide(starget)) {
4040 if (spi_support_sync(starget)) {
4044 dev_info(&starget->dev, "target did not report SYNC.\n");
5393 spi_display_xfer_agreement(tp->starget);
6526 struct scsi_target *starget = tp->starget;
6685 spi_period(starget) = 0;
6686 spi_offset(starget) = 0;
6691 spi_width(starget) = 0;
6716 if (ofs && starget)
6717 spi_support_sync(starget) = 1;
6762 spi_period(starget) = 0;
6763 spi_offset(starget) = 0;
6768 spi_period(starget) = per;
6769 spi_offset(starget) = ofs;
6776 spi_width(starget) = 0;
6787 spi_period(starget) = per;
6788 spi_offset(starget) = ofs;
6826 if (wide && starget)
6827 spi_support_wide(starget) = 1;
6851 spi_width(starget) = 0;
6856 spi_width(starget) = wide;
6863 spi_period(starget) = 0;
6864 spi_offset(starget) = 0;
6875 spi_width(starget) = wide;
7794 tp->starget = device->sdev_target;
8323 static void ncr53c8xx_set_period(struct scsi_target *starget, int period)
8325 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
8327 struct tcb *tp = &np->target[starget->id];
8339 static void ncr53c8xx_set_offset(struct scsi_target *starget, int offset)
8341 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
8343 struct tcb *tp = &np->target[starget->id];
8355 static void ncr53c8xx_set_width(struct scsi_target *starget, int width)
8357 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
8359 struct tcb *tp = &np->target[starget->id];