Lines Matching refs:starget

554 	struct scsi_target *target = tp->starget;  in esp_need_to_nego_wide()
561 struct scsi_target *target = tp->starget; in esp_need_to_nego_sync()
791 if (spi_width(tp->starget) == tp->nego_goal_width && in esp_maybe_execute_command()
792 spi_period(tp->starget) == tp->nego_goal_period && in esp_maybe_execute_command()
793 spi_offset(tp->starget) == tp->nego_goal_offset) { in esp_maybe_execute_command()
1194 dev = __scsi_device_lookup_by_target(tp->starget, lun); in esp_reconnect()
1414 spi_period(tp->starget) = scsi_period; in esp_setsync()
1415 spi_offset(tp->starget) = scsi_offset; in esp_setsync()
1416 spi_width(tp->starget) = (tp->flags & ESP_TGT_WIDE) ? 1 : 0; in esp_setsync()
1446 spi_display_xfer_agreement(tp->starget); in esp_setsync()
1568 spi_period(tp->starget) = 0; in esp_msgin_wdtr()
1569 spi_offset(tp->starget) = 0; in esp_msgin_wdtr()
2086 if (tp->starget) in esp_reset_cleanup()
2087 __starget_for_each_device(tp->starget, NULL, in esp_reset_cleanup()
2426 static int esp_target_alloc(struct scsi_target *starget) in esp_target_alloc() argument
2428 struct esp *esp = shost_priv(dev_to_shost(&starget->dev)); in esp_target_alloc()
2429 struct esp_target_data *tp = &esp->target[starget->id]; in esp_target_alloc()
2431 tp->starget = starget; in esp_target_alloc()
2436 static void esp_target_destroy(struct scsi_target *starget) in esp_target_destroy() argument
2438 struct esp *esp = shost_priv(dev_to_shost(&starget->dev)); in esp_target_destroy()
2439 struct esp_target_data *tp = &esp->target[starget->id]; in esp_target_destroy()
2441 tp->starget = NULL; in esp_target_destroy()
2455 spi_min_period(tp->starget) = esp->min_period; in esp_slave_alloc()
2456 spi_max_offset(tp->starget) = 15; in esp_slave_alloc()
2459 spi_max_width(tp->starget) = 1; in esp_slave_alloc()
2461 spi_max_width(tp->starget) = 0; in esp_slave_alloc()