Lines Matching refs:priv2
86 struct spu_priv2 __iomem *priv2 = spu->priv2; in spu_hw_ibox_read() local
92 *data = in_be64(&priv2->puint_mb_R); in spu_hw_ibox_read()
137 struct spu_priv2 __iomem *priv2 = spu->priv2; in spu_hw_signal1_type_set() local
141 tmp = in_be64(&priv2->spu_cfg_RW); in spu_hw_signal1_type_set()
146 out_be64(&priv2->spu_cfg_RW, tmp); in spu_hw_signal1_type_set()
152 return ((in_be64(&ctx->spu->priv2->spu_cfg_RW) & 1) != 0); in spu_hw_signal1_type_get()
158 struct spu_priv2 __iomem *priv2 = spu->priv2; in spu_hw_signal2_type_set() local
162 tmp = in_be64(&priv2->spu_cfg_RW); in spu_hw_signal2_type_set()
167 out_be64(&priv2->spu_cfg_RW, tmp); in spu_hw_signal2_type_set()
173 return ((in_be64(&ctx->spu->priv2->spu_cfg_RW) & 2) != 0); in spu_hw_signal2_type_get()
198 out_be64(&ctx->spu->priv2->spu_privcntl_RW, val); in spu_hw_privcntl_write()
302 struct spu_priv2 __iomem *priv2 = ctx->spu->priv2; in spu_hw_restart_dma() local
305 out_be64(&priv2->mfc_control_RW, MFC_CNTL_RESTART_DMA_COMMAND); in spu_hw_restart_dma()