Lines Matching defs:host
62 static const char* host_info(struct Scsi_Host *host)
64 struct us_data *us = host_to_us(host);
70 struct us_data *us = host_to_us(sdev->host);
80 * Some host controllers may have alignment requirements.
94 struct us_data *us = host_to_us(sdev->host);
134 * Some USB host controllers can't do DMA; they have to use PIO.
365 /* This is always called with scsi_lock(host) held */
369 struct us_data *us = host_to_us(srb->device->host);
414 * bits are protected by the host lock.
435 * with the reset). Note that we must retain the host lock while
453 struct us_data *us = host_to_us(srb->device->host);
465 struct us_data *us = host_to_us(srb->device->host);
484 struct us_data *us = host_to_us(srb->device->host);
496 * The caller must own the SCSI host lock.
501 struct Scsi_Host *host = us_to_host(us);
503 scsi_report_device_reset(host, 0, 0);
505 for (i = 1; i < host->max_id; ++i)
506 scsi_report_device_reset(host, 0, i);
513 * The caller must not own the SCSI host lock.
517 struct Scsi_Host *host = us_to_host(us);
519 scsi_lock(host);
520 scsi_report_bus_reset(host, 0);
521 scsi_unlock(host);
528 static int write_info(struct Scsi_Host *host, char *buffer, int length)
534 static int show_info (struct seq_file *m, struct Scsi_Host *host)
536 struct us_data *us = host_to_us(host);
540 seq_printf(m, " Host scsi%d: usb-storage\n", host->host_no);
611 * this defines our host template, with which we'll allocate hosts