Searched refs:expected_val (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/qlogic/qed/ |
D | qed_init_ops.c | 394 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()
|
D | qed_hsi.h | 2960 __le32 expected_val; member
|
/drivers/gpu/drm/i915/display/ |
D | intel_combo_phy.c | 91 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()
|
/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()
|
/drivers/gpu/drm/i915/ |
D | intel_uncore.h | 428 u32 mask, u32 expected_val) in intel_uncore_write_and_verify() argument 435 return (reg_val & mask) != expected_val ? -EINVAL : 0; in intel_uncore_write_and_verify()
|
/drivers/mtd/nand/raw/brcmnand/ |
D | brcmnand.c | 1054 u32 mask, u32 expected_val, in bcmnand_ctrl_poll_status() argument 1066 if ((val & mask) == expected_val) in bcmnand_ctrl_poll_status() 1077 if ((val & mask) == expected_val) in bcmnand_ctrl_poll_status() 1081 expected_val, val & mask); in bcmnand_ctrl_poll_status()
|
/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()
|