| /linux/drivers/scsi/ |
| H A D | hosts.c | 222 const struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma() local 226 sht->info ? sht->info(shost) : sht->name); in scsi_add_host_with_dma() 234 if (shost->nr_reserved_cmds && !sht->queue_reserved_command) { in scsi_add_host_with_dma() 406 struct Scsi_Host *scsi_host_alloc(const struct scsi_host_template *sht, int privsize) in scsi_host_alloc() argument 450 shost->hostt = sht; in scsi_host_alloc() 451 shost->this_id = sht->this_id; in scsi_host_alloc() 452 shost->can_queue = sht->can_queue; in scsi_host_alloc() 453 shost->nr_reserved_cmds = sht->nr_reserved_cmds; in scsi_host_alloc() 454 shost->sg_tablesize = sht->sg_tablesize; in scsi_host_alloc() 455 shost->sg_prot_tablesize = sht->sg_prot_tablesize; in scsi_host_alloc() [all …]
|
| H A D | scsi_proc.c | 59 const struct scsi_host_template *sht; member 102 __scsi_lookup_proc_entry(const struct scsi_host_template *sht) in __scsi_lookup_proc_entry() argument 109 if (e->sht == sht) in __scsi_lookup_proc_entry() 116 scsi_lookup_proc_entry(const struct scsi_host_template *sht) in scsi_lookup_proc_entry() argument 121 e = __scsi_lookup_proc_entry(sht); in scsi_lookup_proc_entry() 132 scsi_template_proc_dir(const struct scsi_host_template *sht) in scsi_template_proc_dir() argument 134 struct scsi_proc_entry *e = scsi_lookup_proc_entry(sht); in scsi_template_proc_dir() 154 int scsi_proc_hostdir_add(const struct scsi_host_template *sht) in scsi_proc_hostdir_add() argument 159 if (!sht->show_info) in scsi_proc_hostdir_add() 163 e = __scsi_lookup_proc_entry(sht); in scsi_proc_hostdir_add() [all …]
|
| H A D | qlogicfas.c | 149 static int qlogicfas_detect(struct scsi_host_template *sht) in qlogicfas_detect() argument 156 shost = __qlogicfas_detect(sht, iobase[num], irq[num]); in qlogicfas_detect()
|
| H A D | scsi_priv.h | 124 # define scsi_proc_hostdir_add(sht) 0 argument 125 # define scsi_proc_hostdir_rm(sht) do { } while (0) argument
|
| H A D | scsi_sysfs.c | 299 const struct scsi_host_template *sht = shost->hostt; in store_host_reset() local 307 if (sht->host_reset) in store_host_reset() 308 ret = sht->host_reset(shost, type); in store_host_reset() 977 const struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT() local 979 if (!sht->change_queue_depth) in DECLARE_EVT() 987 retval = sht->change_queue_depth(sdev, depth); in DECLARE_EVT()
|
| H A D | scsi_error.c | 758 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up() 764 if (!sht->track_queue_depth || in scsi_handle_queue_ramp_up() 793 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full() 796 if (!sht->track_queue_depth) in scsi_handle_queue_full() 749 const struct scsi_host_template *sht = sdev->host->hostt; scsi_handle_queue_ramp_up() local 784 const struct scsi_host_template *sht = sdev->host->hostt; scsi_handle_queue_full() local
|
| /linux/drivers/usb/storage/ |
| H A D | scsiglue.c | 682 void usb_stor_host_template_init(struct scsi_host_template *sht, in usb_stor_host_template_init() argument 685 *sht = usb_stor_host_template; in usb_stor_host_template_init() 686 sht->name = name; in usb_stor_host_template_init() 687 sht->proc_name = name; in usb_stor_host_template_init() 688 sht->module = owner; in usb_stor_host_template_init()
|
| H A D | scsiglue.h | 29 extern void usb_stor_host_template_init(struct scsi_host_template *sht,
|
| H A D | usb.h | 190 const struct scsi_host_template *sht);
|
| /linux/include/linux/ |
| H A D | ata_platform.h | 22 const struct scsi_host_template *sht,
|
| H A D | ahci_platform.h | 40 const struct scsi_host_template *sht);
|
| H A D | libata.h | 1140 const struct scsi_host_template *sht); 1143 const struct scsi_host_template *sht); 2074 const struct scsi_host_template *sht); 2077 const struct scsi_host_template *sht, void *host_priv, int hflags); 2113 const struct scsi_host_template *sht,
|
| /linux/drivers/ata/ |
| H A D | pata_serverworks.c | 418 const struct scsi_host_template *sht = &serverworks_csb_sht; in serverworks_init_one() local 432 sht = &serverworks_osb4_sht; in serverworks_init_one() 449 return ata_pci_bmdma_init_one(pdev, ppi, sht, NULL, 0); in serverworks_init_one()
|
| H A D | libata-sff.c | 2267 const struct scsi_host_template *sht) in ata_pci_sff_activate_host() argument 2338 rc = ata_host_register(host, sht); in ata_pci_sff_activate_host() 2364 const struct scsi_host_template *sht, void *host_priv, in ata_pci_init_one() argument 2401 rc = ata_pci_sff_activate_host(host, ata_bmdma_interrupt, sht); in ata_pci_init_one() 2404 rc = ata_pci_sff_activate_host(host, ata_sff_interrupt, sht); in ata_pci_init_one() 2438 const struct scsi_host_template *sht, void *host_priv, int hflag) in ata_pci_sff_init_one() argument 2440 return ata_pci_init_one(pdev, ppi, sht, host_priv, hflag, 0); in ata_pci_sff_init_one() 3165 const struct scsi_host_template *sht, void *host_priv, in ata_pci_bmdma_init_one() argument 3168 return ata_pci_init_one(pdev, ppi, sht, host_priv, hflags, 1); in ata_pci_bmdma_init_one()
|
| H A D | libahci_platform.c | 701 const struct scsi_host_template *sht) in ahci_platform_init_host() argument 782 return ahci_host_activate(host, sht); in ahci_platform_init_host()
|
| H A D | ata_piix.c | 1648 const struct scsi_host_template *sht = &piix_sht; in piix_init_one() local 1716 sht = &piix_sidpr_sht; in piix_init_one() 1746 return ata_pci_sff_activate_host(host, ata_bmdma_interrupt, sht); in piix_init_one()
|
| H A D | libata.h | 153 const struct scsi_host_template *sht);
|
| H A D | ahci.h | 449 int ahci_host_activate(struct ata_host *host, const struct scsi_host_template *sht);
|
| /linux/drivers/scsi/pcmcia/ |
| H A D | nsp_cs.h | 293 static struct Scsi_Host *nsp_detect (struct scsi_host_template *sht); 324 static struct Scsi_Host *nsp_detect(struct scsi_host_template *sht);
|
| H A D | nsp_cs.c | 1323 static struct Scsi_Host *nsp_detect(struct scsi_host_template *sht) in nsp_detect() argument 1328 nsp_dbg(NSP_DEBUG_INIT, "this_id=%d", sht->this_id); in nsp_detect() 1358 sht->name = data->nspinfo; in nsp_detect()
|
| /linux/include/scsi/ |
| H A D | scsi_host.h | 800 scsi_template_proc_dir(const struct scsi_host_template *sht); 802 #define scsi_template_proc_dir(sht) NULL argument
|
| H A D | libfc.h | 881 libfc_host_alloc(const struct scsi_host_template *sht, int priv_size) in libfc_host_alloc() argument 886 shost = scsi_host_alloc(sht, sizeof(*lport) + priv_size); in libfc_host_alloc()
|
| H A D | libiscsi.h | 410 extern struct Scsi_Host *iscsi_host_alloc(const struct scsi_host_template *sht,
|
| /linux/drivers/ata/pata_parport/ |
| H A D | pata_parport.h | 77 struct scsi_host_template sht; member
|
| /linux/Documentation/translations/zh_CN/scsi/ |
| H A D | scsi_mid_low_api.rst | 389 * @sht: 指向SCSI主机模板的指针 405 struct Scsi_Host * scsi_host_alloc(const struct scsi_host_template * sht,
|