/linux-5.19.10/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_ops.c | 412 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()
|
D | qed_hsi.h | 2290 __le32 expected_val; member
|
/linux-5.19.10/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_iter.c | 587 __u64 val, expected_val = 0; in test_bpf_hash_map() local 629 expected_val += val; in test_bpf_hash_map() 656 if (!ASSERT_EQ(skel->bss->val_sum, expected_val, "val_sum")) in test_bpf_hash_map() 674 __u32 expected_val = 0; in test_bpf_percpu_hash_map() local 706 expected_val += i + j; in test_bpf_percpu_hash_map() 737 if (!ASSERT_EQ(skel->bss->val_sum, expected_val, "val_sum")) in test_bpf_percpu_hash_map() 751 __u64 val, expected_val = 0, res_first_val, first_val = 0; in test_bpf_array_map() local 769 expected_val += val; in test_bpf_array_map() 810 if (!ASSERT_EQ(skel->bss->val_sum, expected_val, "val_sum")) in test_bpf_array_map() 833 __u32 expected_key = 0, expected_val = 0; in test_bpf_percpu_array_map() local [all …]
|
D | unpriv_bpf_disabled.c | 105 __u32 expected_val = 1; in test_unpriv_bpf_disabled_positive() local 113 vals[j] = expected_val; in test_unpriv_bpf_disabled_positive() 119 expected_val = prog_id; in test_unpriv_bpf_disabled_positive() 123 ASSERT_EQ(lookup_vals[0], expected_val, "map_lookup_elem_values"); in test_unpriv_bpf_disabled_positive()
|
D | btf_dump.c | 271 size_t ptr_sz, char *str, const char *expected_val) in btf_dump_data() argument 302 if (!ASSERT_STREQ(str, expected_val, "ensure expected/actual match")) in btf_dump_data() 813 const char *name, const char *expected_val, in test_btf_datasec() argument 834 cmp = strcmp(str, expected_val); in test_btf_datasec()
|
/linux-5.19.10/drivers/gpu/drm/i915/display/ |
D | intel_combo_phy.c | 103 u32 expected_val) in check_phy_reg() argument 107 if ((val & mask) != expected_val) { in check_phy_reg() 112 reg.reg, val, mask, expected_val); in check_phy_reg() 233 u32 expected_val = 0; in icl_combo_phy_verify_state() local 258 expected_val = ICL_PHY_MISC_MUX_DDID; in icl_combo_phy_verify_state() 262 expected_val); in icl_combo_phy_verify_state()
|
/linux-5.19.10/tools/testing/selftests/alsa/ |
D | mixer-test.c | 499 snd_ctl_elem_value_t *expected_val) in show_mismatch() argument 512 expected_int = snd_ctl_elem_value_get_boolean(expected_val, in show_mismatch() 518 expected_int = snd_ctl_elem_value_get_integer(expected_val, in show_mismatch() 524 expected_int = snd_ctl_elem_value_get_integer64(expected_val, in show_mismatch() 531 expected_int = snd_ctl_elem_value_get_enumerated(expected_val, in show_mismatch() 564 snd_ctl_elem_value_t *expected_val) in write_and_verify() argument 579 if (expected_val) { in write_and_verify() 583 snd_ctl_elem_value_alloca(&expected_val); in write_and_verify() 584 snd_ctl_elem_value_copy(expected_val, write_val); in write_and_verify() 652 if (!snd_ctl_elem_value_compare(expected_val, read_val)) in write_and_verify() [all …]
|
/linux-5.19.10/tools/testing/selftests/bpf/ |
D | test_verifier.c | 1045 static int do_prog_test_run(int fd_prog, bool unpriv, uint32_t expected_val, in do_prog_test_run() argument 1085 if (topts.retval != expected_val && expected_val != POINTER_VALUE) { in do_prog_test_run() 1086 printf("FAIL retval %d != %d ", topts.retval, expected_val); in do_prog_test_run() 1268 uint32_t expected_val; in do_test_single() local 1276 expected_val = test->retvals[i].retval_unpriv; in do_test_single() 1278 expected_val = test->retvals[i].retval; in do_test_single() 1280 err = do_prog_test_run(fd_prog, unpriv, expected_val, in do_test_single()
|
/linux-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | pci_vsc.c | 171 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-5.19.10/drivers/hwmon/ |
D | nzxt-smart2.c | 511 long expected_val; in set_pwm_enable() local 523 expected_val = drvdata->fan_type[channel] != FAN_TYPE_NONE; in set_pwm_enable() 527 return (val == expected_val) ? 0 : -EOPNOTSUPP; in set_pwm_enable()
|
/linux-5.19.10/drivers/gpu/drm/i915/ |
D | intel_uncore.h | 448 u32 mask, u32 expected_val) in intel_uncore_write_and_verify() argument 455 return (reg_val & mask) != expected_val ? -EINVAL : 0; in intel_uncore_write_and_verify()
|
/linux-5.19.10/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.c | 1057 u32 mask, u32 expected_val, in bcmnand_ctrl_poll_status() argument 1069 if ((val & mask) == expected_val) in bcmnand_ctrl_poll_status() 1076 expected_val, val & mask); in bcmnand_ctrl_poll_status()
|
/linux-5.19.10/drivers/mtd/nand/raw/ |
D | marvell_nand.c | 698 u32 expected_val, unsigned long timeout_ms) in marvell_nfc_poll_status() argument 709 if ((st & mask) == expected_val) in marvell_nfc_poll_status()
|