Searched refs:const_ilog2 (Results 1 – 16 of 16) sorted by relevance
| /linux/net/ethtool/ |
| H A D | common.c | 506 [const_ilog2(WAKE_PHY)] = "phy", 507 [const_ilog2(WAKE_UCAST)] = "ucast", 508 [const_ilog2(WAKE_MCAST)] = "mcast", 509 [const_ilog2(WAKE_BCAST)] = "bcast", 510 [const_ilog2(WAKE_ARP)] = "arp", 511 [const_ilog2(WAKE_MAGIC)] = "magic", 512 [const_ilog2(WAKE_MAGICSECURE)] = "magicsecure", 513 [const_ilog2(WAKE_FILTER)] = "filter", 518 [const_ilog2(SOF_TIMESTAMPING_TX_HARDWARE)] = "hardware-transmit", 519 [const_ilog2(SOF_TIMESTAMPING_TX_SOFTWARE)] = "software-transmit", [all …]
|
| H A D | common.h | 15 #define __SOF_TIMESTAMPING_CNT (const_ilog2(SOF_TIMESTAMPING_LAST) + 1) 16 #define __HWTSTAMP_FLAG_CNT (const_ilog2(HWTSTAMP_FLAG_LAST) + 1)
|
| /linux/arch/arm64/include/asm/ |
| H A D | hwcap.h | 62 #define __khwcap_feature(x) const_ilog2(HWCAP_ ## x) 112 #define __khwcap2_feature(x) (const_ilog2(HWCAP2_ ## x) + 64) 178 #define __khwcap3_feature(x) (const_ilog2(HWCAP3_ ## x) + 128)
|
| /linux/drivers/gpu/drm/xe/regs/ |
| H A D | xe_reg_defs.h | 36 u32 addr:const_ilog2(XE_REG_ADDR_MAX);
|
| /linux/drivers/scsi/ |
| H A D | scsi_debugfs.c | 10 #define SCSI_CMD_FLAG_NAME(name)[const_ilog2(SCMD_##name)] = #name
|
| H A D | scsi_sysfs.c | 1055 [const_ilog2((__force __u64)BLIST_##name)] = #name
|
| /linux/include/linux/ |
| H A D | log2.h | 77 #define const_ilog2(n) \ macro
|
| H A D | userfaultfd_k.h | 95 #define MFILL_ATOMIC_MODE_BITS (const_ilog2(NR_MFILL_ATOMIC_MODES - 1) + 1)
|
| /linux/security/selinux/ss/ |
| H A D | sidtab.h | 40 #define size_to_shift(size) ((size) == 1 ? 1 : (const_ilog2((size)-1) + 1))
|
| /linux/arch/arm64/kernel/ |
| H A D | cpuinfo.c | 170 #define COMPAT_KERNEL_HWCAP(x) const_ilog2(COMPAT_HWCAP_ ## x) 202 #define COMPAT_KERNEL_HWCAP2(x) const_ilog2(COMPAT_HWCAP2_ ## x)
|
| /linux/net/netfilter/ |
| H A D | nft_set_pipapo.h | 53 #define NFT_PIPAPO_MAP_NBITS (const_ilog2(NFT_PIPAPO_MAX_BITS * 2))
|
| /linux/tools/testing/selftests/ublk/ |
| H A D | kublk.c | 1599 #define const_ilog2(x) (63 - __builtin_clzll(x)) in cmd_dev_get_features() macro 1600 #define FEAT_NAME(f) [const_ilog2(f)] = #f in cmd_dev_get_features()
|
| /linux/mm/kfence/ |
| H A D | core.c | 160 #define ALLOC_COVERED_ORDER (const_ilog2(CONFIG_KFENCE_NUM_OBJECTS) + 2)
|
| /linux/drivers/gpu/drm/panfrost/ |
| H A D | panfrost_mmu.c | 122 const_ilog2(AS_LOCK_REGION_MIN_SIZE)) - 1; in lock_region()
|
| /linux/drivers/gpu/drm/panthor/ |
| H A D | panthor_mmu.c | 553 const_ilog2(AS_LOCK_REGION_MIN_SIZE)) - 1; in pack_region_range()
|
| /linux/drivers/net/ethernet/mediatek/ |
| H A D | mtk_eth_soc.c | 5037 const_ilog2(MTK_ETH_SRAM_GRANULARITY), in mtk_setup_legacy_sram()
|