Searched refs:static_assert (Results 176 - 200 of 238) sorted by last modified time

12345678910

/linux-master/drivers/iio/adc/
H A Dstm32-adc.c2595 static_assert(ARRAY_SIZE(stm32_adc_min_ts_h7) == STM32_ADC_INT_CH_NB);
2614 static_assert(ARRAY_SIZE(stm32_adc_min_ts_mp1) == STM32_ADC_INT_CH_NB);
2634 static_assert(ARRAY_SIZE(stm32_adc_min_ts_mp13) == STM32_ADC_INT_CH_NB);
/linux-master/sound/soc/codecs/
H A Daudio-iio-aux.c127 static_assert(ARRAY_SIZE(widgets) >= 3, "3 widgets are needed");
128 static_assert(ARRAY_SIZE(routes) >= 2, "2 routes are needed");
/linux-master/include/linux/
H A Dminmax.h51 static_assert(__types_ok(x, y), \
67 static_assert(__builtin_choose_expr(__is_constexpr((lo) > (hi)), \
70 static_assert(__types_ok(val, lo), "clamp() 'lo' signedness error"); \
71 static_assert(__types_ok(val, hi), "clamp() 'hi' signedness error"); \
/linux-master/drivers/infiniband/hw/mlx5/
H A Dumr.c438 static_assert(PAGE_SIZE % MLX5_UMR_FLEX_ALIGNMENT == 0);
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_object.h401 static_assert(castable_to_type(n, pgoff_t)); \
446 static_assert(castable_to_type(n, pgoff_t)); \
491 static_assert(castable_to_type(n, pgoff_t)); \
527 static_assert(castable_to_type(n, pgoff_t)); \
562 static_assert(castable_to_type(n, pgoff_t)); \
600 static_assert(castable_to_type(n, pgoff_t)); \
635 static_assert(castable_to_type(n, pgoff_t)); \
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_pm_debugfs.c150 static_assert(sizeof(struct icp_qat_fw_init_admin_pm_info) < PAGE_SIZE);
H A Dadf_fw_counters.c29 static_assert(ARRAY_SIZE(adf_fw_counter_names) == ADF_FW_COUNTERS_COUNT);
/linux-master/include/linux/pds/
H A Dpds_core_if.h563 static_assert(sizeof(struct pds_core_drv_identity) <= 1912);
564 static_assert(sizeof(struct pds_core_dev_identity) <= 1912);
565 static_assert(sizeof(union pds_core_dev_cmd) == 64);
566 static_assert(sizeof(union pds_core_dev_comp) == 16);
567 static_assert(sizeof(struct pds_core_dev_info_regs) == 2048);
568 static_assert(sizeof(struct pds_core_dev_cmd_regs) == 2048);
569 static_assert(sizeof(struct pds_core_dev_regs) == 4096);
H A Dpds_adminq.h1249 static_assert(sizeof(union pds_core_adminq_cmd) == 64);
1250 static_assert(sizeof(union pds_core_adminq_comp) == 16);
1251 static_assert(sizeof(union pds_core_notifyq_comp) == 64);
/linux-master/drivers/power/supply/
H A Dsurface_battery.c72 static_assert(sizeof(struct spwr_bix) == 119);
82 static_assert(sizeof(struct spwr_bst) == 16);
/linux-master/drivers/platform/x86/intel/int3472/
H A Dclk_and_regulator.c236 static_assert(ARRAY_SIZE(skl_int3472_regulator_map_supplies) ==
/linux-master/drivers/platform/surface/
H A Dsurface_dtx.c70 static_assert(sizeof(struct ssam_bas_base_info) == 2);
/linux-master/drivers/net/wireless/realtek/rtw89/
H A Drtw8852c_rfk.c2701 static_assert(ARRAY_SIZE(kip_reg) == RTW8852C_DPK_KIP_REG_NUM);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dbridge_priv.h57 static_assert(MLX5_ESW_BRIDGE_INGRESS_TABLE_SIZE == 1048576);
80 static_assert(MLX5_ESW_BRIDGE_EGRESS_TABLE_SIZE == 524288);
109 static_assert(MLX5_ESW_BRIDGE_MCAST_TABLE_SIZE == 8192);
/linux-master/arch/x86/kvm/svm/
H A Davic.c60 static_assert(__AVIC_GATAG(AVIC_VM_ID_MASK, AVIC_VCPU_ID_MASK) == -1u);
/linux-master/kernel/events/
H A Dhw_breakpoint.c171 static_assert(hw_breakpoint_slots(TYPE_INST) == hw_breakpoint_slots(TYPE_DATA));
/linux-master/arch/sparc/kernel/
H A Dsignal32.c754 static_assert(NSIGILL == 11);
755 static_assert(NSIGFPE == 15);
756 static_assert(NSIGSEGV == 10);
757 static_assert(NSIGBUS == 5);
758 static_assert(NSIGTRAP == 6);
759 static_assert(NSIGCHLD == 6);
760 static_assert(NSIGSYS == 2);
761 static_assert(sizeof(compat_siginfo_t) == 128);
762 static_assert(__alignof__(compat_siginfo_t) == 4);
763 static_assert(offseto
[all...]
/linux-master/arch/arm64/kernel/
H A Dsignal32.c461 static_assert(NSIGILL == 11);
462 static_assert(NSIGFPE == 15);
463 static_assert(NSIGSEGV == 10);
464 static_assert(NSIGBUS == 5);
465 static_assert(NSIGTRAP == 6);
466 static_assert(NSIGCHLD == 6);
467 static_assert(NSIGSYS == 2);
468 static_assert(sizeof(compat_siginfo_t) == 128);
469 static_assert(__alignof__(compat_siginfo_t) == 4);
470 static_assert(offseto
[all...]
/linux-master/arch/arm/kernel/
H A Dsignal.c683 static_assert(NSIGILL == 11);
684 static_assert(NSIGFPE == 15);
685 static_assert(NSIGSEGV == 10);
686 static_assert(NSIGBUS == 5);
687 static_assert(NSIGTRAP == 6);
688 static_assert(NSIGCHLD == 6);
689 static_assert(NSIGSYS == 2);
690 static_assert(sizeof(siginfo_t) == 128);
691 static_assert(__alignof__(siginfo_t) == 4);
692 static_assert(offseto
[all...]
/linux-master/sound/pci/emu10k1/
H A Demufx.c1397 { static_assert(stereo_mix == playback + SND_EMU10K1_PLAYBACK_CHANNELS); }
/linux-master/net/ethtool/
H A Dtunnels.c16 static_assert(ETHTOOL_UDP_TUNNEL_TYPE_VXLAN == ilog2(UDP_TUNNEL_TYPE_VXLAN));
17 static_assert(ETHTOOL_UDP_TUNNEL_TYPE_GENEVE == ilog2(UDP_TUNNEL_TYPE_GENEVE));
18 static_assert(ETHTOOL_UDP_TUNNEL_TYPE_VXLAN_GPE ==
H A Dcoalesce.c30 static_assert((ETHTOOL_ ## x) == \
/linux-master/kernel/bpf/preload/iterators/
H A Diterators.lskel-little-endian.h428 #define _Static_assert static_assert
/linux-master/drivers/vfio/
H A Ddevice_cdev.c64 static_assert(__same_type(arg->out_devid, df->devid));
/linux-master/drivers/pinctrl/
H A Dpinctrl-mlxbf3.c243 static_assert(ARRAY_SIZE(mlxbf3_pinctrl_single_group_names) == MLXBF3_MAX_GPIO_PINS);

Completed in 301 milliseconds

12345678910