Lines Matching refs:conf
185 unsigned int conf = read_c0_config(); in early_flush_dcache() local
186 unsigned int dc_size = 1 << (12 + ((conf & CONF_DC) >> 6)); in early_flush_dcache()
202 unsigned int conf; in txx9_cache_fixup() local
204 conf = read_c0_config(); in txx9_cache_fixup()
207 conf |= TX49_CONF_IC; in txx9_cache_fixup()
208 write_c0_config(conf); in txx9_cache_fixup()
212 conf |= TX49_CONF_DC; in txx9_cache_fixup()
213 write_c0_config(conf); in txx9_cache_fixup()
217 conf = read_c0_config(); in txx9_cache_fixup()
219 conf &= ~TX49_CONF_IC; in txx9_cache_fixup()
221 conf &= ~TX49_CONF_DC; in txx9_cache_fixup()
222 write_c0_config(conf); in txx9_cache_fixup()
224 if (conf & TX49_CONF_IC) in txx9_cache_fixup()
226 if (conf & TX49_CONF_DC) in txx9_cache_fixup()
233 unsigned int conf = read_c0_config(); in early_flush_dcache() local
234 unsigned int dc_size = 1 << (10 + ((conf & TX39_CONF_DCS_MASK) >> in early_flush_dcache()
249 unsigned int conf; in txx9_cache_fixup() local
251 conf = read_c0_config(); in txx9_cache_fixup()
254 conf &= ~TX39_CONF_ICE; in txx9_cache_fixup()
255 write_c0_config(conf); in txx9_cache_fixup()
259 conf &= ~TX39_CONF_DCE; in txx9_cache_fixup()
260 write_c0_config(conf); in txx9_cache_fixup()
264 conf = read_c0_config(); in txx9_cache_fixup()
266 conf |= TX39_CONF_ICE; in txx9_cache_fixup()
268 conf |= TX39_CONF_DCE; in txx9_cache_fixup()
269 write_c0_config(conf); in txx9_cache_fixup()
271 if (!(conf & TX39_CONF_ICE)) in txx9_cache_fixup()
273 if (!(conf & TX39_CONF_DCE)) in txx9_cache_fixup()