Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbpf_iter.c571 __u64 val, expected_val = 0; in test_bpf_hash_map() local
618 expected_val += val; in test_bpf_hash_map()
649 if (CHECK(skel->bss->val_sum != expected_val, in test_bpf_hash_map()
651 skel->bss->val_sum, expected_val)) in test_bpf_hash_map()
669 __u32 expected_val = 0; in test_bpf_percpu_hash_map() local
705 expected_val += i + j; in test_bpf_percpu_hash_map()
740 if (CHECK(skel->bss->val_sum != expected_val, in test_bpf_percpu_hash_map()
742 skel->bss->val_sum, expected_val)) in test_bpf_percpu_hash_map()
755 __u64 val, expected_val = 0, res_first_val, first_val = 0; in test_bpf_array_map() local
774 expected_val += val; in test_bpf_array_map()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_init_ops.c394 static inline bool comp_eq(u32 val, u32 expected_val) in comp_eq() argument
396 return val == expected_val; in comp_eq()
399 static inline bool comp_and(u32 val, u32 expected_val) in comp_and() argument
401 return (val & expected_val) == expected_val; in comp_and()
404 static inline bool comp_or(u32 val, u32 expected_val) in comp_or() argument
406 return (val | expected_val) > 0; in comp_or()
413 bool (*comp_check)(u32 val, u32 expected_val); in qed_init_cmd_rd()
444 data = le32_to_cpu(cmd->expected_val); in qed_init_cmd_rd()
455 addr, le32_to_cpu(cmd->expected_val), in qed_init_cmd_rd()
Dqed_hsi.h2959 __le32 expected_val; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_combo_phy.c95 u32 expected_val) in check_phy_reg() argument
99 if ((val & mask) != expected_val) { in check_phy_reg()
104 reg.reg, val, mask, expected_val); in check_phy_reg()
262 u32 expected_val = 0; in icl_combo_phy_verify_state() local
287 expected_val = ICL_PHY_MISC_MUX_DDID; in icl_combo_phy_verify_state()
291 expected_val); in icl_combo_phy_verify_state()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_verifier.c882 static int do_prog_test_run(int fd_prog, bool unpriv, uint32_t expected_val, in do_prog_test_run() argument
900 if (!err && retval != expected_val && in do_prog_test_run()
901 expected_val != POINTER_VALUE) { in do_prog_test_run()
902 printf("FAIL retval %d != %d ", retval, expected_val); in do_prog_test_run()
1068 uint32_t expected_val; in do_test_single() local
1076 expected_val = test->retvals[i].retval_unpriv; in do_test_single()
1078 expected_val = test->retvals[i].retval; in do_test_single()
1080 err = do_prog_test_run(fd_prog, unpriv, expected_val, in do_test_single()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_uncore.h410 u32 mask, u32 expected_val) in intel_uncore_write_and_verify() argument
417 return (reg_val & mask) != expected_val ? -EINVAL : 0; in intel_uncore_write_and_verify()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c1025 u32 mask, u32 expected_val, in bcmnand_ctrl_poll_status() argument
1037 if ((val & mask) == expected_val) in bcmnand_ctrl_poll_status()
1044 expected_val, val & mask); in bcmnand_ctrl_poll_status()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
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()