Lines Matching refs:wmask
1688 rman_res_t base, limit, wmask; in pcib_alloc_new_window() local
1735 wmask = ((rman_res_t)1 << w->step) - 1; in pcib_alloc_new_window()
1740 start &= ~wmask; in pcib_alloc_new_window()
1741 end |= wmask; in pcib_alloc_new_window()
1858 rman_res_t align, start_free, end_free, front, back, wmask; in pcib_grow_window() local
1877 wmask = ((rman_res_t)1 << w->step) - 1; in pcib_grow_window()
1947 front &= ~wmask; in pcib_grow_window()
1975 back |= wmask; in pcib_grow_window()
2011 KASSERT((w->base & wmask) == 0, ("start address is not aligned")); in pcib_grow_window()
2012 KASSERT((w->limit & wmask) == wmask, ("end address is not aligned")); in pcib_grow_window()
2114 rman_res_t wmask; in pcib_adjust_resource() local
2155 wmask = ((rman_res_t)1 << w->step) - 1; in pcib_adjust_resource()
2157 MIN(start & ~wmask, w->base), in pcib_adjust_resource()
2158 MAX(end | wmask, w->limit)); in pcib_adjust_resource()