Searched refs:hregs (Results 1 – 2 of 2) sorted by relevance
99 struct hpc3_ethregs *hregs; member125 static inline void hpc3_eth_reset(struct hpc3_ethregs *hregs) in hpc3_eth_reset() argument127 hregs->reset = HPC3_ERST_CRESET | HPC3_ERST_CLRIRQ; in hpc3_eth_reset()129 hregs->reset = 0; in hpc3_eth_reset()132 static inline void reset_hpc3_and_seeq(struct hpc3_ethregs *hregs, in reset_hpc3_and_seeq() argument135 hregs->rx_ctrl = hregs->tx_ctrl = 0; in reset_hpc3_and_seeq()136 hpc3_eth_reset(hregs); in reset_hpc3_and_seeq()143 struct hpc3_ethregs *hregs, in seeq_go() argument147 hregs->rx_ctrl = HPC3_ERXCTRL_ACTIVE; in seeq_go()250 struct hpc3_ethregs *hregs = gpriv->hregs; in sgiseeq_dump_rings() local[all …]
106 struct hpc3_scsiregs *hregs = in dma_setup() local127 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() local148 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[all …]