Home
last modified time | relevance | path

Searched refs:expected_val (Results 1 – 10 of 10) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
A Dbpf_iter.c597 __u64 val, expected_val = 0; in test_bpf_hash_map() local
641 expected_val += val; in test_bpf_hash_map()
674 skel->bss->val_sum, expected_val)) in test_bpf_hash_map()
692 __u32 expected_val = 0; in test_bpf_percpu_hash_map() local
727 expected_val += i + j; in test_bpf_percpu_hash_map()
764 skel->bss->val_sum, expected_val)) in test_bpf_percpu_hash_map()
796 expected_val += val; in test_bpf_array_map()
841 skel->bss->val_sum, expected_val)) in test_bpf_array_map()
894 expected_val += i + j; in test_bpf_percpu_array_map()
1058 __u32 val, expected_val = 0; in test_bpf_sk_storage_map() local
[all …]
A Dbtf_dump.c248 size_t ptr_sz, char *str, const char *expected_val) in btf_dump_data() argument
279 if (!ASSERT_STREQ(str, expected_val, "ensure expected/actual match")) in btf_dump_data()
790 const char *name, const char *expected_val, in test_btf_datasec() argument
811 cmp = strcmp(str, expected_val); in test_btf_datasec()
/linux/drivers/net/ethernet/qlogic/qed/
A Dqed_init_ops.c412 static inline bool comp_eq(u32 val, u32 expected_val) in comp_eq() argument
414 return val == expected_val; in comp_eq()
417 static inline bool comp_and(u32 val, u32 expected_val) in comp_and() argument
419 return (val & expected_val) == expected_val; in comp_and()
422 static inline bool comp_or(u32 val, u32 expected_val) in comp_or() argument
424 return (val | expected_val) > 0; in comp_or()
431 bool (*comp_check)(u32 val, u32 expected_val); in qed_init_cmd_rd()
461 data = le32_to_cpu(cmd->expected_val); in qed_init_cmd_rd()
472 addr, le32_to_cpu(cmd->expected_val), in qed_init_cmd_rd()
A Dqed_hsi.h2290 __le32 expected_val; member
/linux/drivers/gpu/drm/i915/display/
A Dintel_combo_phy.c91 u32 expected_val) in check_phy_reg() argument
95 if ((val & mask) != expected_val) { in check_phy_reg()
100 reg.reg, val, mask, expected_val); in check_phy_reg()
217 u32 expected_val = 0; in icl_combo_phy_verify_state() local
242 expected_val = ICL_PHY_MISC_MUX_DDID; in icl_combo_phy_verify_state()
246 expected_val); in icl_combo_phy_verify_state()
/linux/tools/testing/selftests/bpf/
A Dtest_verifier.c1006 static int do_prog_test_run(int fd_prog, bool unpriv, uint32_t expected_val, in do_prog_test_run() argument
1041 if (retval != expected_val && in do_prog_test_run()
1042 expected_val != POINTER_VALUE) { in do_prog_test_run()
1043 printf("FAIL retval %d != %d ", retval, expected_val); in do_prog_test_run()
1223 uint32_t expected_val; in do_test_single() local
1231 expected_val = test->retvals[i].retval_unpriv; in do_test_single()
1233 expected_val = test->retvals[i].retval; in do_test_single()
1235 err = do_prog_test_run(fd_prog, unpriv, expected_val, in do_test_single()
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dpci_vsc.c171 static int mlx5_vsc_wait_on_flag(struct mlx5_core_dev *dev, u8 expected_val) in mlx5_vsc_wait_on_flag() argument
190 } while (flag != expected_val); in mlx5_vsc_wait_on_flag()
/linux/drivers/gpu/drm/i915/
A Dintel_uncore.h440 u32 mask, u32 expected_val) in intel_uncore_write_and_verify() argument
447 return (reg_val & mask) != expected_val ? -EINVAL : 0; in intel_uncore_write_and_verify()
/linux/drivers/mtd/nand/raw/brcmnand/
A Dbrcmnand.c1028 u32 mask, u32 expected_val, in bcmnand_ctrl_poll_status() argument
1040 if ((val & mask) == expected_val) in bcmnand_ctrl_poll_status()
1047 expected_val, val & mask); in bcmnand_ctrl_poll_status()
/linux/drivers/mtd/nand/raw/
A Dmarvell_nand.c698 u32 expected_val, unsigned long timeout_ms) in marvell_nfc_poll_status() argument
709 if ((st & mask) == expected_val) in marvell_nfc_poll_status()

Completed in 103 milliseconds