Lines Matching refs:hreg
150 struct Scsi_Host *hreg; /* registered host structure */ variable
546 int qlogicfas_release(struct Scsi_Host *hreg) in qlogicfas_release() argument
551 free_irq(qlirq, hreg); in qlogicfas_release()
553 scsi_unregister(hreg); in qlogicfas_release()
639 hreg = scsi_register( host , 0 ); /* no host data */ in qlogicfas_detect()
640 if (!hreg) in qlogicfas_detect()
645 if(request_irq(qlirq, do_ql_ihandl, SA_SHIRQ, "qlogicfas", hreg) < 0) in qlogicfas_detect()
647 if(request_irq(qlirq, do_ql_ihandl, SA_SHIRQ, "qlogicfas", hreg) < 0) in qlogicfas_detect()
650 scsi_unregister(hreg); in qlogicfas_detect()
654 hreg->io_port = qbase; in qlogicfas_detect()
655 hreg->n_io_port = 16; in qlogicfas_detect()
656 hreg->dma_channel = -1; in qlogicfas_detect()
658 hreg->irq = qlirq; in qlogicfas_detect()
669 free_irq(qlirq, hreg); in qlogicfas_detect()