Lines Matching refs:ampr
209 static void __init printk_xampr(unsigned long ampr, unsigned long amlr, char i_d, int n)
217 virt = ampr & 0xffffc000;
220 phys = ampr & xAMPRx_PPFN;
221 size = 1 << (((ampr & xAMPRx_SS) >> 4) + 17);
227 ampr & xAMPRx_S ? 'S' : '-',
228 ampr & xAMPRx_C ? 'C' : '-',
229 ampr & DAMPRx_WP ? 'W' : '-',
230 ampr & xAMPRx_V ? 'V' : '-',
660 unsigned long ampr; in reserve_dma_coherent() local
665 ampr = __get_DAMPR(r); \ in reserve_dma_coherent()
666 __set_DAMPR(r, ampr | xAMPRx_S | xAMPRx_C); \ in reserve_dma_coherent()
694 dma_coherent_mem_start = ampr & xAMPRx_PPFN; in reserve_dma_coherent()
695 ampr &= xAMPRx_SS; in reserve_dma_coherent()
696 ampr >>= 4; in reserve_dma_coherent()
697 ampr = 1 << (ampr - 3 + 20); in reserve_dma_coherent()
698 dma_coherent_mem_end = dma_coherent_mem_start + ampr; in reserve_dma_coherent()