Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iommu/
H A Dfsl_pamu.c139 static unsigned int map_addrspace_size_to_wse(phys_addr_t addrspace_size) in map_addrspace_size_to_wse() argument
142 BUG_ON(addrspace_size & (addrspace_size - 1)); in map_addrspace_size_to_wse()
145 return fls64(addrspace_size) - 2; in map_addrspace_size_to_wse()
/openbmc/u-boot/arch/powerpc/cpu/mpc8xxx/
H A Dfsl_pamu.c31 static unsigned int map_addrspace_size_to_wse(uint64_t addrspace_size) in map_addrspace_size_to_wse() argument
34 return count_lsb_zeroes(addrspace_size >> PAMU_PAGE_SHIFT) + in map_addrspace_size_to_wse()