Lines Matching refs:dcrbase_l2c
29 static u32 dcrbase_l2c; variable
38 mtdcr(dcrbase_l2c + DCRN_L2C0_ADDR, addr); in l2c_diag()
39 mtdcr(dcrbase_l2c + DCRN_L2C0_CMD, L2C_CMD_DIAG); in l2c_diag()
40 while (!(mfdcr(dcrbase_l2c + DCRN_L2C0_SR) & L2C_SR_CC)) in l2c_diag()
43 return mfdcr(dcrbase_l2c + DCRN_L2C0_DATA); in l2c_diag()
48 u32 sr = mfdcr(dcrbase_l2c + DCRN_L2C0_SR); in l2c_error_handler()
65 mtdcr(dcrbase_l2c + DCRN_L2C0_ADDR, 0); in l2c_error_handler()
66 mtdcr(dcrbase_l2c + DCRN_L2C0_CMD, L2C_CMD_CCP | L2C_CMD_CTE); in l2c_error_handler()
108 dcrbase_l2c = dcrreg[2]; in ppc4xx_l2c_probe()
142 r = mfdcr(dcrbase_l2c + DCRN_L2C0_CFG) & in ppc4xx_l2c_probe()
145 mtdcr(dcrbase_l2c + DCRN_L2C0_CFG, r); in ppc4xx_l2c_probe()
147 mtdcr(dcrbase_l2c + DCRN_L2C0_ADDR, 0); in ppc4xx_l2c_probe()
150 mtdcr(dcrbase_l2c + DCRN_L2C0_CMD, L2C_CMD_HCC); in ppc4xx_l2c_probe()
151 while (!(mfdcr(dcrbase_l2c + DCRN_L2C0_SR) & L2C_SR_CC)) in ppc4xx_l2c_probe()
155 mtdcr(dcrbase_l2c + DCRN_L2C0_CMD, L2C_CMD_CCP | L2C_CMD_CTE); in ppc4xx_l2c_probe()
158 r = mfdcr(dcrbase_l2c + DCRN_L2C0_SNP0) & in ppc4xx_l2c_probe()
161 mtdcr(dcrbase_l2c + DCRN_L2C0_SNP0, r); in ppc4xx_l2c_probe()
163 r = mfdcr(dcrbase_l2c + DCRN_L2C0_SNP1) & in ppc4xx_l2c_probe()
166 mtdcr(dcrbase_l2c + DCRN_L2C0_SNP1, r); in ppc4xx_l2c_probe()
171 r = mfdcr(dcrbase_l2c + DCRN_L2C0_CFG); in ppc4xx_l2c_probe()
182 mtdcr(dcrbase_l2c + DCRN_L2C0_CFG, r); in ppc4xx_l2c_probe()