Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/drivers/scsi/
Dhosts.c211 struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma() local
215 sht->info ? sht->info(shost) : sht->name); in scsi_add_host_with_dma()
377 struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) in scsi_host_alloc() argument
383 if (sht->unchecked_isa_dma && privsize) in scsi_host_alloc()
424 shost->hostt = sht; in scsi_host_alloc()
425 shost->this_id = sht->this_id; in scsi_host_alloc()
426 shost->can_queue = sht->can_queue; in scsi_host_alloc()
427 shost->sg_tablesize = sht->sg_tablesize; in scsi_host_alloc()
428 shost->sg_prot_tablesize = sht->sg_prot_tablesize; in scsi_host_alloc()
429 shost->cmd_per_lun = sht->cmd_per_lun; in scsi_host_alloc()
[all …]
Dscsi_proc.c101 void scsi_proc_hostdir_add(struct scsi_host_template *sht) in scsi_proc_hostdir_add() argument
103 if (!sht->show_info) in scsi_proc_hostdir_add()
107 if (!sht->present++) { in scsi_proc_hostdir_add()
108 sht->proc_dir = proc_mkdir(sht->proc_name, proc_scsi); in scsi_proc_hostdir_add()
109 if (!sht->proc_dir) in scsi_proc_hostdir_add()
111 __func__, sht->proc_name); in scsi_proc_hostdir_add()
120 void scsi_proc_hostdir_rm(struct scsi_host_template *sht) in scsi_proc_hostdir_rm() argument
122 if (!sht->show_info) in scsi_proc_hostdir_rm()
126 if (!--sht->present && sht->proc_dir) { in scsi_proc_hostdir_rm()
127 remove_proc_entry(sht->proc_name, proc_scsi); in scsi_proc_hostdir_rm()
[all …]
Ddpti.h28 static int adpt_detect(struct scsi_host_template * sht);
290 static s32 adpt_scsi_host_alloc(adpt_hba* pHba,struct scsi_host_template * sht);
299 static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev) ;
Dscsi_priv.h111 # define scsi_proc_hostdir_add(sht) do { } while (0) argument
112 # define scsi_proc_hostdir_rm(sht) do { } while (0) argument
Dqlogicfas.c145 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()
Dscsi_sysfs.c298 struct scsi_host_template *sht = shost->hostt; in store_host_reset() local
306 if (sht->host_reset) in store_host_reset()
307 ret = sht->host_reset(shost, type); in store_host_reset()
1027 struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT() local
1029 if (!sht->change_queue_depth) in DECLARE_EVT()
1037 retval = sht->change_queue_depth(sdev, depth); in DECLARE_EVT()
Dscsi_error.c645 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up() local
648 if (!sht->track_queue_depth || in scsi_handle_queue_ramp_up()
677 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full() local
680 if (!sht->track_queue_depth) in scsi_handle_queue_full()
/kernel/linux/linux-5.10/drivers/usb/storage/
Dscsiglue.c662 void usb_stor_host_template_init(struct scsi_host_template *sht, in usb_stor_host_template_init() argument
665 *sht = usb_stor_host_template; in usb_stor_host_template_init()
666 sht->name = name; in usb_stor_host_template_init()
667 sht->proc_name = name; in usb_stor_host_template_init()
668 sht->module = owner; in usb_stor_host_template_init()
Dscsiglue.h29 extern void usb_stor_host_template_init(struct scsi_host_template *sht,
Dusb.h190 struct scsi_host_template *sht);
Dusb.c940 struct scsi_host_template *sht) in usb_stor_probe1() argument
952 host = scsi_host_alloc(sht, sizeof(*us)); in usb_stor_probe1()
/kernel/linux/linux-5.10/include/linux/
Data_platform.h22 struct scsi_host_template *sht,
Dahci_platform.h35 struct scsi_host_template *sht);
Dlibata.h1085 struct scsi_host_template *sht);
1088 struct scsi_host_template *sht);
1091 extern int ata_scsi_detect(struct scsi_host_template *sht);
1959 struct scsi_host_template *sht);
1962 struct scsi_host_template *sht, void *host_priv, int hflags);
1998 struct scsi_host_template *sht,
/kernel/linux/linux-5.10/drivers/ata/
Dpata_serverworks.c415 struct scsi_host_template *sht = &serverworks_csb_sht; in serverworks_init_one() local
429 sht = &serverworks_osb4_sht; in serverworks_init_one()
446 return ata_pci_bmdma_init_one(pdev, ppi, sht, NULL, 0); in serverworks_init_one()
Dpata_platform.c98 struct scsi_host_template *sht, bool use16bit) in __pata_platform_probe() argument
177 irq_flags, sht); in __pata_platform_probe()
Dlibata-sff.c2365 struct scsi_host_template *sht) in ata_pci_sff_activate_host() argument
2436 rc = ata_host_register(host, sht); in ata_pci_sff_activate_host()
2462 struct scsi_host_template *sht, void *host_priv, in ata_pci_init_one() argument
2501 rc = ata_pci_sff_activate_host(host, ata_bmdma_interrupt, sht); in ata_pci_init_one()
2504 rc = ata_pci_sff_activate_host(host, ata_sff_interrupt, sht); in ata_pci_init_one()
2538 struct scsi_host_template *sht, void *host_priv, int hflag) in ata_pci_sff_init_one() argument
2540 return ata_pci_init_one(pdev, ppi, sht, host_priv, hflag, 0); in ata_pci_sff_init_one()
3254 struct scsi_host_template *sht, void *host_priv, in ata_pci_bmdma_init_one() argument
3257 return ata_pci_init_one(pdev, ppi, sht, host_priv, hflags, 1); in ata_pci_bmdma_init_one()
Dlibahci_platform.c583 struct scsi_host_template *sht) in ahci_platform_init_host() argument
672 return ahci_host_activate(host, sht); in ahci_platform_init_host()
Dahci.h424 int ahci_host_activate(struct ata_host *host, struct scsi_host_template *sht);
Data_piix.c1644 struct scsi_host_template *sht = &piix_sht; in piix_init_one() local
1712 sht = &piix_sidpr_sht; in piix_init_one()
1742 return ata_pci_sff_activate_host(host, ata_bmdma_interrupt, sht); in piix_init_one()
Dlibata.h134 struct scsi_host_template *sht);
/kernel/linux/linux-5.10/drivers/scsi/pcmcia/
Dnsp_cs.h293 static struct Scsi_Host *nsp_detect (struct scsi_host_template *sht);
324 static struct Scsi_Host *nsp_detect(struct scsi_host_template *sht);
/kernel/linux/linux-5.10/drivers/scsi/bfa/
Dbfad_im.c730 struct scsi_host_template *sht; in bfad_scsi_host_alloc() local
733 sht = &bfad_im_scsi_host_template; in bfad_scsi_host_alloc()
735 sht = &bfad_im_vport_template; in bfad_scsi_host_alloc()
738 sht->max_sectors = max_xfer_size << 1; in bfad_scsi_host_alloc()
740 sht->sg_tablesize = bfad->cfg_data.io_max_sge; in bfad_scsi_host_alloc()
742 return scsi_host_alloc(sht, sizeof(struct bfad_im_port_pointer)); in bfad_scsi_host_alloc()
/kernel/linux/linux-5.10/include/scsi/
Dlibfc.h860 libfc_host_alloc(struct scsi_host_template *sht, int priv_size) in libfc_host_alloc() argument
865 shost = scsi_host_alloc(sht, sizeof(*lport) + priv_size); in libfc_host_alloc()
Dlibiscsi.h391 extern struct Scsi_Host *iscsi_host_alloc(struct scsi_host_template *sht,

12