Lines Matching refs:dcrbase_l2c
25 static u32 dcrbase_l2c; variable
34 mtdcr(dcrbase_l2c + DCRN_L2C0_ADDR, addr); in l2c_diag()
35 mtdcr(dcrbase_l2c + DCRN_L2C0_CMD, L2C_CMD_DIAG); in l2c_diag()
36 while (!(mfdcr(dcrbase_l2c + DCRN_L2C0_SR) & L2C_SR_CC)) in l2c_diag()
39 return mfdcr(dcrbase_l2c + DCRN_L2C0_DATA); in l2c_diag()
44 u32 sr = mfdcr(dcrbase_l2c + DCRN_L2C0_SR); in l2c_error_handler()
61 mtdcr(dcrbase_l2c + DCRN_L2C0_ADDR, 0); in l2c_error_handler()
62 mtdcr(dcrbase_l2c + DCRN_L2C0_CMD, L2C_CMD_CCP | L2C_CMD_CTE); in l2c_error_handler()
103 dcrbase_l2c = dcrreg[2]; in ppc4xx_l2c_probe()
137 r = mfdcr(dcrbase_l2c + DCRN_L2C0_CFG) & in ppc4xx_l2c_probe()
140 mtdcr(dcrbase_l2c + DCRN_L2C0_CFG, r); in ppc4xx_l2c_probe()
142 mtdcr(dcrbase_l2c + DCRN_L2C0_ADDR, 0); in ppc4xx_l2c_probe()
145 mtdcr(dcrbase_l2c + DCRN_L2C0_CMD, L2C_CMD_HCC); in ppc4xx_l2c_probe()
146 while (!(mfdcr(dcrbase_l2c + DCRN_L2C0_SR) & L2C_SR_CC)) in ppc4xx_l2c_probe()
150 mtdcr(dcrbase_l2c + DCRN_L2C0_CMD, L2C_CMD_CCP | L2C_CMD_CTE); in ppc4xx_l2c_probe()
153 r = mfdcr(dcrbase_l2c + DCRN_L2C0_SNP0) & in ppc4xx_l2c_probe()
156 mtdcr(dcrbase_l2c + DCRN_L2C0_SNP0, r); in ppc4xx_l2c_probe()
158 r = mfdcr(dcrbase_l2c + DCRN_L2C0_SNP1) & in ppc4xx_l2c_probe()
161 mtdcr(dcrbase_l2c + DCRN_L2C0_SNP1, r); in ppc4xx_l2c_probe()
166 r = mfdcr(dcrbase_l2c + DCRN_L2C0_CFG); in ppc4xx_l2c_probe()
177 mtdcr(dcrbase_l2c + DCRN_L2C0_CFG, r); in ppc4xx_l2c_probe()