Lines Matching refs:hregs
106 struct hpc3_scsiregs *hregs = in dma_setup() local
127 hregs->ndptr = hdata->dma; in dma_setup()
129 hregs->ctrl = HPC3_SCTRL_ACTIVE; in dma_setup()
131 hregs->ctrl = HPC3_SCTRL_ACTIVE | HPC3_SCTRL_DIR; in dma_setup()
140 struct hpc3_scsiregs *hregs; in dma_stop() local
148 hregs = (struct hpc3_scsiregs *) SCpnt->device->host->base; in dma_stop()
154 hregs->ctrl |= HPC3_SCTRL_FLUSH; in dma_stop()
155 while (hregs->ctrl & HPC3_SCTRL_ACTIVE) in dma_stop()
158 hregs->ctrl = 0; in dma_stop()
168 struct hpc3_scsiregs *hregs = (struct hpc3_scsiregs *) base; in sgiwd93_reset() local
170 hregs->ctrl = HPC3_SCTRL_CRESET; in sgiwd93_reset()
172 hregs->ctrl = 0; in sgiwd93_reset()
218 struct hpc3_scsiregs *hregs = pd->hregs; in sgiwd93_probe() local
232 host->base = (unsigned long) hregs; in sgiwd93_probe()