Lines Matching refs:scsi_host
622 struct Scsi_Host *scsi_host; in sbp2scsi_detect() local
628 if (!(scsi_host = scsi_register(tpnt, 0))) in sbp2scsi_detect()
631 scsi_set_pci_device(scsi_host, host->pdev); in sbp2scsi_detect()
765 for (hi->scsi_host = scsi_hostlist; hi->scsi_host; hi->scsi_host = hi->scsi_host->next) in sbp2_add_host()
766 if (hi->scsi_host->hostt == &hi->sht) in sbp2_add_host()
769 if (!hi->scsi_host) { in sbp2_add_host()
776 hi->scsi_host->max_id = SBP2SCSI_MAX_SCSI_IDS; in sbp2_add_host()
950 for (i = 0; i < hi->scsi_host->max_id; i++) { in sbp2_start_device()
971 if (i == hi->scsi_host->max_id) { in sbp2_start_device()
1012 if (scsi_add_single_device(hi->scsi_host, 0, scsi_id->id, 0)) in sbp2_start_device()
1435 if (scsi_remove_single_device(hi->scsi_host, 0, scsi_id->id, 0)) in sbp2_logout_device()
2908 struct Scsi_Host *scsi_host; in sbp2scsi_proc_info() local
2916 for (scsi_host = scsi_hostlist; scsi_host; scsi_host = scsi_host->next) in sbp2scsi_proc_info()
2917 if (scsi_host->host_no == hostno) in sbp2scsi_proc_info()
2920 if (!scsi_host) /* if we couldn't find it, we return an error */ in sbp2scsi_proc_info()
2923 host = hpsb_get_host_bykey(&sbp2_highlevel, (unsigned long)scsi_host->hostt); in sbp2scsi_proc_info()
2936 SPRINTF("\nAttached devices : %s\n", scsi_host->host_queue ? "" : "none"); in sbp2scsi_proc_info()
2938 for (scd = scsi_host->host_queue; scd; scd = scd->next) { in sbp2scsi_proc_info()