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

/linux-4.1.27/arch/ia64/hp/common/
H A Dsba_iommu.c466 unsigned int bitshiftcnt) ptr_to_pide()
469 + bitshiftcnt; ptr_to_pide()
521 unsigned int bitshiftcnt; sba_search_bitmap() local
524 bitshiftcnt = ffz(*res_ptr); sba_search_bitmap()
525 *res_ptr |= (1UL << bitshiftcnt); sba_search_bitmap()
526 pide = ptr_to_pide(ioc, res_ptr, bitshiftcnt); sba_search_bitmap()
527 ioc->res_bitshift = bitshiftcnt + bits_wanted; sba_search_bitmap()
543 uint bitshiftcnt = ROUNDUP(ioc->res_bitshift, o); sba_search_bitmap() local
547 mask = base_mask << bitshiftcnt; sba_search_bitmap()
554 for (; mask ; mask <<= o, bitshiftcnt += o) { sba_search_bitmap()
555 tpide = ptr_to_pide(ioc, res_ptr, bitshiftcnt); sba_search_bitmap()
562 ioc->res_bitshift = bitshiftcnt + bits_wanted; sba_search_bitmap()
567 bitshiftcnt = 0; sba_search_bitmap()
465 ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr, unsigned int bitshiftcnt) ptr_to_pide() argument
/linux-4.1.27/drivers/parisc/
H A Dsba_iommu.c320 unsigned int bitshiftcnt) ptr_to_pide()
323 + bitshiftcnt; ptr_to_pide()
380 uint bitshiftcnt = ALIGN(ioc->res_bitshift, o); sba_search_bitmap() local
383 if (bitshiftcnt >= BITS_PER_LONG) { sba_search_bitmap()
384 bitshiftcnt = 0; sba_search_bitmap()
387 mask = RESMAP_MASK(bits_wanted) >> bitshiftcnt; sba_search_bitmap()
394 tpide = ptr_to_pide(ioc, res_ptr, bitshiftcnt); sba_search_bitmap()
404 bitshiftcnt += o; sba_search_bitmap()
407 bitshiftcnt=0; sba_search_bitmap()
412 ioc->res_bitshift = bitshiftcnt + bits_wanted; sba_search_bitmap()
319 ptr_to_pide(struct ioc *ioc, unsigned long *res_ptr, unsigned int bitshiftcnt) ptr_to_pide() argument

Completed in 72 milliseconds