Searched refs:get_bitmask_order (Results 1 – 8 of 8) sorted by relevance
690 desc->dwcnt = is_power_of_2(len) ? len : 1 << get_bitmask_order(len); in fsl_add_outb_message()793 ((get_bitmask_order(entries) - 2) << 12)); in fsl_open_outb_mbox()907 setbits32(&rmu->msg_regs->imr, (get_bitmask_order(entries) - 2) << 12); in fsl_open_inb_mbox()
86 static inline int get_bitmask_order(unsigned int count) in get_bitmask_order() function
535 sbi->s_block_shift = get_bitmask_order(sbi->s_blocksize) - in omfs_fill_super()536 get_bitmask_order(sbi->s_sys_blocksize); in omfs_fill_super()
484 zone = get_bitmask_order(status) - 1; in bwmon_intr()
527 info->win_order = get_bitmask_order(resource_size(res)) - 1; in physmap_flash_probe()
201 bits = get_bitmask_order(VLAN_VID_MASK); in xlgmac_vid_crc32_le()
904 bits = get_bitmask_order(VLAN_VID_MASK); in xgbe_vid_crc32_le()
6291 bits = get_bitmask_order(VLAN_VID_MASK); in stmmac_vid_crc32_le()