Home
last modified time | relevance | path

Searched refs:const_ilog2 (Results 1 – 12 of 12) sorted by relevance

/linux/net/ethtool/
H A Dcommon.h15 #define __SOF_TIMESTAMPING_CNT (const_ilog2(SOF_TIMESTAMPING_LAST) + 1)
16 #define __HWTSTAMP_FLAG_CNT (const_ilog2(HWTSTAMP_FLAG_LAST) + 1)
/linux/drivers/scsi/
H A Dscsi_debugfs.c10 #define SCSI_CMD_FLAG_NAME(name)[const_ilog2(SCMD_##name)] = #name
H A Dscsi_sysfs.c1071 [const_ilog2((__force __u64)BLIST_##name)] = #name
/linux/security/selinux/ss/
H A Dsidtab.h40 #define size_to_shift(size) ((size) == 1 ? 1 : (const_ilog2((size)-1) + 1))
/linux/arch/arm64/kernel/
H A Dcpuinfo.c164 #define COMPAT_KERNEL_HWCAP(x) const_ilog2(COMPAT_HWCAP_ ## x)
196 #define COMPAT_KERNEL_HWCAP2(x) const_ilog2(COMPAT_HWCAP2_ ## x)
/linux/net/netfilter/
H A Dnft_set_pipapo.h50 #define NFT_PIPAPO_MAP_NBITS (const_ilog2(NFT_PIPAPO_MAX_BITS * 2))
/linux/drivers/gpu/drm/msm/
H A Dmsm_perfcntr.c406 if (args->bufsz_shift > const_ilog2(SZ_128M)) in msm_ioctl_perfcntr_config()
/linux/mm/kfence/
H A Dcore.c165 #define ALLOC_COVERED_ORDER (const_ilog2(CONFIG_KFENCE_NUM_OBJECTS) + 2)
/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_mmu.c122 const_ilog2(AS_LOCK_REGION_MIN_SIZE)) - 1; in lock_region()
/linux/tools/testing/selftests/ublk/
H A Dkublk.c2062 #define const_ilog2(x) (63 - __builtin_clzll(x)) in cmd_dev_get_features() macro
2063 #define FEAT_NAME(f) [const_ilog2(f)] = #f in cmd_dev_get_features()
/linux/drivers/gpu/drm/panthor/
H A Dpanthor_mmu.c587 const_ilog2(AS_LOCK_REGION_MIN_SIZE)) - 1; in pack_region_range()
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_eth_soc.c5104 const_ilog2(MTK_ETH_SRAM_GRANULARITY), in mtk_setup_legacy_sram()