Home
last modified time | relevance | path

Searched refs:cdmmbase (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/bus/
A Dmips_cdmm.c327 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()
373 unsigned long cdmmbase, flags; in mips_cdmm_setup() local
426 cdmmbase = read_c0_cdmmbase(); in mips_cdmm_setup()
427 cdmmbase &= (1ul << MIPS_CDMMBASE_ADDR_SHIFT) - 1; in mips_cdmm_setup()
428 cdmmbase |= (bus->phys >> MIPS_CDMMBASE_ADDR_START) in mips_cdmm_setup()
430 cdmmbase |= MIPS_CDMMBASE_EN; in mips_cdmm_setup()
431 write_c0_cdmmbase(cdmmbase); in mips_cdmm_setup()
435 bus->drbs = 1 + ((cdmmbase & MIPS_CDMMBASE_SIZE) >> in mips_cdmm_setup()
[all …]

Completed in 3 milliseconds