Lines Matching refs:starget
510 struct scsi_target *target = tp->starget;
517 struct scsi_target *target = tp->starget;
738 if (spi_width(tp->starget) == tp->nego_goal_width &&
739 spi_period(tp->starget) == tp->nego_goal_period &&
740 spi_offset(tp->starget) == tp->nego_goal_offset) {
1164 dev = __scsi_device_lookup_by_target(tp->starget, lun);
1366 spi_period(tp->starget) = scsi_period;
1367 spi_offset(tp->starget) = scsi_offset;
1368 spi_width(tp->starget) = (tp->flags & ESP_TGT_WIDE) ? 1 : 0;
1398 spi_display_xfer_agreement(tp->starget);
1521 spi_period(tp->starget) = 0;
1522 spi_offset(tp->starget) = 0;
2034 if (tp->starget)
2035 __starget_for_each_device(tp->starget, NULL,
2361 static int esp_target_alloc(struct scsi_target *starget)
2363 struct esp *esp = shost_priv(dev_to_shost(&starget->dev));
2364 struct esp_target_data *tp = &esp->target[starget->id];
2366 tp->starget = starget;
2371 static void esp_target_destroy(struct scsi_target *starget)
2373 struct esp *esp = shost_priv(dev_to_shost(&starget->dev));
2374 struct esp_target_data *tp = &esp->target[starget->id];
2376 tp->starget = NULL;
2390 spi_min_period(tp->starget) = esp->min_period;
2391 spi_max_offset(tp->starget) = 15;
2394 spi_max_width(tp->starget) = 1;
2396 spi_max_width(tp->starget) = 0;