| /linux/drivers/scsi/ |
| H A D | hosts.c | 223 const struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma() local 227 sht->info ? sht->info(shost) : sht->name); in scsi_add_host_with_dma() 235 if (shost->nr_reserved_cmds && !sht->queue_reserved_command) { in scsi_add_host_with_dma() 408 struct Scsi_Host *scsi_host_alloc(const struct scsi_host_template *sht, int privsize) in scsi_host_alloc() argument 453 shost->hostt = sht; in scsi_host_alloc() 454 shost->this_id = sht->this_id; in scsi_host_alloc() 455 shost->can_queue = sht->can_queue; in scsi_host_alloc() 456 shost->nr_reserved_cmds = sht->nr_reserved_cmds; in scsi_host_alloc() 457 shost->sg_tablesize = sht->sg_tablesize; in scsi_host_alloc() 458 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 | 127 # define scsi_proc_hostdir_add(sht) 0 argument 128 # define scsi_proc_hostdir_rm(sht) do { } while (0) argument
|
| H A D | scsi_sysfs.c | 300 const struct scsi_host_template *sht = shost->hostt; in store_host_reset() local 308 if (sht->host_reset) in store_host_reset() 309 ret = sht->host_reset(shost, type); in store_host_reset() 1016 const struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT() local 1018 if (!sht->change_queue_depth) in DECLARE_EVT() 1026 retval = sht->change_queue_depth(sdev, depth); in DECLARE_EVT()
|
| H A D | scsi_error.c | 778 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up() local 784 if (!sht->track_queue_depth || in scsi_handle_queue_ramp_up() 813 const struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full() local 816 if (!sht->track_queue_depth) in scsi_handle_queue_full()
|
| /linux/drivers/usb/storage/ |
| 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);
|
| H A D | usb.c | 1022 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 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 | 1151 const struct scsi_host_template *sht); 1154 const struct scsi_host_template *sht); 1441 * Base operations to inherit from and initializers for sht 1451 * sht initializers 1466 * All sht initializers (BASE, PIO, BMDMA, NCQ) must be instantiated 1467 * by the edge drivers. Because the 'module' field of sht must be the 2091 const struct scsi_host_template *sht); 2094 const struct scsi_host_template *sht, void *host_priv, int hflags); 2131 const struct scsi_host_template *sht,
|
| /linux/include/scsi/ |
| H A D | scsi_host.h | 816 scsi_template_proc_dir(const struct scsi_host_template *sht); 818 #define scsi_template_proc_dir(sht) NULL argument
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfad_im.c | 731 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 D | pata_parport.h | 77 struct scsi_host_template sht; member
|
| /linux/drivers/ata/ |
| H A D | libahci_platform.c | 698 const struct scsi_host_template *sht) in ahci_platform_init_host() argument 779 return ahci_host_activate(host, sht); in ahci_platform_init_host()
|
| H A D | libata.h | 164 const struct scsi_host_template *sht);
|
| H A D | libahci.c | 2713 const struct scsi_host_template *sht) in ahci_host_activate_multi_irqs() argument 2743 return ata_host_register(host, sht); in ahci_host_activate_multi_irqs() 2757 int ahci_host_activate(struct ata_host *host, const struct scsi_host_template *sht) in ahci_host_activate() argument 2774 rc = ahci_host_activate_multi_irqs(host, sht); in ahci_host_activate() 2777 IRQF_SHARED, sht); in ahci_host_activate()
|
| H A D | libata-core.c | 6198 * @sht: template for SCSI host 6211 int ata_host_register(struct ata_host *host, const struct scsi_host_template *sht) in ata_host_register() 6215 host->n_tags = clamp(sht->can_queue, 1, ATA_MAX_QUEUE); in ata_host_register() 6232 rc = ata_scsi_add_hosts(host, sht); in ata_host_register() 6287 * @sht: scsi_host_template to use when registering the host 6306 const struct scsi_host_template *sht) in ata_host_activate() 6318 return ata_host_register(host, sht); in ata_host_activate() 6335 rc = ata_host_register(host, sht); in ata_host_activate() 6210 ata_host_register(struct ata_host * host,const struct scsi_host_template * sht) ata_host_register() argument 6305 ata_host_activate(struct ata_host * host,int irq,irq_handler_t irq_handler,unsigned long irq_flags,const struct scsi_host_template * sht) ata_host_activate() argument
|
| /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,
|
| /linux/drivers/scsi/pcmcia/ |
| 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/drivers/scsi/hisi_sas/ |
| H A D | hisi_sas.h | 359 const struct scsi_host_template *sht; member
|
| H A D | hisi_sas_main.c | 1580 if (hisi_hba->hw->sht) in hisi_sas_controller_reset_prepare() 2486 shost = scsi_host_alloc(hw->sht, sizeof(*hisi_hba)); in hisi_sas_shost_alloc()
|
| /linux/drivers/scsi/cxgbi/ |
| H A D | libcxgbi.c | 340 unsigned int max_conns, const struct scsi_host_template *sht, in cxgbi_hbas_add() argument 350 shost = iscsi_host_alloc(sht, sizeof(*chba), 1); in cxgbi_hbas_add() 369 shost->can_queue = sht->can_queue - ISCSI_MGMT_CMDS_MAX; in cxgbi_hbas_add()
|
| /linux/drivers/scsi/qla2xxx/ |
| H A D | qla_os.c | 3001 struct scsi_host_template *sht; in qla2x00_probe_one() local 3009 sht = &qla2xxx_driver_template; in qla2x00_probe_one() 3361 base_vha = qla2x00_create_host(sht, ha); in qla2x00_probe_one() 3421 sht->vendor_id = (SCSI_NL_VID_TYPE_PCI | PCI_VENDOR_ID_QLOGIC); in qla2x00_probe_one() 3429 host->transportt, sht->vendor_id); in qla2x00_probe_one() 5208 struct scsi_qla_host *qla2x00_create_host(const struct scsi_host_template *sht, in qla2x00_create_host() argument 5214 host = scsi_host_alloc(sht, sizeof(scsi_qla_host_t)); in qla2x00_create_host()
|