Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/parisc/
Dsba_iommu.c314 #define RESMAP_MASK(n) (~0UL << (BITS_PER_LONG - (n))) macro
362 *res_ptr = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
385 mask = RESMAP_MASK(bits_wanted) >> bitshiftcnt; in sba_search_bitmap()
404 mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
497 unsigned long m = RESMAP_MASK(bits_not_wanted) >> (pide & (BITS_PER_LONG - 1)); in sba_free_range()
/linux-2.6.39/drivers/video/omap/
Ddispc.c151 #define RESMAP_MASK(_page_nr) \ macro
1160 return *RESMAP_PTR(res_map, page_nr) & RESMAP_MASK(page_nr) ? 1 : 0; in resmap_page_reserved()
1166 *RESMAP_PTR(res_map, page_nr) |= RESMAP_MASK(page_nr); in resmap_reserve_page()
1172 *RESMAP_PTR(res_map, page_nr) &= ~RESMAP_MASK(page_nr); in resmap_free_page()
/linux-2.6.39/arch/ia64/hp/common/
Dsba_iommu.c442 #define RESMAP_MASK(n) ~(~0UL << (n)) macro
546 base_mask = RESMAP_MASK(bits_wanted); in sba_search_bitmap()
597 res_ptr[i] |= RESMAP_MASK(bits); in sba_search_bitmap()
752 m = RESMAP_MASK(bits_not_wanted) << (pide & (BITS_PER_LONG - 1)); in sba_free_range()