/openbmc/linux/lib/ |
H A D | cpumask_kunit.c | 16 #define EXPECT_FOR_EACH_CPU_EQ(test, mask) \ argument 26 #define EXPECT_FOR_EACH_CPU_OP_EQ(test, op, mask1, mask2) \ argument 39 #define EXPECT_FOR_EACH_CPU_WRAP_EQ(test, mask) \ argument 49 #define EXPECT_FOR_EACH_CPU_BUILTIN_EQ(test, name) \ argument 62 static void test_cpumask_weight(struct kunit *test) in test_cpumask_weight() 73 static void test_cpumask_first(struct kunit *test) in test_cpumask_first() 83 static void test_cpumask_last(struct kunit *test) in test_cpumask_last() 91 static void test_cpumask_next(struct kunit *test) in test_cpumask_next() 103 static void test_cpumask_iterators(struct kunit *test) in test_cpumask_iterators() 117 static void test_cpumask_iterators_builtin(struct kunit *test) in test_cpumask_iterators_builtin() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/s390x/ |
H A D | tprot.c | 49 uint64_t mask; in test_protection() local 72 struct test { struct 79 * We perform each test in the array by executing TEST PROTECTION on argument
|
/openbmc/qemu/tests/unit/ |
H A D | test-io-channel-file.c | 44 QIOChannelTest *test; in test_io_channel_file_helper() local 46 mode_t mask; in test_io_channel_file_helper() local 109 QIOChannelTest *test; in test_io_channel_pipe() local
|
/openbmc/linux/drivers/platform/chrome/ |
H A D | cros_ec_proto_test.c | 26 static void cros_ec_proto_test_prepare_tx_legacy_normal(struct kunit *test) in cros_ec_proto_test_prepare_tx_legacy_normal() 84 static void cros_ec_proto_test_prepare_tx_normal(struct kunit *test) in cros_ec_proto_test_prepare_tx_normal() 138 static void cros_ec_proto_test_check_result(struct kunit *test) in cros_ec_proto_test_check_result() 178 static void cros_ec_proto_test_query_all_pretest(struct kunit *test) in cros_ec_proto_test_query_all_pretest() 193 static void cros_ec_proto_test_query_all_normal(struct kunit *test) in cros_ec_proto_test_query_all_normal() 1392 u32 mask; in cros_ec_proto_test_query_all_default_wake_mask_return_error() local 1519 u32 mask; in cros_ec_proto_test_query_all_default_wake_mask_return0() local 1540 static void cros_ec_proto_test_cmd_xfer_normal(struct kunit *test) in cros_ec_proto_test_cmd_xfer_normal() 2596 static void cros_ec_proto_test_ec_cmd(struct kunit *test) in cros_ec_proto_test_ec_cmd() 2647 static int cros_ec_proto_test_init(struct kunit *test) in cros_ec_proto_test_init() [all …]
|
/openbmc/linux/arch/x86/events/ |
H A D | probe.h | 9 bool (*test)(int idx, void *data); member 11 u64 mask; member
|
/openbmc/qemu/tests/tcg/xtensa/ |
H A D | test_sr.S | 45 .macro test_sr_mask sr, sym, mask 46 test \sr label
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_diag.c | 36 u32 mask, u32 write) in reg_pattern_test() 62 u32 mask, u32 write) in reg_set_and_check() 84 struct igc_reg_test *test = reg_test; in igc_reg_test() local
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-iop3xx.c | 193 all_bits_clear(unsigned test, unsigned mask) in all_bits_clear() 199 any_bits_set(unsigned test, unsigned mask) in any_bits_set()
|
/openbmc/linux/crypto/ |
H A D | api.c | 57 u32 mask) in __crypto_alg_lookup() 106 struct crypto_larval *crypto_larval_alloc(const char *name, u32 type, u32 mask) in crypto_larval_alloc() 127 u32 mask) in crypto_larval_add() 235 u32 mask) in crypto_alg_lookup() 239 u32 test = 0; in crypto_alg_lookup() local 272 u32 mask) in crypto_larval_lookup() 390 u32 mask, gfp_t gfp) in __crypto_alloc_tfmgfp() 422 u32 mask) in __crypto_alloc_tfm() 571 u32 type, u32 mask) in crypto_find_alg() 608 const struct crypto_type *frontend, u32 type, u32 mask, in crypto_alloc_tfm_node() [all …]
|
H A D | algapi.c | 375 struct crypto_larval *test; in crypto_alg_tested() local 725 const char *name, u32 type, u32 mask) in crypto_grab_spawn() 801 u32 mask) in crypto_spawn_tfm() 1043 u32 type, u32 mask) in crypto_type_has_alg()
|
/openbmc/qemu/target/alpha/ |
H A D | int_helper.c | 29 uint64_t mask; in helper_zapnot() local 43 uint64_t helper_zap(uint64_t val, uint64_t mask) in helper_zap() 64 uint64_t mask = 0x00ff00ff00ff00ffULL; in helper_cmpbge() local 65 uint64_t test = 0x0100010001000100ULL; in helper_cmpbge() local
|
/openbmc/qemu/target/microblaze/ |
H A D | op_helper.c | 32 int test = ctrl & STREAM_TEST; in helper_put() local 49 int test = ctrl & STREAM_TEST; in helper_get() local 359 uint32_t mask = 0xff000000; in helper_pcmpbf() local
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | pmu_event_filter_test.c | 493 #define INCLUDE_MASKED_ENTRY(event_select, mask, match) \ argument 495 #define EXCLUDE_MASKED_ENTRY(event_select, mask, match) \ argument 664 static int append_test_events(const struct masked_events_test *test, in append_test_events() 693 const struct masked_events_test *test = &test_cases[i]; in run_masked_events_tests() local
|
/openbmc/linux/tools/perf/arch/x86/tests/ |
H A D | intel-pt-test.c | 392 struct pt_caps mask = { /* Mask of bits to check*/ in compare_caps() local 436 int test__intel_pt_hybrid_compat(struct test_suite *test, int subtest) in test__intel_pt_hybrid_compat()
|
/openbmc/qemu/hw/i2c/ |
H A D | omap_i2c.c | 43 uint8_t mask; member 55 uint16_t test; member
|
/openbmc/linux/drivers/net/wireguard/selftest/ |
H A D | allowedips.c | 85 union nf_inet_addr mask; member 108 union nf_inet_addr mask; in horrible_cidr_to_mask() local 472 #define test(version, mem, ipa, ipb, ipc, ipd) do { \ macro
|
/openbmc/linux/include/linux/ |
H A D | bitops.h | 346 #define set_mask_bits(ptr, mask, bits) \ argument 361 #define bit_clear_unless(ptr, clear, test) \ argument
|
/openbmc/linux/sound/sparc/ |
H A D | cs4231.c | 306 unsigned char mask, unsigned char value) in snd_cs4231_outm() 1323 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4231_info_single() local 1341 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4231_get_single() local 1364 int mask = (kcontrol->private_value >> 16) & 0xff; in snd_cs4231_put_single() local 1388 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_cs4231_info_double() local 1408 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_cs4231_get_double() local 1439 int mask = (kcontrol->private_value >> 24) & 0xff; in snd_cs4231_put_double() local 1467 #define CS4231_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument 1474 shift_right, mask, invert) \ argument 1660 u32 test, csr; in sbus_dma_request() local [all …]
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ethtool.c | 567 u32 mask; member 607 int reg, u32 mask, u32 write) in reg_pattern_test() 635 int reg, u32 mask, u32 write) in reg_set_and_check() 659 const struct ixgbevf_reg_test *test; in ixgbevf_reg_test() local
|
/openbmc/linux/tools/iio/ |
H A D | iio_utils.c | 88 uint64_t *mask, unsigned int *be, in iioutils_get_type() 657 int test; in _write_sysfs_int() local
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A D | eeprom_4k.c | 581 u8 powerLimit, bool test) in ath9k_hw_4k_set_txpower() 1010 u32 pwrctrl, mask, clr; in ath9k_hw_4k_set_board_values() local
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ethtool_common.c | 130 struct ethtool_test *test, u64 *data) in efx_ethtool_self_test() 259 int *test, const char *unit_format, int unit_id, in efx_fill_test() 639 static inline void ip6_fill_mask(__be32 *mask) in ip6_fill_mask()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ethtool_common.c | 210 int *test, const char *unit_format, int unit_id, in efx_fill_test() 351 struct ethtool_test *test, u64 *data) in efx_siena_ethtool_self_test() 639 static inline void ip6_fill_mask(__be32 *mask) in ip6_fill_mask()
|
/openbmc/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ethtool.c | 786 int reg, int offset, u32 mask, u32 write) in reg_pattern_test() 789 static const u32 test[] = { in reg_pattern_test() local 808 int reg, u32 mask, u32 write) in reg_set_and_check() 823 #define REG_PATTERN_TEST_ARRAY(reg, offset, mask, write) \ argument 828 #define REG_PATTERN_TEST(reg, mask, write) \ argument 831 #define REG_SET_AND_CHECK(reg, mask, write) \ argument 846 u32 mask; in e1000_reg_test() local 1007 u32 mask; in e1000_intr_test() local
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/pcie/ |
H A D | trans.c | 1096 #define IWL_CAUSE(reg, mask) \ argument 1495 bool test, bool reset) in iwl_pcie_d3_complete_suspend() 1557 static int iwl_trans_pcie_d3_suspend(struct iwl_trans *trans, bool test, in iwl_trans_pcie_d3_suspend() 1578 bool test, bool reset) in iwl_trans_pcie_d3_resume() 1934 u32 mask = iwl_trans_pcie_prph_msk(trans); in iwl_trans_pcie_read_prph() local 1944 u32 mask = iwl_trans_pcie_prph_msk(trans); in iwl_trans_pcie_write_prph() local 2174 u32 mask = CSR_GP_CNTRL_REG_FLAG_MAC_CLOCK_READY | in __iwl_trans_pcie_grab_nic_access() local 2480 u32 mask, u32 value) in iwl_trans_pcie_set_bits_mask()
|