Home
last modified time | relevance | path

Searched refs:pshost (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/drivers/scsi/
Dpsi240i.c214 static ULONG DecodeError (struct Scsi_Host *pshost, UCHAR status) in DecodeError() argument
216 PADAPTER240I padapter = HOSTDATA(pshost); in DecodeError()
571 struct Scsi_Host *pshost; in Psi240i_Detect() local
599 pshost = scsi_register (tpnt, sizeof(ADAPTER240I)); in Psi240i_Detect()
600 if(pshost == NULL) in Psi240i_Detect()
612 PsiHost[chipConfig.irq - 10] = pshost; in Psi240i_Detect()
613 pshost->unique_id = port; in Psi240i_Detect()
614 pshost->io_port = port; in Psi240i_Detect()
615 pshost->n_io_port = 16; /* Number of bytes of I/O space used */ in Psi240i_Detect()
616 pshost->irq = chipConfig.irq; in Psi240i_Detect()
[all …]
Dpci2000.c665 struct Scsi_Host *pshost; in Pci2000_Detect() local
684 pshost = scsi_register (tpnt, sizeof(ADAPTER2000)); in Pci2000_Detect()
685 if(pshost == NULL) in Pci2000_Detect()
687 padapter = HOSTDATA(pshost); in Pci2000_Detect()
714 scsi_set_pci_device(pshost, pdev); in Pci2000_Detect()
715 pshost->irq = pdev->irq; in Pci2000_Detect()
720 if ( PsiHost[z]->irq == pshost->irq ) // if shared then, don't posses in Pci2000_Detect()
725 if ( request_irq (pshost->irq, Irq_Handler, SA_SHIRQ, "pci2000", padapter) < 0 ) in Pci2000_Detect()
727 if ( request_irq (pshost->irq, Irq_Handler, SA_INTERRUPT | SA_SHIRQ, "pci2000", padapter) < 0 ) in Pci2000_Detect()
734 padapter->irqOwned = pshost->irq; // set IRQ as owned in Pci2000_Detect()
[all …]
Dpci2220i.c2375 static USHORT GetRegs (struct Scsi_Host *pshost, BOOL bigd, struct pci_dev *pcidev) in GetRegs() argument
2384 padapter = HOSTDATA(pshost); in GetRegs()
2437 pshost->irq = pcidev->irq; in GetRegs()
2441 if ( PsiHost[z]->irq == pshost->irq ) // if shared then, don't posses in GetRegs()
2446 if ( request_irq (pshost->irq, Irq_Handler, SA_SHIRQ, "pci2220i", padapter) < 0 ) in GetRegs()
2448 if ( request_irq (pshost->irq, Irq_Handler, SA_INTERRUPT | SA_SHIRQ, "pci2220i", padapter) < 0 ) in GetRegs()
2454 padapter->irqOwned = pshost->irq; // set IRQ as owned in GetRegs()
2464 free_irq (pshost->irq, padapter); in GetRegs()
2470 PsiHost[Installed] = pshost; // save SCSI_HOST pointer in GetRegs()
2471 pshost->io_port = padapter->basePort; in GetRegs()
[all …]
Dpci2220i.h35 int Pci2220i_Release (struct Scsi_Host *pshost);
Dpci2000.h196 int Pci2000_Release (struct Scsi_Host *pshost);
Datp870u.c2868 int atp870u_release (struct Scsi_Host *pshost) in atp870u_release() argument
2873 if (pshost == atp_host[h]) { in atp870u_release()
2875 free_irq (pshost->irq, &atp_unit[h]); in atp870u_release()
2876 release_region (pshost->io_port, pshost->n_io_port); in atp870u_release()
2877 scsi_unregister(pshost); in atp870u_release()