Searched refs:scsi_autopm_get_host (Results 1 – 5 of 5) sorted by relevance
168 extern int scsi_autopm_get_host(struct Scsi_Host *);173 static inline int scsi_autopm_get_host(struct Scsi_Host *h) { return 0; } in scsi_autopm_get_host() function
1479 if (scsi_host_scan_allowed(shost) && scsi_autopm_get_host(shost) == 0) { in __scsi_add_device()1618 if (scsi_host_scan_allowed(shost) && scsi_autopm_get_host(shost) == 0) { in scsi_scan_target()1675 if (scsi_host_scan_allowed(shost) && scsi_autopm_get_host(shost) == 0) { in scsi_scan_host_selected()1842 if (scsi_autopm_get_host(shost) < 0) in scsi_scan_host()
327 int scsi_autopm_get_host(struct Scsi_Host *shost) in scsi_autopm_get_host() function
177 scsi_autopm_get_host(shost); in scsi_remove_host()
2214 if (!shost->eh_noresume && scsi_autopm_get_host(shost) != 0) { in scsi_error_handler()2343 if (scsi_autopm_get_host(shost) < 0) in scsi_ioctl_reset()