Home
last modified time | relevance | path

Searched refs:sht (Results 1 - 25 of 78) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/scsi/
H A Dhosts.c212 struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma() local
216 sht->info ? sht->info(shost) : sht->name); in scsi_add_host_with_dma()
366 * @sht: pointer to scsi host template
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 in scsi_host_alloc()
[all...]
H A Dscsi_proc.c46 /* Protect sht->present and sht->proc_dir */
96 * @sht: owner of this directory
98 * Sets sht->proc_dir to the new directory.
101 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 in scsi_proc_hostdir_add()
120 scsi_proc_hostdir_rm(struct scsi_host_template *sht) scsi_proc_hostdir_rm() argument
140 struct scsi_host_template *sht = shost->hostt; scsi_proc_host_add() local
[all...]
H A 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()
H A Dscsi_priv.h111 # define scsi_proc_hostdir_add(sht) do { } while (0)
112 # define scsi_proc_hostdir_rm(sht) do { } while (0)
H A Ddpti.h28 static int adpt_detect(struct scsi_host_template * sht);
289 static s32 adpt_scsi_host_alloc(adpt_hba* pHba,struct scsi_host_template * sht);
298 static int adpt_install_hba(struct scsi_host_template* sht, struct pci_dev* pDev) ;
/kernel/linux/linux-6.6/drivers/scsi/
H A 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()
381 * @sht: pointer to scsi host template
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 in scsi_host_alloc()
[all...]
H A Dscsi_proc.c53 * @sht: SCSI host template associated with the procfs directory.
55 * @present: Number of SCSI hosts instantiated for @sht.
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()
129 * @sht: SCSI host template pointer.
132 scsi_template_proc_dir(const struct scsi_host_template *sht) in scsi_template_proc_dir() argument
154 scsi_proc_hostdir_add(const struct scsi_host_template *sht) scsi_proc_hostdir_add() argument
196 scsi_proc_hostdir_rm(const struct scsi_host_template *sht) scsi_proc_hostdir_rm() argument
220 const struct scsi_host_template *sht = shost->hostt; scsi_proc_host_add() local
251 const struct scsi_host_template *sht = shost->hostt; scsi_proc_host_rm() local
[all...]
H A Dscsi_priv.h126 # define scsi_proc_hostdir_add(sht) 0
127 # define scsi_proc_hostdir_rm(sht) do { } while (0)
H A 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()
/kernel/linux/linux-5.10/drivers/usb/storage/
H A Dscsiglue.c676 void usb_stor_host_template_init(struct scsi_host_template *sht, in usb_stor_host_template_init() argument
679 *sht = usb_stor_host_template; in usb_stor_host_template_init()
680 sht->name = name; in usb_stor_host_template_init()
681 sht->proc_name = name; in usb_stor_host_template_init()
682 sht->module = owner; in usb_stor_host_template_init()
H A Dscsiglue.h29 extern void usb_stor_host_template_init(struct scsi_host_template *sht,
/kernel/linux/linux-6.6/drivers/usb/storage/
H A 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()
H A Dscsiglue.h29 extern void usb_stor_host_template_init(struct scsi_host_template *sht,
/kernel/linux/linux-5.10/include/linux/
H A Data_platform.h22 struct scsi_host_template *sht,
H A Dahci_platform.h35 struct scsi_host_template *sht);
/kernel/linux/linux-6.6/include/linux/
H A Data_platform.h22 const struct scsi_host_template *sht,
H A Dahci_platform.h40 const struct scsi_host_template *sht);
/kernel/linux/linux-5.10/drivers/ata/
H A 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()
H A Dpata_platform.c74 * @sht: scsi_host_template to use when registering
98 struct scsi_host_template *sht, bool use16bit) in __pata_platform_probe()
177 irq_flags, sht); in __pata_platform_probe()
95 __pata_platform_probe(struct device *dev, struct resource *io_res, struct resource *ctl_res, struct resource *irq_res, unsigned int ioport_shift, int __pio_mask, struct scsi_host_template *sht, bool use16bit) __pata_platform_probe() argument
/kernel/linux/linux-6.6/drivers/ata/
H A 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()
H A Dpata_platform.c76 * @sht: scsi_host_template to use when registering
100 const struct scsi_host_template *sht, bool use16bit) in __pata_platform_probe()
181 irq_flags, sht); in __pata_platform_probe()
97 __pata_platform_probe(struct device *dev, struct resource *io_res, struct resource *ctl_res, struct resource *irq_res, unsigned int ioport_shift, int __pio_mask, const struct scsi_host_template *sht, bool use16bit) __pata_platform_probe() argument
/kernel/linux/linux-5.10/drivers/scsi/pcmcia/
H A 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-6.6/include/scsi/
H A Dscsi_host.h762 scsi_template_proc_dir(const struct scsi_host_template *sht);
764 #define scsi_template_proc_dir(sht) NULL
/kernel/linux/linux-6.6/drivers/scsi/pcmcia/
H A 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/
H A 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()

Completed in 21 milliseconds

1234