/linux-4.4.14/drivers/scsi/ |
D | scsi_module.c | 19 struct scsi_host_template *sht = &driver_template; in init_this_scsi_driver() local 24 if (!sht->release) { in init_this_scsi_driver() 27 sht->name); in init_this_scsi_driver() 31 sht->module = THIS_MODULE; in init_this_scsi_driver() 32 INIT_LIST_HEAD(&sht->legacy_hosts); in init_this_scsi_driver() 34 sht->detect(sht); in init_this_scsi_driver() 35 if (list_empty(&sht->legacy_hosts)) in init_this_scsi_driver() 38 list_for_each_entry(shost, &sht->legacy_hosts, sht_legacy_list) { in init_this_scsi_driver() 47 while ((l = l->prev) != &sht->legacy_hosts) in init_this_scsi_driver() 54 struct scsi_host_template *sht = &driver_template; in exit_this_scsi_driver() local [all …]
|
D | hosts.c | 204 struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma() local 208 sht->info ? sht->info(shost) : sht->name); in scsi_add_host_with_dma() 387 struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) in scsi_host_alloc() argument 392 if (sht->unchecked_isa_dma && privsize) in scsi_host_alloc() 431 shost->hostt = sht; in scsi_host_alloc() 432 shost->this_id = sht->this_id; in scsi_host_alloc() 433 shost->can_queue = sht->can_queue; in scsi_host_alloc() 434 shost->sg_tablesize = sht->sg_tablesize; in scsi_host_alloc() 435 shost->sg_prot_tablesize = sht->sg_prot_tablesize; in scsi_host_alloc() 436 shost->cmd_per_lun = sht->cmd_per_lun; in scsi_host_alloc() [all …]
|
D | scsi_proc.c | 100 void scsi_proc_hostdir_add(struct scsi_host_template *sht) in scsi_proc_hostdir_add() argument 102 if (!sht->show_info) in scsi_proc_hostdir_add() 106 if (!sht->present++) { in scsi_proc_hostdir_add() 107 sht->proc_dir = proc_mkdir(sht->proc_name, proc_scsi); in scsi_proc_hostdir_add() 108 if (!sht->proc_dir) in scsi_proc_hostdir_add() 110 __func__, sht->proc_name); in scsi_proc_hostdir_add() 119 void scsi_proc_hostdir_rm(struct scsi_host_template *sht) in scsi_proc_hostdir_rm() argument 121 if (!sht->show_info) in scsi_proc_hostdir_rm() 125 if (!--sht->present && sht->proc_dir) { in scsi_proc_hostdir_rm() 126 remove_proc_entry(sht->proc_name, proc_scsi); in scsi_proc_hostdir_rm() [all …]
|
D | qlogicfas.c | 145 static int qlogicfas_detect(struct scsi_host_template *sht) in qlogicfas_detect() argument 152 shost = __qlogicfas_detect(sht, iobase[num], irq[num]); in qlogicfas_detect()
|
D | scsi_priv.h | 107 # define scsi_proc_hostdir_add(sht) do { } while (0) argument 108 # define scsi_proc_hostdir_rm(sht) do { } while (0) argument
|
D | dpti.h | 31 static int adpt_detect(struct scsi_host_template * sht); 294 static s32 adpt_scsi_host_alloc(adpt_hba* pHba,struct scsi_host_template * sht); 304 static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev) ;
|
D | scsi_sysfs.c | 265 struct scsi_host_template *sht = shost->hostt; in store_host_reset() local 273 if (sht->host_reset) in store_host_reset() 274 ret = sht->host_reset(shost, type); in store_host_reset() 880 struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT() local 882 if (!sht->change_queue_depth) in DECLARE_EVT() 890 retval = sht->change_queue_depth(sdev, depth); in DECLARE_EVT()
|
D | scsi_error.c | 608 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up() local 611 if (!sht->track_queue_depth || in scsi_handle_queue_ramp_up() 640 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full() local 643 if (!sht->track_queue_depth) in scsi_handle_queue_full()
|
D | dpt_i2o.c | 190 static int adpt_detect(struct scsi_host_template* sht) in adpt_detect() argument 202 if(adpt_install_hba(sht, pDev) ){ in adpt_detect() 273 if (adpt_scsi_host_alloc(pHba, sht) < 0){ in adpt_detect() 904 static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev) in adpt_install_hba() argument 2341 static s32 adpt_scsi_host_alloc(adpt_hba* pHba, struct scsi_host_template *sht) in adpt_scsi_host_alloc() argument 2345 host = scsi_host_alloc(sht, sizeof(adpt_hba*)); in adpt_scsi_host_alloc()
|
D | libiscsi.c | 2606 struct Scsi_Host *iscsi_host_alloc(struct scsi_host_template *sht, in iscsi_host_alloc() argument 2612 shost = scsi_host_alloc(sht, sizeof(struct iscsi_host) + dd_data_size); in iscsi_host_alloc()
|
/linux-4.4.14/drivers/usb/storage/ |
D | scsiglue.c | 590 void usb_stor_host_template_init(struct scsi_host_template *sht, in usb_stor_host_template_init() argument 593 *sht = usb_stor_host_template; in usb_stor_host_template_init() 594 sht->name = name; in usb_stor_host_template_init() 595 sht->proc_name = name; in usb_stor_host_template_init() 596 sht->module = owner; in usb_stor_host_template_init()
|
D | scsiglue.h | 44 extern void usb_stor_host_template_init(struct scsi_host_template *sht,
|
D | usb.h | 201 struct scsi_host_template *sht);
|
D | usb.c | 933 struct scsi_host_template *sht) in usb_stor_probe1() argument 945 host = scsi_host_alloc(sht, sizeof(*us)); in usb_stor_probe1()
|
/linux-4.4.14/include/linux/ |
D | ata_platform.h | 21 struct scsi_host_template *sht);
|
D | ahci_platform.h | 37 struct scsi_host_template *sht);
|
D | libata.h | 1130 struct scsi_host_template *sht); 1133 struct scsi_host_template *sht); 1136 extern int ata_scsi_detect(struct scsi_host_template *sht); 1865 struct scsi_host_template *sht); 1868 struct scsi_host_template *sht, void *host_priv, int hflags); 1904 struct scsi_host_template *sht,
|
/linux-4.4.14/drivers/ata/ |
D | pata_serverworks.c | 414 struct scsi_host_template *sht = &serverworks_csb_sht; in serverworks_init_one() local 428 sht = &serverworks_osb4_sht; in serverworks_init_one() 445 return ata_pci_bmdma_init_one(pdev, ppi, sht, NULL, 0); in serverworks_init_one()
|
D | pata_platform.c | 104 struct scsi_host_template *sht) in __pata_platform_probe() argument 175 irq_flags, sht); in __pata_platform_probe()
|
D | libata-sff.c | 2417 struct scsi_host_template *sht) in ata_pci_sff_activate_host() argument 2478 rc = ata_host_register(host, sht); in ata_pci_sff_activate_host() 2504 struct scsi_host_template *sht, void *host_priv, in ata_pci_init_one() argument 2543 rc = ata_pci_sff_activate_host(host, ata_bmdma_interrupt, sht); in ata_pci_init_one() 2546 rc = ata_pci_sff_activate_host(host, ata_sff_interrupt, sht); in ata_pci_init_one() 2580 struct scsi_host_template *sht, void *host_priv, int hflag) in ata_pci_sff_init_one() argument 2582 return ata_pci_init_one(pdev, ppi, sht, host_priv, hflag, 0); in ata_pci_sff_init_one() 3298 struct scsi_host_template *sht, void *host_priv, in ata_pci_bmdma_init_one() argument 3301 return ata_pci_init_one(pdev, ppi, sht, host_priv, hflags, 1); in ata_pci_bmdma_init_one()
|
D | libahci_platform.c | 507 struct scsi_host_template *sht) in ahci_platform_init_host() argument 593 return ahci_host_activate(host, sht); in ahci_platform_init_host()
|
D | ahci.h | 401 int ahci_host_activate(struct ata_host *host, struct scsi_host_template *sht);
|
D | libata.h | 137 struct scsi_host_template *sht);
|
D | ata_piix.c | 1662 struct scsi_host_template *sht = &piix_sht; in piix_init_one() local 1730 sht = &piix_sidpr_sht; in piix_init_one() 1760 return ata_pci_sff_activate_host(host, ata_bmdma_interrupt, sht); in piix_init_one()
|
D | libahci.c | 2483 struct scsi_host_template *sht) in ahci_host_activate_multi_irqs() argument 2511 return ata_host_register(host, sht); in ahci_host_activate_multi_irqs() 2525 int ahci_host_activate(struct ata_host *host, struct scsi_host_template *sht) in ahci_host_activate() argument 2532 rc = ahci_host_activate_multi_irqs(host, irq, sht); in ahci_host_activate() 2535 IRQF_SHARED, sht); in ahci_host_activate() 2538 IRQF_SHARED, sht); in ahci_host_activate()
|
D | libata-core.c | 6116 int ata_host_register(struct ata_host *host, struct scsi_host_template *sht) in ata_host_register() argument 6120 host->n_tags = clamp(sht->can_queue, 1, ATA_MAX_QUEUE - 1); in ata_host_register() 6150 rc = ata_scsi_add_hosts(host, sht); in ata_host_register() 6223 struct scsi_host_template *sht) in ata_host_activate() argument 6234 return ata_host_register(host, sht); in ata_host_activate() 6245 rc = ata_host_register(host, sht); in ata_host_activate()
|
D | sata_nv.c | 532 struct scsi_host_template *sht; member 536 &(struct nv_pi_priv){ .irq_handler = _irq_handler, .sht = _sht } 2431 return ata_pci_sff_activate_host(host, ipriv->irq_handler, ipriv->sht); in nv_init_one()
|
D | libata-scsi.c | 3666 int ata_scsi_add_hosts(struct ata_host *host, struct scsi_host_template *sht) in ata_scsi_add_hosts() argument 3675 shost = scsi_host_alloc(sht, sizeof(struct ata_port *)); in ata_scsi_add_hosts()
|
/linux-4.4.14/drivers/scsi/pcmcia/ |
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);
|
D | nsp_cs.c | 1313 static struct Scsi_Host *nsp_detect(struct scsi_host_template *sht) in nsp_detect() argument 1318 nsp_dbg(NSP_DEBUG_INIT, "this_id=%d", sht->this_id); in nsp_detect() 1348 sht->name = data->nspinfo; in nsp_detect()
|
/linux-4.4.14/drivers/scsi/bfa/ |
D | bfad_im.c | 718 struct scsi_host_template *sht; in bfad_scsi_host_alloc() local 721 sht = &bfad_im_scsi_host_template; in bfad_scsi_host_alloc() 723 sht = &bfad_im_vport_template; in bfad_scsi_host_alloc() 726 sht->max_sectors = max_xfer_size << 1; in bfad_scsi_host_alloc() 728 sht->sg_tablesize = bfad->cfg_data.io_max_sge; in bfad_scsi_host_alloc() 730 return scsi_host_alloc(sht, sizeof(unsigned long)); in bfad_scsi_host_alloc()
|
/linux-4.4.14/include/scsi/ |
D | libfc.h | 1030 libfc_host_alloc(struct scsi_host_template *sht, int priv_size) in libfc_host_alloc() argument 1035 shost = scsi_host_alloc(sht, sizeof(*lport) + priv_size); in libfc_host_alloc()
|
D | libiscsi.h | 399 extern struct Scsi_Host *iscsi_host_alloc(struct scsi_host_template *sht,
|
/linux-4.4.14/net/sched/ |
D | cls_rsvp.h | 412 struct rsvp_session __rcu **sht = data->ht; in tunnel_recycle() local 420 for (s = rtnl_dereference(sht[h1]); s; in tunnel_recycle()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
D | qla_mid.c | 447 struct scsi_host_template *sht = &qla2xxx_driver_template; in qla24xx_create_vhost() local 450 vha = qla2x00_create_host(sht, ha); in qla24xx_create_vhost()
|
D | qla_os.c | 2280 struct scsi_host_template *sht; in qla2x00_probe_one() local 2286 sht = &qla2xxx_driver_template; in qla2x00_probe_one() 2571 base_vha = qla2x00_create_host(sht, ha); in qla2x00_probe_one() 2622 sht->vendor_id = (SCSI_NL_VID_TYPE_PCI | PCI_VENDOR_ID_QLOGIC); in qla2x00_probe_one() 2630 host->transportt, sht->vendor_id); in qla2x00_probe_one() 3749 struct scsi_qla_host *qla2x00_create_host(struct scsi_host_template *sht, in qla2x00_create_host() argument 3755 host = scsi_host_alloc(sht, sizeof(scsi_qla_host_t)); in qla2x00_create_host()
|
/linux-4.4.14/Documentation/scsi/ |
D | scsi_mid_low_api.txt | 494 * @sht: pointer to scsi host template 512 struct Scsi_Host * scsi_host_alloc(struct scsi_host_template * sht, 572 * @sht: pointer to scsi host template 587 struct Scsi_Host * scsi_register(struct scsi_host_template * sht,
|
/linux-4.4.14/drivers/scsi/cxgbi/ |
D | libcxgbi.c | 338 unsigned int max_id, struct scsi_host_template *sht, in cxgbi_hbas_add() argument 348 shost = iscsi_host_alloc(sht, sizeof(*chba), 1); in cxgbi_hbas_add()
|