Home
last modified time | relevance | path

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

/linux-6.6.21/arch/ia64/hp/common/
Dsba_iommu.c458 unsigned int bitshiftcnt) in ptr_to_pide() argument
461 + bitshiftcnt; in ptr_to_pide()
512 unsigned int bitshiftcnt; in sba_search_bitmap() local
515 bitshiftcnt = ffz(*res_ptr); in sba_search_bitmap()
516 *res_ptr |= (1UL << bitshiftcnt); in sba_search_bitmap()
517 pide = ptr_to_pide(ioc, res_ptr, bitshiftcnt); in sba_search_bitmap()
518 ioc->res_bitshift = bitshiftcnt + bits_wanted; in sba_search_bitmap()
534 uint bitshiftcnt = ROUNDUP(ioc->res_bitshift, o); in sba_search_bitmap() local
538 mask = base_mask << bitshiftcnt; in sba_search_bitmap()
545 for (; mask ; mask <<= o, bitshiftcnt += o) { in sba_search_bitmap()
[all …]
/linux-6.6.21/drivers/parisc/
Dsba_iommu.c324 unsigned int bitshiftcnt) in ptr_to_pide() argument
327 + bitshiftcnt; in ptr_to_pide()
384 uint bitshiftcnt = ALIGN(ioc->res_bitshift, o); in sba_search_bitmap() local
387 if (bitshiftcnt >= BITS_PER_LONG) { in sba_search_bitmap()
388 bitshiftcnt = 0; in sba_search_bitmap()
391 mask = RESMAP_MASK(bits_wanted) >> bitshiftcnt; in sba_search_bitmap()
398 tpide = ptr_to_pide(ioc, res_ptr, bitshiftcnt); in sba_search_bitmap()
408 bitshiftcnt += o; in sba_search_bitmap()
411 bitshiftcnt=0; in sba_search_bitmap()
416 ioc->res_bitshift = bitshiftcnt + bits_wanted; in sba_search_bitmap()