/linux-master/drivers/net/ethernet/sfc/falcon/ |
H A D | farch_regs.h | 2842 (BUILD_BUG_ON_ZERO(FR_AA_RX_DESC_UPD_KER != FR_BZ_RX_DESC_UPD_P0) + \ 2849 (BUILD_BUG_ON_ZERO(FR_AA_TX_DESC_UPD_KER != FR_BZ_TX_DESC_UPD_P0) + \
|
H A D | io.h | 238 BUILD_BUG_ON_ZERO((reg) != 0x830 && (reg) != 0xa10), \ 253 BUILD_BUG_ON_ZERO((reg) != 0x400 && \ 282 reg + BUILD_BUG_ON_ZERO((reg) != 0x420), \
|
/linux-master/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier.h | 170 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \
|
/linux-master/include/asm-generic/bitops/ |
H A D | const_hweight.h | 34 #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w)) 35 #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w)) 36 #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w)) 37 #define HWEIGHT64(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight64(w))
|
/linux-master/tools/include/asm-generic/bitops/ |
H A D | const_hweight.h | 34 #define HWEIGHT8(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight8(w)) 35 #define HWEIGHT16(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight16(w)) 36 #define HWEIGHT32(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight32(w)) 37 #define HWEIGHT64(w) (BUILD_BUG_ON_ZERO(!__builtin_constant_p(w)) + __const_hweight64(w))
|
/linux-master/tools/include/linux/ |
H A D | bug.h | 9 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) macro
|
/linux-master/arch/arc/kernel/ |
H A D | unwind.c | 44 BUILD_BUG_ON_ZERO(offsetof(struct unwind_frame_info, f) \
|
/linux-master/arch/x86/include/asm/ |
H A D | cpufeature.h | 69 * following BUILD_BUG_ON_ZERO() check but when NCAPINTS gets changed, all 98 BUILD_BUG_ON_ZERO(NCAPINTS != 22)) 124 BUILD_BUG_ON_ZERO(NCAPINTS != 22))
|
H A D | disabled-features.h | 159 #define DISABLED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 22)
|
H A D | required-features.h | 103 #define REQUIRED_MASK_CHECK BUILD_BUG_ON_ZERO(NCAPINTS != 22)
|
/linux-master/drivers/cdx/controller/ |
H A D | mcdi.h | 213 ((void)BUILD_BUG_ON_ZERO((_ofst) & ((_align) - 1)), \ 219 ((void)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 1), \ 222 ((void)BUILD_BUG_ON_ZERO(MC_CMD_ ## _field ## _LEN != 2), \
|
/linux-master/drivers/clk/samsung/ |
H A D | clk-pll.h | 49 BUILD_BUG_ON_ZERO(PLL_RATE(_fin, _m, _p, _s, _k, _ks) != (_fout)))
|
/linux-master/drivers/gpu/drm/i915/display/ |
H A D | intel_display_device.h | 79 BUILD_BUG_ON_ZERO((from) < IP_VER(2, 0)) + \
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt.h | 21 BUILD_BUG_ON_ZERO((from) < IP_VER(2, 0)) + \ 22 BUILD_BUG_ON_ZERO((until) < (from)) + \ 35 BUILD_BUG_ON_ZERO((from) < IP_VER(13, 0)) + \ 36 BUILD_BUG_ON_ZERO((until) < (from)) + \ 57 BUILD_BUG_ON_ZERO((until) <= (from)) + \ 75 BUILD_BUG_ON_ZERO((until) <= (from)) + \
|
H A D | intel_lrc.c | 52 #define LRI(count, flags) ((flags) << 6 | (count) | BUILD_BUG_ON_ZERO(count >= BIT(6))) 54 #define REG(x) (((x) >> 2) | BUILD_BUG_ON_ZERO(x >= 0x200)) 56 (((x) >> 9) | BIT(7) | BUILD_BUG_ON_ZERO(x >= 0x10000)), \
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_reg_defs.h | 22 BUILD_BUG_ON_ZERO(__is_constexpr(__n) && \ 35 BUILD_BUG_ON_ZERO(__is_constexpr(__n) && \ 49 BUILD_BUG_ON_ZERO(__is_constexpr(__high) && \ 64 BUILD_BUG_ON_ZERO(__is_constexpr(__high) && \ 79 BUILD_BUG_ON_ZERO(__is_constexpr(__high) && \ 100 BUILD_BUG_ON_ZERO(!__is_constexpr(__mask)) + \ 101 BUILD_BUG_ON_ZERO((__mask) == 0 || (__mask) > U32_MAX) + \ 102 BUILD_BUG_ON_ZERO(!IS_POWER_OF_2((__mask) + (1ULL << __bf_shf(__mask)))) + \ 103 BUILD_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & (__val)), 0)))) 117 BUILD_BUG_ON_ZERO(!__is_constexp [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_guc_hxg_helpers.h | 22 #define hxg_sizeof(T) (sizeof(T) / sizeof(u32) + BUILD_BUG_ON_ZERO(sizeof(T) % sizeof(u32)))
|
H A D | xe_lrc.c | 94 BUILD_BUG_ON_ZERO(count >= BIT(6))) 96 #define REG(x) (((x) >> 2) | BUILD_BUG_ON_ZERO(x >= 0x200)) 98 (((x) >> 9) | BIT(7) | BUILD_BUG_ON_ZERO(x >= 0x10000)), \
|
/linux-master/drivers/infiniband/core/ |
H A D | uverbs_cmd.c | 3691 BUILD_BUG_ON_ZERO(offsetof(req, response) != 0) + \ 3692 BUILD_BUG_ON_ZERO(sizeof_field(req, response) != \ 3702 BUILD_BUG_ON_ZERO(offsetof(req, driver_data) != \ 3704 BUILD_BUG_ON_ZERO(offsetof(resp, driver_data) != \ 3710 1 + BUILD_BUG_ON_ZERO(offsetof(req, driver_data) != \
|
/linux-master/drivers/infiniband/hw/hns/ |
H A D | hns_roce_common.h | 65 BUILD_BUG_ON_ZERO((field_h) != (field_l))); \
|
/linux-master/drivers/input/touchscreen/ |
H A D | elants_i2c.c | 1262 (BUILD_BUG_ON_ZERO(__ELANTS_FIELD_SIZE(_field) > 2) + \
|
/linux-master/drivers/iommu/iommufd/ |
H A D | iommufd_private.h | 232 sizeof(*(ptr)) + BUILD_BUG_ON_ZERO( \
|
H A D | main.c | 350 BUILD_BUG_ON_ZERO(sizeof(union ucmd_buffer) < \
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_core.h | 225 BUILD_BUG_ON_ZERO(MLX5_ST_SZ_BYTES(fte_match_param) != \ 371 (BUILD_BUG_ON_ZERO(FS_FT_PORT_SEL != FS_FT_MAX_TYPE))\
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | io.h | 195 BUILD_BUG_ON_ZERO((reg) != 0x830 && (reg) != 0xa10), \ 210 BUILD_BUG_ON_ZERO((reg) != 0x180 && \ 241 reg + BUILD_BUG_ON_ZERO((reg) != 0x420), \
|