Lines Matching refs:starget
1270 struct scsi_target *starget;
4056 struct scsi_target *starget = tp->starget;
4060 if (spi_support_wide(starget)) {
4068 if (spi_support_sync(starget)) {
4072 dev_info(&starget->dev, "target did not report SYNC.\n");
5448 spi_display_xfer_agreement(tp->starget);
6571 struct scsi_target *starget = tp->starget;
6729 spi_period(starget) = 0;
6730 spi_offset(starget) = 0;
6735 spi_width(starget) = 0;
6760 if (ofs && starget)
6761 spi_support_sync(starget) = 1;
6806 spi_period(starget) = 0;
6807 spi_offset(starget) = 0;
6812 spi_period(starget) = per;
6813 spi_offset(starget) = ofs;
6820 spi_width(starget) = 0;
6831 spi_period(starget) = per;
6832 spi_offset(starget) = ofs;
6870 if (wide && starget)
6871 spi_support_wide(starget) = 1;
6895 spi_width(starget) = 0;
6900 spi_width(starget) = wide;
6907 spi_period(starget) = 0;
6908 spi_offset(starget) = 0;
6919 spi_width(starget) = wide;
7830 tp->starget = device->sdev_target;
8371 static void ncr53c8xx_set_period(struct scsi_target *starget, int period)
8373 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
8375 struct tcb *tp = &np->target[starget->id];
8387 static void ncr53c8xx_set_offset(struct scsi_target *starget, int offset)
8389 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
8391 struct tcb *tp = &np->target[starget->id];
8403 static void ncr53c8xx_set_width(struct scsi_target *starget, int width)
8405 struct Scsi_Host *shost = dev_to_shost(starget->dev.parent);
8407 struct tcb *tp = &np->target[starget->id];