Lines Matching refs:cdmmbase
327 unsigned long cdmmbase = read_c0_cdmmbase(); in mips_cdmm_cur_base() local
329 if (!(cdmmbase & MIPS_CDMMBASE_EN)) in mips_cdmm_cur_base()
332 return (cdmmbase >> MIPS_CDMMBASE_ADDR_SHIFT) in mips_cdmm_cur_base()
374 unsigned long cdmmbase, flags; in mips_cdmm_setup() local
427 cdmmbase = read_c0_cdmmbase(); in mips_cdmm_setup()
428 cdmmbase &= (1ul << MIPS_CDMMBASE_ADDR_SHIFT) - 1; in mips_cdmm_setup()
429 cdmmbase |= (bus->phys >> MIPS_CDMMBASE_ADDR_START) in mips_cdmm_setup()
431 cdmmbase |= MIPS_CDMMBASE_EN; in mips_cdmm_setup()
432 write_c0_cdmmbase(cdmmbase); in mips_cdmm_setup()
436 bus->drbs = 1 + ((cdmmbase & MIPS_CDMMBASE_SIZE) >> in mips_cdmm_setup()
438 bus->drbs_reserved = !!(cdmmbase & MIPS_CDMMBASE_CI); in mips_cdmm_setup()