Lines Matching refs:pshost

2375 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()
2472 pshost->n_io_port = 0xFF; in GetRegs()
2473 pshost->unique_id = padapter->regBase; in GetRegs()
2527 struct Scsi_Host *pshost; in Pci2220i_Detect() local
2547 pshost = scsi_register (tpnt, sizeof(ADAPTER2220I)); in Pci2220i_Detect()
2548 if(pshost==NULL) in Pci2220i_Detect()
2551 padapter = HOSTDATA(pshost); in Pci2220i_Detect()
2553 if ( GetRegs (pshost, FALSE, pcidev) ) in Pci2220i_Detect()
2556 scsi_set_pci_device(pshost, pcidev); in Pci2220i_Detect()
2557 pshost->max_id = padapter->numberOfDrives; in Pci2220i_Detect()
2640 SetupFinish (padapter, "2220", pshost->irq); in Pci2220i_Detect()
2646 scsi_unregister (pshost); in Pci2220i_Detect()
2651 pshost = scsi_register (tpnt, sizeof(ADAPTER2220I)); in Pci2220i_Detect()
2652 padapter = HOSTDATA(pshost); in Pci2220i_Detect()
2654 if ( GetRegs (pshost, TRUE, pcidev) ) in Pci2220i_Detect()
2660 scsi_set_pci_device(pshost, pcidev); in Pci2220i_Detect()
2661 pshost->max_id = padapter->numberOfDrives; in Pci2220i_Detect()
2771 pshost->max_id = 8; in Pci2220i_Detect()
2774 SetupFinish (padapter, "2240", pshost->irq); in Pci2220i_Detect()
2780 scsi_unregister (pshost); in Pci2220i_Detect()
2851 int Pci2220i_Release (struct Scsi_Host *pshost) in Pci2220i_Release() argument
2853 PADAPTER2220I padapter = HOSTDATA (pshost); in Pci2220i_Release()
2887 free_irq (pshost->irq, padapter); in Pci2220i_Release()
2888 release_region (pshost->io_port, pshost->n_io_port); in Pci2220i_Release()
2893 scsi_unregister(pshost); in Pci2220i_Release()