Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/scsi/
Dhosts.c221 struct scsi_host_template *sht = shost->hostt; in scsi_add_host_with_dma() local
225 sht->info ? sht->info(shost) : sht->name); in scsi_add_host_with_dma()
393 struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) in scsi_host_alloc() argument
437 shost->hostt = sht; in scsi_host_alloc()
438 shost->this_id = sht->this_id; in scsi_host_alloc()
439 shost->can_queue = sht->can_queue; in scsi_host_alloc()
440 shost->sg_tablesize = sht->sg_tablesize; in scsi_host_alloc()
441 shost->sg_prot_tablesize = sht->sg_prot_tablesize; in scsi_host_alloc()
442 shost->cmd_per_lun = sht->cmd_per_lun; in scsi_host_alloc()
443 shost->no_write_same = sht->no_write_same; 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 …]
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.h121 # define scsi_proc_hostdir_add(sht) do { } while (0) argument
122 # define scsi_proc_hostdir_rm(sht) do { } while (0) argument
Dscsi_sysfs.c299 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()
1044 struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT() local
1046 if (!sht->change_queue_depth) in DECLARE_EVT()
1054 retval = sht->change_queue_depth(sdev, depth); in DECLARE_EVT()
Dscsi_error.c691 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_ramp_up() local
694 if (!sht->track_queue_depth || in scsi_handle_queue_ramp_up()
723 struct scsi_host_template *sht = sdev->host->hostt; in scsi_handle_queue_full() local
726 if (!sht->track_queue_depth) in scsi_handle_queue_full()
/linux-6.1.9/drivers/usb/storage/
Dscsiglue.c663 void usb_stor_host_template_init(struct scsi_host_template *sht, in usb_stor_host_template_init() argument
666 *sht = usb_stor_host_template; in usb_stor_host_template_init()
667 sht->name = name; in usb_stor_host_template_init()
668 sht->proc_name = name; in usb_stor_host_template_init()
669 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()
/linux-6.1.9/include/linux/
Data_platform.h22 struct scsi_host_template *sht,
Dahci_platform.h40 struct scsi_host_template *sht);
Dlibata.h1060 struct scsi_host_template *sht);
1063 struct scsi_host_template *sht);
1066 extern int ata_scsi_detect(struct scsi_host_template *sht);
1963 struct scsi_host_template *sht);
1966 struct scsi_host_template *sht, void *host_priv, int hflags);
2002 struct scsi_host_template *sht,
/linux-6.1.9/drivers/ata/
Dpata_serverworks.c416 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 struct scsi_host_template *sht, bool use16bit) in __pata_platform_probe() argument
181 irq_flags, sht); in __pata_platform_probe()
Dlibata-sff.c2344 struct scsi_host_template *sht) in ata_pci_sff_activate_host() argument
2415 rc = ata_host_register(host, sht); in ata_pci_sff_activate_host()
2441 struct scsi_host_template *sht, void *host_priv, in ata_pci_init_one() argument
2478 rc = ata_pci_sff_activate_host(host, ata_bmdma_interrupt, sht); in ata_pci_init_one()
2481 rc = ata_pci_sff_activate_host(host, ata_sff_interrupt, sht); in ata_pci_init_one()
2515 struct scsi_host_template *sht, void *host_priv, int hflag) in ata_pci_sff_init_one() argument
2517 return ata_pci_init_one(pdev, ppi, sht, host_priv, hflag, 0); in ata_pci_sff_init_one()
3238 struct scsi_host_template *sht, void *host_priv, in ata_pci_bmdma_init_one() argument
3241 return ata_pci_init_one(pdev, ppi, sht, host_priv, hflags, 1); in ata_pci_bmdma_init_one()
Dlibahci_platform.c683 struct scsi_host_template *sht) in ahci_platform_init_host() argument
764 return ahci_host_activate(host, sht); in ahci_platform_init_host()
Data_piix.c1648 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.h114 struct scsi_host_template *sht);
Dahci.h433 int ahci_host_activate(struct ata_host *host, struct scsi_host_template *sht);
/linux-6.1.9/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.1.9/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()
/linux-6.1.9/include/scsi/
Dlibfc.h869 libfc_host_alloc(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(struct scsi_host_template *sht,
/linux-6.1.9/net/sched/
Dcls_rsvp.h421 struct rsvp_session __rcu **sht = data->ht; in tunnel_recycle() local
429 for (s = rtnl_dereference(sht[h1]); s; in tunnel_recycle()

12