/drivers/scsi/ |
H A D | scsi_module.c | 19 struct scsi_host_template *sht = &driver_template; local 24 if (!sht->release) { 27 sht->name); 31 sht->module = THIS_MODULE; 32 INIT_LIST_HEAD(&sht->legacy_hosts); 34 sht->detect(sht); 35 if (list_empty(&sht->legacy_hosts)) 38 list_for_each_entry(shost, &sht->legacy_hosts, sht_legacy_list) { 47 while ((l = l->prev) != &sht 54 struct scsi_host_template *sht = &driver_template; local [all...] |
H A D | qlogicfas.c | 145 static int __devinit qlogicfas_detect(struct scsi_host_template *sht) argument 152 shost = __qlogicfas_detect(sht, iobase[num], irq[num]);
|
H A D | hosts.c | 203 struct scsi_host_template *sht = shost->hostt; local 207 sht->info ? sht->info(shost) : sht->name); 211 sht->name); 325 * @sht: pointer to scsi host template 336 struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) argument 341 if (sht->unchecked_isa_dma && privsize) 381 shost->hostt = sht; 382 shost->this_id = sht 447 scsi_register(struct scsi_host_template *sht, int privsize) argument [all...] |
H A D | scsi_proc.c | 45 /* Protect sht->present and sht->proc_dir */ 102 * @sht: owner of this directory 104 * Sets sht->proc_dir to the new directory. 107 void scsi_proc_hostdir_add(struct scsi_host_template *sht) argument 109 if (!sht->proc_info) 113 if (!sht->present++) { 114 sht->proc_dir = proc_mkdir(sht->proc_name, proc_scsi); 115 if (!sht 126 scsi_proc_hostdir_rm(struct scsi_host_template *sht) argument 146 struct scsi_host_template *sht = shost->hostt; local [all...] |
H A D | scsi_error.c | 385 struct scsi_host_template *sht = sdev->host->hostt; local 388 if (!sht->change_queue_depth || 413 sht->change_queue_depth(tmp_sdev, tmp_sdev->queue_depth + 1, 421 struct scsi_host_template *sht = sdev->host->hostt; local 424 if (!sht->change_queue_depth) 436 sht->change_queue_depth(tmp_sdev, tmp_sdev->queue_depth - 1,
|
H A D | scsi_sysfs.c | 264 struct scsi_host_template *sht = shost->hostt; local 275 if (sht->host_reset) 276 ret = sht->host_reset(shost, type); 752 struct scsi_host_template *sht = sdev->host->hostt; local 754 if (!sht->change_queue_depth) 762 retval = sht->change_queue_depth(sdev, depth, 812 struct scsi_host_template *sht = sdev->host->hostt; local 816 if (!sdev->tagged_supported || !sht->change_queue_type) 829 retval = sht->change_queue_type(sdev, tag_type);
|
H A D | dpt_i2o.c | 190 static int adpt_detect(struct scsi_host_template* sht) argument 202 if(adpt_install_hba(sht, pDev) ){ 273 if (adpt_scsi_host_alloc(pHba, sht) < 0){ 995 static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev) argument 2427 static s32 adpt_scsi_host_alloc(adpt_hba* pHba, struct scsi_host_template *sht) argument 2431 host = scsi_host_alloc(sht, sizeof(adpt_hba*));
|
H A D | libiscsi.c | 2560 * @sht: scsi host template 2567 struct Scsi_Host *iscsi_host_alloc(struct scsi_host_template *sht, argument 2573 shost = scsi_host_alloc(sht, sizeof(struct iscsi_host) + dd_data_size);
|
H A D | aic7xxx_old.c | 8395 aic7xxx_alloc(struct scsi_host_template *sht, struct aic7xxx_host *temp) argument 8404 host = scsi_register(sht, sizeof(struct aic7xxx_host));
|
/drivers/scsi/qla2xxx/ |
H A D | qla_mid.c | 433 struct scsi_host_template *sht = &qla2xxx_driver_template; local 436 vha = qla2x00_create_host(sht, ha);
|
H A D | qla_os.c | 2137 struct scsi_host_template *sht; local 2144 sht = &qla2xxx_driver_template; 2366 base_vha = qla2x00_create_host(sht, ha); 2410 sht->vendor_id = (SCSI_NL_VID_TYPE_PCI | PCI_VENDOR_ID_QLOGIC); 2418 host->transportt, sht->vendor_id); 3316 struct scsi_qla_host *qla2x00_create_host(struct scsi_host_template *sht, argument 3322 host = scsi_host_alloc(sht, sizeof(scsi_qla_host_t));
|
/drivers/scsi/bfa/ |
H A D | bfad_im.c | 724 struct scsi_host_template *sht; local 727 sht = &bfad_im_scsi_host_template; 729 sht = &bfad_im_vport_template; 732 sht->max_sectors = max_xfer_size << 1; 734 sht->sg_tablesize = bfad->cfg_data.io_max_sge; 736 return scsi_host_alloc(sht, sizeof(unsigned long));
|
/drivers/scsi/pcmcia/ |
H A D | nsp_cs.c | 1314 static struct Scsi_Host *nsp_detect(struct scsi_host_template *sht) argument 1319 nsp_dbg(NSP_DEBUG_INIT, "this_id=%d", sht->this_id); 1349 sht->name = data->nspinfo;
|
/drivers/ata/ |
H A D | ata_piix.c | 1611 struct scsi_host_template *sht = &piix_sht; local 1679 sht = &piix_sidpr_sht; 1709 return ata_pci_sff_activate_host(host, ata_bmdma_interrupt, sht);
|
H A D | libata-scsi.c | 3371 int ata_scsi_add_hosts(struct ata_host *host, struct scsi_host_template *sht) argument 3380 shost = scsi_host_alloc(sht, sizeof(struct ata_port *));
|
H A D | libata-sff.c | 2403 * @sht: scsi_host_template to use when registering the host 2417 struct scsi_host_template *sht) 2487 rc = ata_host_register(host, sht); 2513 struct scsi_host_template *sht, void *host_priv, 2552 rc = ata_pci_sff_activate_host(host, ata_bmdma_interrupt, sht); 2555 rc = ata_pci_sff_activate_host(host, ata_sff_interrupt, sht); 2569 * @sht: scsi_host_template to use when registering the host 2589 struct scsi_host_template *sht, void *host_priv, int hflag) 2591 return ata_pci_init_one(pdev, ppi, sht, host_priv, hflag, 0); 3292 * @sht 2415 ata_pci_sff_activate_host(struct ata_host *host, irq_handler_t irq_handler, struct scsi_host_template *sht) argument 2511 ata_pci_init_one(struct pci_dev *pdev, const struct ata_port_info * const *ppi, struct scsi_host_template *sht, void *host_priv, int hflags, bool bmdma) argument 2587 ata_pci_sff_init_one(struct pci_dev *pdev, const struct ata_port_info * const *ppi, struct scsi_host_template *sht, void *host_priv, int hflag) argument 3305 ata_pci_bmdma_init_one(struct pci_dev *pdev, const struct ata_port_info * const * ppi, struct scsi_host_template *sht, void *host_priv, int hflags) argument [all...] |
H A D | sata_nv.c | 533 struct scsi_host_template *sht; member in struct:nv_pi_priv 537 &(struct nv_pi_priv){ .irq_handler = _irq_handler, .sht = _sht } 2432 return ata_pci_sff_activate_host(host, ipriv->irq_handler, ipriv->sht);
|
H A D | libata-core.c | 6005 * @sht: template for SCSI host 6018 int ata_host_register(struct ata_host *host, struct scsi_host_template *sht) argument 6049 rc = ata_scsi_add_hosts(host, sht); 6106 * @sht: scsi_host_template to use when registering the host 6125 struct scsi_host_template *sht) 6136 return ata_host_register(host, sht); 6147 rc = ata_host_register(host, sht); 6123 ata_host_activate(struct ata_host *host, int irq, irq_handler_t irq_handler, unsigned long irq_flags, struct scsi_host_template *sht) argument
|
/drivers/scsi/cxgbi/ |
H A D | libcxgbi.c | 249 unsigned int max_id, struct scsi_host_template *sht, 259 shost = iscsi_host_alloc(sht, sizeof(*chba), 1); 248 cxgbi_hbas_add(struct cxgbi_device *cdev, unsigned int max_lun, unsigned int max_id, struct scsi_host_template *sht, struct scsi_transport_template *stt) argument
|