Lines Matching refs:hregs
112 struct hpc3_scsiregs *hregs = in dma_setup() local
133 hregs->ndptr = hdata->dma; in dma_setup()
135 hregs->ctrl = HPC3_SCTRL_ACTIVE; in dma_setup()
137 hregs->ctrl = HPC3_SCTRL_ACTIVE | HPC3_SCTRL_DIR; in dma_setup()
147 struct hpc3_scsiregs *hregs; in dma_stop() local
155 hregs = (struct hpc3_scsiregs *) SCpnt->device->host->base; in dma_stop()
161 hregs->ctrl |= HPC3_SCTRL_FLUSH; in dma_stop()
162 while (hregs->ctrl & HPC3_SCTRL_ACTIVE) in dma_stop()
165 hregs->ctrl = 0; in dma_stop()
175 struct hpc3_scsiregs *hregs = (struct hpc3_scsiregs *) base; in sgiwd93_reset() local
177 hregs->ctrl = HPC3_SCTRL_CRESET; in sgiwd93_reset()
179 hregs->ctrl = 0; in sgiwd93_reset()
226 struct hpc3_scsiregs *hregs = pd->hregs; in sgiwd93_probe() local
240 host->base = (unsigned long) hregs; in sgiwd93_probe()