Searched refs:sh (Results 201 - 225 of 781) sorted by path

1234567891011>>

/linux-master/drivers/scsi/
H A Dfdomain.h114 int fdomain_destroy(struct Scsi_Host *sh);
H A Dfdomain_isa.c88 struct Scsi_Host *sh; local
138 sh = fdomain_create(base, irq, this_id, dev);
139 if (!sh) {
144 dev_set_drvdata(dev, sh);
153 struct Scsi_Host *sh; local
167 sh = fdomain_create(io[ndev], irq_, scsi_id[ndev], dev);
168 if (!sh) {
174 dev_set_drvdata(dev, sh);
180 struct Scsi_Host *sh = dev_get_drvdata(dev); local
181 int base = sh
[all...]
H A Dhpsa.c281 static int hpsa_scan_finished(struct Scsi_Host *sh,
341 static inline struct ctlr_info *shost_to_hba(struct Scsi_Host *sh) argument
343 unsigned long *priv = shost_priv(sh);
5681 static int hpsa_scsi_queue_command(struct Scsi_Host *sh, struct scsi_cmnd *cmd) argument
5758 static void hpsa_scan_start(struct Scsi_Host *sh) argument
5760 struct ctlr_info *h = shost_to_hba(sh);
5836 static int hpsa_scan_finished(struct Scsi_Host *sh, argument
5839 struct ctlr_info *h = shost_to_hba(sh);
5851 struct Scsi_Host *sh; local
5853 sh
8532 struct Scsi_Host *sh = NULL; local
[all...]
H A Dips.c645 static void ips_release(struct Scsi_Host *sh) argument
653 scsi_remove_host(sh);
655 for (i = 0; i < IPS_MAX_ADAPTERS && ips_sh[i] != sh; i++) ;
663 ha = IPS_HA(sh);
701 scsi_host_put(sh);
6638 struct Scsi_Host *sh; local
6640 sh = scsi_host_alloc(&ips_driver_template, sizeof (ips_ha_t));
6641 if (!sh) {
6646 ha = IPS_HA(sh);
6659 sh
6696 struct Scsi_Host *sh = pci_get_drvdata(pci_dev); local
[all...]
H A Dscsi_proto_test.c37 } sh = { .arr = { 1, 2, 3, 4, 0, 0, 5, 6 } }; local
38 KUNIT_EXPECT_EQ(test, get_unaligned_be32(&sh.h.len), 0x1020304);
39 KUNIT_EXPECT_EQ(test, get_unaligned_be16(&sh.h.number_of_open_streams),
H A Dvirtio_scsi.c197 struct Scsi_Host *sh = virtio_scsi_host(vq->vdev); local
198 struct virtio_scsi *vscsi = shost_priv(sh);
225 struct Scsi_Host *sh = virtio_scsi_host(vq->vdev); local
226 struct virtio_scsi *vscsi = shost_priv(sh);
423 struct Scsi_Host *sh = virtio_scsi_host(vq->vdev); local
424 struct virtio_scsi *vscsi = shost_priv(sh);
1021 struct Scsi_Host *sh = virtio_scsi_host(vdev); local
1022 struct virtio_scsi *vscsi = shost_priv(sh);
H A Dwd719x.c207 static int wd719x_queuecommand(struct Scsi_Host *sh, struct scsi_cmnd *cmd) argument
212 struct wd719x *wd = shost_priv(sh);
272 spin_lock_irqsave(wd->sh->host_lock, flags);
276 spin_unlock_irqrestore(wd->sh->host_lock, flags);
287 spin_unlock_irqrestore(wd->sh->host_lock, flags);
475 spin_lock_irqsave(wd->sh->host_lock, flags);
480 spin_unlock_irqrestore(wd->sh->host_lock, flags);
497 spin_lock_irqsave(wd->sh->host_lock, flags);
506 spin_unlock_irqrestore(wd->sh->host_lock, flags);
530 spin_lock_irqsave(wd->sh
810 wd719x_board_found(struct Scsi_Host *sh) argument
900 struct Scsi_Host *sh; local
963 struct Scsi_Host *sh = pci_get_drvdata(pdev); local
[all...]
H A Dwd719x.h66 struct Scsi_Host *sh; /* pointer to host structure */ member in struct:wd719x
/linux-master/drivers/scsi/pcmcia/
H A Dfdomain_cs.c34 struct Scsi_Host *sh; local
53 sh = fdomain_create(link->resource[0]->start, link->irq, 7, &link->dev);
54 if (!sh) {
60 link->priv = sh;
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_target.c6590 struct Scsi_Host *sh = vha->host; local
6599 scsi_host_put(sh);
H A Dtcm_qla2xxx.c1652 struct Scsi_Host *sh = base_vha->host; local
1678 vport = fc_vport_create(sh, 0, &vport_id);
/linux-master/drivers/spi/
H A DMakefile125 obj-$(CONFIG_SPI_SH) += spi-sh.o
126 obj-$(CONFIG_SPI_SH_HSPI) += spi-sh-hspi.o
127 obj-$(CONFIG_SPI_SH_MSIOF) += spi-sh-msiof.o
128 obj-$(CONFIG_SPI_SH_SCI) += spi-sh-sci.o
/linux-master/drivers/target/loopback/
H A Dtcm_loop.c168 static int tcm_loop_queuecommand(struct Scsi_Host *sh, struct scsi_cmnd *sc) argument
315 struct Scsi_Host *sh; local
320 sh = scsi_host_alloc(&tcm_loop_driver_template,
322 if (!sh) {
326 tl_hba->sh = sh;
331 *((struct tcm_loop_hba **)sh->hostdata) = tl_hba;
335 sh->max_id = 2;
336 sh->max_lun = 0;
337 sh
362 struct Scsi_Host *sh; local
988 struct Scsi_Host *sh; local
[all...]
H A Dtcm_loop.h51 struct Scsi_Host *sh; member in struct:tcm_loop_hba
/linux-master/drivers/target/
H A Dtarget_core_pscsi.c95 struct Scsi_Host *sh = phv->phv_lld_host; local
100 if (!sh)
107 " %s\n", hba->hba_id, (sh->hostt->name) ?
108 (sh->hostt->name) : "Unknown");
110 scsi_host_put(sh);
117 sh = scsi_host_lookup(phv->phv_host_id);
118 if (!sh) {
124 phv->phv_lld_host = sh;
128 hba->hba_id, (sh->hostt->name) ? (sh
354 struct Scsi_Host *sh = sd->host; variable in typeref:struct:Scsi_Host
398 struct Scsi_Host *sh = sd->host; variable in typeref:struct:Scsi_Host
427 struct Scsi_Host *sh = phv->phv_lld_host; local
[all...]
/linux-master/drivers/tty/serial/
H A DMakefile81 obj-$(CONFIG_SERIAL_SH_SCI) += sh-sci.o
/linux-master/drivers/usb/gadget/function/
H A Duvc_configfs.c1843 struct uvcg_streaming_header *sh = to_uvcg_streaming_header(item); \
1846 struct mutex *su_mutex = &sh->item.ci_group->cg_subsys->su_mutex;\
1851 opts_item = sh->item.ci_parent->ci_parent->ci_parent; \
1855 result = sprintf(page, "%u\n", le##bits##_to_cpu(sh->desc.aname));\
/linux-master/drivers/video/fbdev/mb862xx/
H A Dmb862xxfb.h9 unsigned short sh; member in struct:mb862xx_l1_cfg
H A Dmb862xxfbdrv.c324 if ((l1_cfg->sw >= l1_cfg->dw) && (l1_cfg->sh >= l1_cfg->dh)) {
327 pack((l1_cfg->sh << 11) / l1_cfg->dh,
332 (l1_cfg->sh <= l1_cfg->dh)) {
335 pack((l1_cfg->sh << 11) / l1_cfg->dh,
338 pack(l1_cfg->sw >> 1, l1_cfg->sh));
363 pack(l1_cfg->sh, l1_cfg->sw));
519 par->l1_cfg.sh = 576;
/linux-master/drivers/video/fbdev/
H A Dpxa3xx-gcu.c171 struct pxa3xx_gcu_shared *sh = priv->shared; local
178 sh->hw_running ? "running" : "idle ",
/linux-master/drivers/xen/events/
H A Devents_2l.c148 struct shared_info *sh,
151 return sh->evtchn_pending[idx] &
153 ~sh->evtchn_mask[idx];
266 struct shared_info *sh = HYPERVISOR_shared_info; local
292 for (i = ARRAY_SIZE(sh->evtchn_pending)-1; i >= 0; i--)
294 (int)sizeof(sh->evtchn_pending[0])*2,
295 sh->evtchn_pending[i],
298 for (i = ARRAY_SIZE(sh->evtchn_mask)-1; i >= 0; i--)
300 (int)(sizeof(sh->evtchn_mask[0])*2),
301 sh
147 active_evtchns(unsigned int cpu, struct shared_info *sh, unsigned int idx) argument
[all...]
/linux-master/fs/btrfs/
H A Dcompression.c181 static unsigned long btrfs_compr_pool_count(struct shrinker *sh, struct shrink_control *sc) argument
195 static unsigned long btrfs_compr_pool_scan(struct shrinker *sh, struct shrink_control *sc) argument
H A Dioctl.c1579 struct btrfs_ioctl_search_header sh; local
1606 if (sizeof(sh) + item_len > *buf_size) {
1617 *buf_size = sizeof(sh) + item_len;
1622 if (sizeof(sh) + item_len + *sk_offset > *buf_size) {
1627 sh.objectid = key->objectid;
1628 sh.offset = key->offset;
1629 sh.type = key->type;
1630 sh.len = item_len;
1631 sh.transid = found_transid;
1639 if (copy_to_user_nofault(ubuf + *sk_offset, &sh, sizeo
[all...]
/linux-master/include/linux/
H A Dio-pgtable.h134 u32 sh:2; member in struct:io_pgtable_cfg::__anon562::__anon563::__anon564
147 u32 sh:2; member in struct:io_pgtable_cfg::__anon562::__anon565::__anon566
/linux-master/include/net/sctp/
H A Dchecksum.h54 struct sctphdr *sh = (struct sctphdr *)(skb->data + offset); local
55 __le32 old = sh->checksum;
58 sh->checksum = 0;
61 sh->checksum = old;

Completed in 565 milliseconds

1234567891011>>