Searched defs:sh (Results 1 - 25 of 36) sorted by relevance

12

/drivers/target/loopback/
H A Dtcm_loop.h32 struct scsi_host *sh; member in struct:tcm_loop_nexus
59 struct Scsi_Host *sh; member in struct:tcm_loop_hba
H A Dtcm_loop.c270 struct Scsi_Host *sh,
433 struct Scsi_Host *sh; local
438 sh = scsi_host_alloc(&tcm_loop_driver_template,
440 if (!sh) {
444 tl_hba->sh = sh;
449 *((struct tcm_loop_hba **)sh->hostdata) = tl_hba;
453 sh->max_id = 2;
454 sh->max_lun = 0;
455 sh
269 tcm_loop_queuecommand( struct Scsi_Host *sh, struct scsi_cmnd *sc) argument
470 struct Scsi_Host *sh; local
1263 struct Scsi_Host *sh; local
[all...]
/drivers/usb/storage/
H A Dsierra_ms.c132 struct Scsi_Host *sh; local
139 sh = us_to_host(us);
140 sd = scsi_get_host_dev(sh);
/drivers/bluetooth/
H A Dhci_ll.c380 struct hci_sco_hdr *sh; local
422 sh = hci_sco_hdr(ll->rx_skb);
424 BT_DBG("SCO header: dlen %d", sh->dlen);
426 ll_check_data_len(ll, sh->dlen);
H A Dbtuart_cs.c244 struct hci_sco_hdr *sh; local
263 sh = hci_sco_hdr(info->rx_skb);
265 info->rx_count = sh->dlen;
H A Dbluecard_cs.c456 struct hci_sco_hdr *sh; local
474 sh = hci_sco_hdr(info->rx_skb);
476 info->rx_count = sh->dlen;
H A Dbt3c_cs.c298 struct hci_sco_hdr *sh; local
316 sh = hci_sco_hdr(info->rx_skb);
318 info->rx_count = sh->dlen;
/drivers/iommu/
H A Dmsm_iommu.c369 int ret = 0, tex, sh; local
373 sh = (prot & MSM_IOMMU_ATTR_SH) ? 1 : 0;
403 pgprot = sh ? FL_SHARED : 0;
408 pgprot = sh ? SL_SHARED : 0;
/drivers/scsi/
H A Deata_pio.c149 static int eata_pio_release(struct Scsi_Host *sh) argument
151 hostdata *hd = SD(sh);
152 if (sh->irq && reg_IRQ[sh->irq] == 1)
153 free_irq(sh->irq, NULL);
155 reg_IRQ[sh->irq]--;
156 if (SD(sh)->channel == 0) {
157 if (sh->io_port && sh->n_io_port)
158 release_region(sh
202 struct Scsi_Host *sh; local
345 struct Scsi_Host *sh; local
698 struct Scsi_Host *sh; local
[all...]
H A Datari_scsi.c727 int atari_scsi_release(struct Scsi_Host *sh) argument
730 free_irq(IRQ_TT_MFP_SCSI, sh);
733 NCR5380_exit(sh);
H A Du14-34f.c610 static struct Scsi_Host *sh[MAX_BOARDS + 1]; variable in typeref:struct:Scsi_Host
631 #define HD(board) ((struct hostdata *) &sh[board]->hostdata)
764 if (wait_on_busy(sh[j]->io_port, MAXLOOP)) {
772 outb(CMD_CLR_INTR, sh[j]->io_port + REG_SYS_INTR);
775 outl(H2DEV(cpp->cp_dma_addr), sh[j]->io_port + REG_OGM);
778 outb(CMD_OGM_INTR, sh[j]->io_port + REG_LCL_INTR);
892 sh[j] = scsi_register(tpnt, sizeof(struct hostdata));
895 if (sh[j] == NULL) {
900 sh[j]->io_port = port_base;
901 sh[
[all...]
H A Dwd7000.c246 struct Scsi_Host *sh; /* Pointer to Scsi_Host structure */ member in struct:adapter
910 spin_lock_irqsave(host->sh->host_lock, flags);
923 spin_unlock_irqrestore(host->sh->host_lock, flags);
1011 spin_lock_irqsave(host->sh->host_lock, flags);
1081 spin_unlock_irqrestore(host->sh->host_lock, flags);
1403 struct Scsi_Host *sh; local
1493 * Scsi_Host structure (sh), and is located by the empty
1496 sh = scsi_register(tpnt, sizeof(Adapter));
1497 if (sh == NULL)
1500 host = (Adapter *) sh
[all...]
/drivers/video/mb862xx/
H A Dmb862xxfb.h8 unsigned short sh; member in struct:mb862xx_l1_cfg
/drivers/net/fddi/skfp/
H A Dskfddi.c1529 unsigned char s[255], sh[10]; local
1540 sprintf(sh, "%02x ", Data[j + i]);
1541 strcat(s, sh);
/drivers/target/
H A Dtarget_core_pscsi.c108 struct Scsi_Host *sh = phv->phv_lld_host; local
113 if (!sh)
120 " %s\n", hba->hba_id, (sh->hostt->name) ?
121 (sh->hostt->name) : "Unknown");
123 scsi_host_put(sh);
130 sh = scsi_host_lookup(phv->phv_host_id);
131 if (IS_ERR(sh)) {
134 return PTR_ERR(sh);
137 phv->phv_lld_host = sh;
141 hba->hba_id, (sh
408 struct Scsi_Host *sh = sd->host; variable in typeref:struct:Scsi_Host
456 struct Scsi_Host *sh = sd->host; variable in typeref:struct:Scsi_Host
491 struct Scsi_Host *sh = sd->host; variable in typeref:struct:Scsi_Host
515 struct Scsi_Host *sh = phv->phv_lld_host; local
[all...]
/drivers/video/
H A Dpxa3xx-gcu.c183 struct pxa3xx_gcu_shared *sh = priv->shared; local
190 sh->hw_running ? "running" : "idle ",
/drivers/block/
H A Dcciss_scsi.c58 struct Scsi_Host *sh,
535 struct Scsi_Host *sh = NULL; local
551 sh = h->scsi_ctlr->scsi_host;
643 scsi_device_lookup(sh, removed[i].bus,
662 rc = scsi_add_device(sh, added[i].bus,
857 struct Scsi_Host *sh; local
860 sh = scsi_host_alloc(&cciss_driver_template, sizeof(struct ctlr_info *));
861 if (sh == NULL)
863 sh->io_port = 0; // good enough? FIXME,
864 sh
1314 cciss_scsi_proc_info(struct Scsi_Host *sh, char *buffer, char **start, off_t offset, int length, int func) argument
[all...]
/drivers/message/fusion/
H A Dmptfc.c209 ioc->name, ioc->sh->host_no,
223 ioc->name, ioc->sh->host_no,
230 ioc->name, ioc->sh->host_no,
469 rport = fc_remote_port_add(ioc->sh, channel, &rport_ids);
497 ioc->sh->host_no,
993 struct Scsi_Host *sh; local
1001 sh = ioc->sh;
1003 sn = fc_host_symbolic_name(sh);
1009 fc_host_tgtid_bind_type(sh)
1182 struct Scsi_Host *sh; local
[all...]
H A Dmptspi.c1125 struct Scsi_Host *shost = ioc->sh;
1156 scsi_scan_target(&ioc->sh->shost_gendev, 1, disk, 0, 1);
1166 shost_printk(KERN_ERR, ioc->sh, MYIOC_s_FMT
1182 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh);
1279 shost_for_each_device(sdev, ioc->sh) {
1290 shost_for_each_device(sdev, ioc->sh)
1322 * if we get an ioc fault on bringup, ioc->sh will be NULL */
1324 ioc->sh) {
1325 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh);
1341 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh);
1363 struct Scsi_Host *sh; local
[all...]
H A Dmptscsih.c598 hd = shost_priv(ioc->sh);
1174 struct Scsi_Host *host = ioc->sh;
1201 ioc->sh = NULL;
1231 scsi_block_requests(ioc->sh);
1250 scsi_unblock_requests(ioc->sh);
2431 max_depth = ioc->sh->can_queue;
2456 struct Scsi_Host *sh = sdev->host; local
2460 MPT_SCSI_HOST *hd = shost_priv(sh);
2655 if (ioc->sh == NULL || shost_priv(ioc->sh)
[all...]
H A Dmptsas.c338 MPT_SCSI_HOST *hd = shost_priv(ioc->sh);
597 shost_for_each_device(sdev, ioc->sh) {
972 shost_for_each_device(sdev, ioc->sh) {
1116 MPT_SCSI_HOST *hd = shost_priv(ioc->sh);
1163 MPT_SCSI_HOST *hd = shost_priv(ioc->sh);
1199 MPT_SCSI_HOST *hd = shost_priv(ioc->sh);
1299 hd = shost_priv(ioc->sh);
3351 mptsas_probe_one_phy(&ioc->sh->shost_gendev,
3752 shost_for_each_device(sdev, ioc->sh) {
4016 sdev = scsi_device_lookup(ioc->sh, MPTSAS_RAID_CHANNE
5140 struct Scsi_Host *sh; local
[all...]
/drivers/media/video/s5p-fimc/
H A Dfimc-core.c198 int fimc_check_scaler_ratio(struct fimc_ctx *ctx, int sw, int sh, argument
205 return (sw == dw && sh == dh) ? 0 : -EINVAL;
207 if ((sw >= SCALER_MAX_HRATIO * dw) || (sh >= SCALER_MAX_VRATIO * dh))
215 u32 sh = 6; local
220 while (sh--) {
221 u32 tmp = 1 << sh;
223 *shift = sh, *ratio = tmp;
/drivers/net/ethernet/tile/
H A Dtilepro.c1680 struct skb_shared_info *sh = skb_shinfo(skb); local
1697 for (i = 0; i < sh->nr_frags; i++) {
1699 skb_frag_t *f = &sh->frags[i];
1732 * and "sh->frags" will contain "skb->data_len" bytes of payload, and
1733 * there will be "sh->gso_segs" segments.
1738 * In theory, "sh->nr_frags" could be 3, but in practice, it seems
1753 struct skb_shared_info *sh = skb_shinfo(skb); local
1781 unsigned int p_len = sh->gso_size;
1784 unsigned int num_segs = sh->gso_segs;
1926 struct skb_shared_info *sh local
[all...]
/drivers/net/wireless/iwlegacy/
H A D4965.c1860 int i, sh, idx; local
1929 sh = idx - start;
1930 if (sh > 64) {
1931 sh = (start - idx) + 0xff;
1932 bitmap = bitmap << sh;
1933 sh = 0;
1935 } else if (sh < -64)
1936 sh = 0xff - (start - idx);
1937 else if (sh < 0) {
1938 sh
[all...]
/drivers/xen/
H A Devents.c282 struct shared_info *sh,
285 return sh->evtchn_pending[idx] &
287 ~sh->evtchn_mask[idx];
1152 struct shared_info *sh = HYPERVISOR_shared_info; local
1178 for (i = ARRAY_SIZE(sh->evtchn_pending)-1; i >= 0; i--)
1179 printk("%0*lx%s", (int)sizeof(sh->evtchn_pending[0])*2,
1180 sh->evtchn_pending[i],
1183 for (i = ARRAY_SIZE(sh->evtchn_mask)-1; i >= 0; i--)
1185 (int)(sizeof(sh->evtchn_mask[0])*2),
1186 sh
281 active_evtchns(unsigned int cpu, struct shared_info *sh, unsigned int idx) argument
1493 struct shared_info *sh = HYPERVISOR_shared_info; local
[all...]

Completed in 606 milliseconds

12