Home
last modified time | relevance | path

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

12

/linux-6.6.21/drivers/scsi/
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 …]
Dhosts.c222 const struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma() local
226 sht->info ? sht->info(shost) : sht->name); in scsi_add_host_with_dma()
392 struct Scsi_Host *scsi_host_alloc(const struct scsi_host_template *sht, int privsize) in scsi_host_alloc() argument
436 shost->hostt = sht; in scsi_host_alloc()
437 shost->this_id = sht->this_id; in scsi_host_alloc()
438 shost->can_queue = sht->can_queue; in scsi_host_alloc()
439 shost->sg_tablesize = sht->sg_tablesize; in scsi_host_alloc()
440 shost->sg_prot_tablesize = sht->sg_prot_tablesize; in scsi_host_alloc()
441 shost->cmd_per_lun = sht->cmd_per_lun; in scsi_host_alloc()
442 shost->no_write_same = sht->no_write_same; in scsi_host_alloc()
[all …]
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()
Dscsi_priv.h126 # define scsi_proc_hostdir_add(sht) 0 argument
127 # define scsi_proc_hostdir_rm(sht) do { } while (0) argument
Dscsi_sysfs.c299 const struct scsi_host_template *sht = shost->hostt; in store_host_reset() local
307 if (sht->host_reset) in store_host_reset()
308 ret = sht->host_reset(shost, type); in store_host_reset()
1029 const struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT() local
1031 if (!sht->change_queue_depth) in DECLARE_EVT()
1039 retval = sht->change_queue_depth(sdev, depth); in DECLARE_EVT()
/linux-6.6.21/drivers/usb/storage/
Dscsiglue.c684 void usb_stor_host_template_init(struct scsi_host_template *sht, in usb_stor_host_template_init() argument
687 *sht = usb_stor_host_template; in usb_stor_host_template_init()
688 sht->name = name; in usb_stor_host_template_init()
689 sht->proc_name = name; in usb_stor_host_template_init()
690 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 const struct scsi_host_template *sht);
Dusb.c940 const struct scsi_host_template *sht) in usb_stor_probe1() argument
952 host = scsi_host_alloc(sht, sizeof(*us)); in usb_stor_probe1()
/linux-6.6.21/include/linux/
Data_platform.h22 const struct scsi_host_template *sht,
Dahci_platform.h40 const struct scsi_host_template *sht);
Dlibata.h1078 const struct scsi_host_template *sht);
1081 const struct scsi_host_template *sht);
1084 extern int ata_scsi_detect(struct scsi_host_template *sht);
1995 const struct scsi_host_template *sht);
1998 const struct scsi_host_template *sht, void *host_priv, int hflags);
2034 const struct scsi_host_template *sht,
/linux-6.6.21/drivers/ata/
Dpata_serverworks.c416 const struct scsi_host_template *sht = &serverworks_csb_sht; in serverworks_init_one() local
430 sht = &serverworks_osb4_sht; in serverworks_init_one()
447 return ata_pci_bmdma_init_one(pdev, ppi, sht, NULL, 0); in serverworks_init_one()
Dpata_platform.c100 const struct scsi_host_template *sht, bool use16bit) in __pata_platform_probe() argument
181 irq_flags, sht); in __pata_platform_probe()
Dlibata-sff.c2274 const struct scsi_host_template *sht) in ata_pci_sff_activate_host() argument
2345 rc = ata_host_register(host, sht); in ata_pci_sff_activate_host()
2371 const struct scsi_host_template *sht, void *host_priv, in ata_pci_init_one() argument
2408 rc = ata_pci_sff_activate_host(host, ata_bmdma_interrupt, sht); in ata_pci_init_one()
2411 rc = ata_pci_sff_activate_host(host, ata_sff_interrupt, sht); in ata_pci_init_one()
2445 const struct scsi_host_template *sht, void *host_priv, int hflag) in ata_pci_sff_init_one() argument
2447 return ata_pci_init_one(pdev, ppi, sht, host_priv, hflag, 0); in ata_pci_sff_init_one()
3168 const struct scsi_host_template *sht, void *host_priv, in ata_pci_bmdma_init_one() argument
3171 return ata_pci_init_one(pdev, ppi, sht, host_priv, hflags, 1); in ata_pci_bmdma_init_one()
Dlibahci_platform.c684 const struct scsi_host_template *sht) in ahci_platform_init_host() argument
765 return ahci_host_activate(host, sht); in ahci_platform_init_host()
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()
Dlibata.h116 const struct scsi_host_template *sht);
Dahci.h434 int ahci_host_activate(struct ata_host *host, const struct scsi_host_template *sht);
/linux-6.6.21/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);
/linux-6.6.21/include/scsi/
Dscsi_host.h762 scsi_template_proc_dir(const struct scsi_host_template *sht);
764 #define scsi_template_proc_dir(sht) NULL argument
Dlibfc.h869 libfc_host_alloc(const struct scsi_host_template *sht, int priv_size) in libfc_host_alloc() argument
874 shost = scsi_host_alloc(sht, sizeof(*lport) + priv_size); in libfc_host_alloc()
Dlibiscsi.h410 extern struct Scsi_Host *iscsi_host_alloc(const struct scsi_host_template *sht,
/linux-6.6.21/drivers/ata/pata_parport/
Dpata_parport.h77 struct scsi_host_template sht; member
/linux-6.6.21/drivers/scsi/bfa/
Dbfad_im.c729 struct scsi_host_template *sht; in bfad_scsi_host_alloc() local
732 sht = &bfad_im_scsi_host_template; in bfad_scsi_host_alloc()
734 sht = &bfad_im_vport_template; in bfad_scsi_host_alloc()
737 sht->max_sectors = max_xfer_size << 1; in bfad_scsi_host_alloc()
739 sht->sg_tablesize = bfad->cfg_data.io_max_sge; in bfad_scsi_host_alloc()
741 return scsi_host_alloc(sht, sizeof(struct bfad_im_port_pointer)); in bfad_scsi_host_alloc()

12