Home
last modified time | relevance | path

Searched refs:sht (Results 1 – 25 of 30) sorted by relevance

12

/linux/drivers/scsi/
H A Dscsi_proc.c59 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 Dqlogicfas.c149 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 Dscsi_error.c758 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up() local
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() local
796 if (!sht->track_queue_depth) in scsi_handle_queue_full()
/linux/drivers/ata/
H A Dpata_serverworks.c418 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 Dlibata-sff.c2267 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 Dlibahci_platform.c701 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 Data_piix.c1648 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 Dlibahci.c2703 const struct scsi_host_template *sht) in ahci_host_activate_multi_irqs() argument
2733 return ata_host_register(host, sht); in ahci_host_activate_multi_irqs()
2747 int ahci_host_activate(struct ata_host *host, const struct scsi_host_template *sht) in ahci_host_activate() argument
2764 rc = ahci_host_activate_multi_irqs(host, sht); in ahci_host_activate()
2767 IRQF_SHARED, sht); in ahci_host_activate()
H A Dahci.h449 int ahci_host_activate(struct ata_host *host, const struct scsi_host_template *sht);
H A Dlibata-core.c6089 int ata_host_register(struct ata_host *host, const struct scsi_host_template *sht) in ata_host_register() argument
6093 host->n_tags = clamp(sht->can_queue, 1, ATA_MAX_QUEUE); in ata_host_register()
6110 rc = ata_scsi_add_hosts(host, sht); in ata_host_register()
6184 const struct scsi_host_template *sht) in ata_host_activate() argument
6196 return ata_host_register(host, sht); in ata_host_activate()
6213 rc = ata_host_register(host, sht); in ata_host_activate()
H A Dsata_nv.c525 const struct scsi_host_template *sht; member
529 &(struct nv_pi_priv){ .irq_handler = _irq_handler, .sht = _sht }
2388 return ata_pci_sff_activate_host(host, ipriv->irq_handler, ipriv->sht); in nv_init_one()
/linux/drivers/usb/storage/
H A Dscsiglue.h29 extern void usb_stor_host_template_init(struct scsi_host_template *sht,
H A Dusb.h190 const struct scsi_host_template *sht);
H A Dusb.c1022 const struct scsi_host_template *sht) in usb_stor_probe1() argument
1034 host = scsi_host_alloc(sht, sizeof(*us)); in usb_stor_probe1()
/linux/include/linux/
H A Data_platform.h22 const struct scsi_host_template *sht,
H A Dahci_platform.h40 const struct scsi_host_template *sht);
/linux/include/scsi/
H A Dscsi_host.h804 scsi_template_proc_dir(const struct scsi_host_template *sht);
806 #define scsi_template_proc_dir(sht) NULL
802 scsi_template_proc_dir(sht) global() argument
H A Dlibfc.h875 * @sht: The SCSI host template
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 Dlibiscsi.h411 extern struct Scsi_Host *iscsi_host_alloc(const struct scsi_host_template *sht,
/linux/drivers/scsi/bfa/
H A Dbfad_im.c731 struct scsi_host_template *sht; in bfad_scsi_host_alloc() local
734 sht = &bfad_im_scsi_host_template; in bfad_scsi_host_alloc()
736 sht = &bfad_im_vport_template; in bfad_scsi_host_alloc()
739 sht->max_sectors = max_xfer_size << 1; in bfad_scsi_host_alloc()
741 sht->sg_tablesize = bfad->cfg_data.io_max_sge; in bfad_scsi_host_alloc()
743 return scsi_host_alloc(sht, sizeof(struct bfad_im_port_pointer)); in bfad_scsi_host_alloc()
/linux/drivers/ata/pata_parport/
H A Dpata_parport.h77 struct scsi_host_template sht; member
/linux/Documentation/translations/zh_CN/scsi/
H A Dscsi_mid_low_api.rst389 * @sht: 指向SCSI主机模板的指针
405 struct Scsi_Host * scsi_host_alloc(const struct scsi_host_template * sht,
/linux/drivers/scsi/pcmcia/
H A Dnsp_cs.c1323 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/drivers/scsi/hisi_sas/
H A Dhisi_sas.h359 const struct scsi_host_template *sht; member
/linux/drivers/scsi/qla2xxx/
H A Dqla_mid.c499 const struct scsi_host_template *sht = &qla2xxx_driver_template; in qla24xx_create_vhost() local
502 vha = qla2x00_create_host(sht, ha); in qla24xx_create_vhost()

12