Lines Matching refs:ps
165 #define ATE_PAGESHIFT(ps) (__ffs(ps)) argument
166 #define ATE_PAGEMASK(ps) ((ps)-1) argument
168 #define ATE_PAGE(x, ps) ((x) >> ATE_PAGESHIFT(ps)) argument
173 #define ATE_MAKE(addr, ps, msi) \ argument
174 (((addr) & ~ATE_PAGEMASK(ps)) | (1UL << 63) | ((msi)?(1UL << 62):0))
704 int ate_index, last_ate, ps; in tioce_reserve_m32() local
708 ps = ce_kern->ce_ate3240_pagesize; in tioce_reserve_m32()
709 ate_index = ATE_PAGE(base, ps); in tioce_reserve_m32()
710 last_ate = ate_index + ATE_NPAGES(base, limit-base+1, ps) - 1; in tioce_reserve_m32()
721 ate = ATE_MAKE(0xdeadbeef, ps, 0); in tioce_reserve_m32()
737 int ps; in tioce_kern_init() local
777 ps = tioce_kern->ce_ate3240_pagesize = KB(256); in tioce_kern_init()