/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_iter.c | 776 __u64 val, expected_val = 0; in test_bpf_hash_map() local 818 expected_val += val; in test_bpf_hash_map() 851 if (!ASSERT_EQ(skel->bss->val_sum, expected_val, "val_sum")) in test_bpf_hash_map() 869 __u32 expected_val = 0; in test_bpf_percpu_hash_map() local 901 expected_val += i + j; in test_bpf_percpu_hash_map() 932 if (!ASSERT_EQ(skel->bss->val_sum, expected_val, "val_sum")) in test_bpf_percpu_hash_map() 946 __u64 val, expected_val = 0, res_first_val, first_val = 0; in test_bpf_array_map() local 964 expected_val += val; in test_bpf_array_map() 1005 if (!ASSERT_EQ(skel->bss->val_sum, expected_val, "val_sum")) in test_bpf_array_map() 1042 __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-v6.1/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-v6.1/tools/testing/selftests/bpf/ |
D | test_verifier.c | 1151 static int do_prog_test_run(int fd_prog, bool unpriv, uint32_t expected_val, in do_prog_test_run() argument 1191 if (topts.retval != expected_val && expected_val != POINTER_VALUE) { in do_prog_test_run() 1192 printf("FAIL retval %d != %d ", topts.retval, expected_val); in do_prog_test_run() 1601 uint32_t expected_val; in do_test_single() local 1609 expected_val = test->retvals[i].retval_unpriv; in do_test_single() 1611 expected_val = test->retvals[i].retval; in do_test_single() 1613 err = do_prog_test_run(fd_prog, unpriv, expected_val, in do_test_single()
|
/Linux-v6.1/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-v6.1/drivers/gpu/drm/i915/ |
D | intel_uncore.h | 458 u32 mask, u32 expected_val) in intel_uncore_write_and_verify() argument 465 return (reg_val & mask) != expected_val ? -EINVAL : 0; in intel_uncore_write_and_verify()
|
/Linux-v6.1/drivers/misc/habanalabs/common/ |
D | habanalabs.h | 2565 #define hl_poll_reg_array_timeout_common(hdev, addr_arr, arr_size, expected_val, sleep_us, \ argument 2599 if (__read_val == (expected_val)) \ 2612 #define hl_poll_reg_array_timeout(hdev, addr_arr, arr_size, expected_val, sleep_us, \ argument 2614 hl_poll_reg_array_timeout_common(hdev, addr_arr, arr_size, expected_val, sleep_us, \ 2617 #define hl_poll_reg_array_timeout_elbi(hdev, addr_arr, arr_size, expected_val, sleep_us, \ argument 2619 hl_poll_reg_array_timeout_common(hdev, addr_arr, arr_size, expected_val, sleep_us, \
|
/Linux-v6.1/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-v6.1/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()
|