Lines Matching refs:dcrbase_l2c
26 static u32 dcrbase_l2c; variable
35 mtdcr(dcrbase_l2c + DCRN_L2C0_ADDR, addr); in l2c_diag()
36 mtdcr(dcrbase_l2c + DCRN_L2C0_CMD, L2C_CMD_DIAG); in l2c_diag()
37 while (!(mfdcr(dcrbase_l2c + DCRN_L2C0_SR) & L2C_SR_CC)) in l2c_diag()
40 return mfdcr(dcrbase_l2c + DCRN_L2C0_DATA); in l2c_diag()
45 u32 sr = mfdcr(dcrbase_l2c + DCRN_L2C0_SR); in l2c_error_handler()
62 mtdcr(dcrbase_l2c + DCRN_L2C0_ADDR, 0); in l2c_error_handler()
63 mtdcr(dcrbase_l2c + DCRN_L2C0_CMD, L2C_CMD_CCP | L2C_CMD_CTE); in l2c_error_handler()
104 dcrbase_l2c = dcrreg[2]; in ppc4xx_l2c_probe()
138 r = mfdcr(dcrbase_l2c + DCRN_L2C0_CFG) & in ppc4xx_l2c_probe()
141 mtdcr(dcrbase_l2c + DCRN_L2C0_CFG, r); in ppc4xx_l2c_probe()
143 mtdcr(dcrbase_l2c + DCRN_L2C0_ADDR, 0); in ppc4xx_l2c_probe()
146 mtdcr(dcrbase_l2c + DCRN_L2C0_CMD, L2C_CMD_HCC); in ppc4xx_l2c_probe()
147 while (!(mfdcr(dcrbase_l2c + DCRN_L2C0_SR) & L2C_SR_CC)) in ppc4xx_l2c_probe()
151 mtdcr(dcrbase_l2c + DCRN_L2C0_CMD, L2C_CMD_CCP | L2C_CMD_CTE); in ppc4xx_l2c_probe()
154 r = mfdcr(dcrbase_l2c + DCRN_L2C0_SNP0) & in ppc4xx_l2c_probe()
157 mtdcr(dcrbase_l2c + DCRN_L2C0_SNP0, r); in ppc4xx_l2c_probe()
159 r = mfdcr(dcrbase_l2c + DCRN_L2C0_SNP1) & in ppc4xx_l2c_probe()
162 mtdcr(dcrbase_l2c + DCRN_L2C0_SNP1, r); in ppc4xx_l2c_probe()
167 r = mfdcr(dcrbase_l2c + DCRN_L2C0_CFG); in ppc4xx_l2c_probe()
178 mtdcr(dcrbase_l2c + DCRN_L2C0_CFG, r); in ppc4xx_l2c_probe()