scsi_host.h (6f23fc47c1b2ac226704fb7294f43ed3b0965e51) scsi_host.h (ff48b37802e5c134e2dfc4d091f10b2eb5065a72)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _SCSI_SCSI_HOST_H
3#define _SCSI_SCSI_HOST_H
4
5#include <linux/device.h>
6#include <linux/list.h>
7#include <linux/types.h>
8#include <linux/workqueue.h>

--- 750 unchanged lines hidden (view full) ---

759 struct device *);
760#if defined(CONFIG_SCSI_PROC_FS)
761struct proc_dir_entry *
762scsi_template_proc_dir(const struct scsi_host_template *sht);
763#else
764#define scsi_template_proc_dir(sht) NULL
765#endif
766extern void scsi_scan_host(struct Scsi_Host *);
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _SCSI_SCSI_HOST_H
3#define _SCSI_SCSI_HOST_H
4
5#include <linux/device.h>
6#include <linux/list.h>
7#include <linux/types.h>
8#include <linux/workqueue.h>

--- 750 unchanged lines hidden (view full) ---

759 struct device *);
760#if defined(CONFIG_SCSI_PROC_FS)
761struct proc_dir_entry *
762scsi_template_proc_dir(const struct scsi_host_template *sht);
763#else
764#define scsi_template_proc_dir(sht) NULL
765#endif
766extern void scsi_scan_host(struct Scsi_Host *);
767extern void scsi_rescan_device(struct scsi_device *);
767extern int scsi_rescan_device(struct scsi_device *sdev);
768extern void scsi_remove_host(struct Scsi_Host *);
769extern struct Scsi_Host *scsi_host_get(struct Scsi_Host *);
770extern int scsi_host_busy(struct Scsi_Host *shost);
771extern void scsi_host_put(struct Scsi_Host *t);
772extern struct Scsi_Host *scsi_host_lookup(unsigned int hostnum);
773extern const char *scsi_host_state_name(enum scsi_host_state);
774extern void scsi_host_complete_all_commands(struct Scsi_Host *shost,
775 enum scsi_host_status status);

--- 126 unchanged lines hidden ---
768extern void scsi_remove_host(struct Scsi_Host *);
769extern struct Scsi_Host *scsi_host_get(struct Scsi_Host *);
770extern int scsi_host_busy(struct Scsi_Host *shost);
771extern void scsi_host_put(struct Scsi_Host *t);
772extern struct Scsi_Host *scsi_host_lookup(unsigned int hostnum);
773extern const char *scsi_host_state_name(enum scsi_host_state);
774extern void scsi_host_complete_all_commands(struct Scsi_Host *shost,
775 enum scsi_host_status status);

--- 126 unchanged lines hidden ---