Home
last modified time | relevance | path

Searched refs:exp_val (Results 1 – 14 of 14) sorted by relevance

/openbmc/linux/drivers/accel/ivpu/
H A Divpu_hw_37xx.c180 u32 exp_val = enable ? 0x1 : 0x0; in ivpu_pll_wait_for_lock() local
327 static int ivpu_boot_noc_qreqn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qreqn_check() argument
331 if (!REG_TEST_FLD_NUM(VPU_37XX_HOST_SS_NOC_QREQN, TOP_SOCMMIO, exp_val, val)) in ivpu_boot_noc_qreqn_check()
337 static int ivpu_boot_noc_qacceptn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qacceptn_check() argument
347 static int ivpu_boot_noc_qdeny_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qdeny_check() argument
361 if (!REG_TEST_FLD_NUM(MTL_VPU_TOP_NOC_QREQN, CPU_CTRL, exp_val, val) || in ivpu_boot_top_noc_qrenqn_check()
362 !REG_TEST_FLD_NUM(MTL_VPU_TOP_NOC_QREQN, HOSTIF_L2CACHE, exp_val, val)) in ivpu_boot_top_noc_qrenqn_check()
372 if (!REG_TEST_FLD_NUM(MTL_VPU_TOP_NOC_QACCEPTN, CPU_CTRL, exp_val, val) || in ivpu_boot_top_noc_qacceptn_check()
383 if (!REG_TEST_FLD_NUM(MTL_VPU_TOP_NOC_QDENY, CPU_CTRL, exp_val, val) || in ivpu_boot_top_noc_qdeny_check()
384 !REG_TEST_FLD_NUM(MTL_VPU_TOP_NOC_QDENY, HOSTIF_L2CACHE, exp_val, val)) in ivpu_boot_top_noc_qdeny_check()
[all …]
H A Divpu_hw_40xx.c302 static int ivpu_boot_noc_qreqn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qreqn_check() argument
306 if (!REG_TEST_FLD_NUM(VPU_40XX_HOST_SS_NOC_QREQN, TOP_SOCMMIO, exp_val, val)) in ivpu_boot_noc_qreqn_check()
312 static int ivpu_boot_noc_qacceptn_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qacceptn_check() argument
322 static int ivpu_boot_noc_qdeny_check(struct ivpu_device *vdev, u32 exp_val) in ivpu_boot_noc_qdeny_check() argument
326 if (!REG_TEST_FLD_NUM(VPU_40XX_HOST_SS_NOC_QDENY, TOP_SOCMMIO, exp_val, val)) in ivpu_boot_noc_qdeny_check()
336 if (!REG_TEST_FLD_NUM(VPU_40XX_TOP_NOC_QREQN, CPU_CTRL, exp_val, val) || in ivpu_boot_top_noc_qrenqn_check()
337 !REG_TEST_FLD_NUM(VPU_40XX_TOP_NOC_QREQN, HOSTIF_L2CACHE, exp_val, val)) in ivpu_boot_top_noc_qrenqn_check()
347 if (!REG_TEST_FLD_NUM(VPU_40XX_TOP_NOC_QACCEPTN, CPU_CTRL, exp_val, val) || in ivpu_boot_top_noc_qacceptn_check()
358 if (!REG_TEST_FLD_NUM(VPU_40XX_TOP_NOC_QDENY, CPU_CTRL, exp_val, val) || in ivpu_boot_top_noc_qdeny_check()
359 !REG_TEST_FLD_NUM(VPU_40XX_TOP_NOC_QDENY, HOSTIF_L2CACHE, exp_val, val)) in ivpu_boot_top_noc_qdeny_check()
[all …]
/openbmc/openbmc/meta-facebook/meta-catalina/recipes-phosphor/state/phosphor-state-manager/
H A Dpower-cmd129 local exp_val="$1"
134 if [ "$(host_power_status)" == "$exp_val" ]; then
/openbmc/u-boot/drivers/video/tegra124/
H A Ddisplay.c97 u32 mask, u32 exp_val, u32 poll_interval_us, u32 timeout_us) in tegra_dc_poll_register() argument
109 } while ((reg_val & mask) != exp_val); in tegra_dc_poll_register()
111 if ((reg_val & mask) == exp_val) in tegra_dc_poll_register()
H A Dsor.c90 u32 mask, u32 exp_val, in tegra_dc_sor_poll_register() argument
99 if (((reg_val & mask) == exp_val)) in tegra_dc_sor_poll_register()
105 reg, reg_val, mask, exp_val); in tegra_dc_sor_poll_register()
H A Ddp.c53 u32 reg, u32 mask, u32 exp_val, in tegra_dc_dpaux_poll_register() argument
67 } while ((reg_val & mask) != exp_val); in tegra_dc_dpaux_poll_register()
69 if ((reg_val & mask) == exp_val) in tegra_dc_dpaux_poll_register()
72 reg, reg_val, mask, exp_val); in tegra_dc_dpaux_poll_register()
/openbmc/u-boot/drivers/pci/
H A Dpcie_imx.c98 static int pcie_phy_poll_ack(void __iomem *dbi_base, int exp_val) in pcie_phy_poll_ack() argument
109 if (val == exp_val) in pcie_phy_poll_ack()
/openbmc/linux/drivers/staging/media/atomisp/i2c/ov5693/
H A Datomisp-ov5693.c425 int ret, exp_val; in __ov5693_set_exposure() local
485 exp_val = coarse_itg << 4; in __ov5693_set_exposure()
487 OV5693_EXPOSURE_L, exp_val & 0xFF); in __ov5693_set_exposure()
495 OV5693_EXPOSURE_M, (exp_val >> 8) & 0xFF); in __ov5693_set_exposure()
503 OV5693_EXPOSURE_H, (exp_val >> 16) & 0x0F); in __ov5693_set_exposure()
/openbmc/qemu/tests/unit/
H A Dtest-cutils.c3314 static void do_strtosz(const char *str, int exp_ret, uint64_t exp_val, in do_strtosz() argument
3317 do_strtosz_full(str, qemu_strtosz, exp_ret, exp_val, exp_offset, in do_strtosz()
3318 exp_ret, exp_val); in do_strtosz()
3321 static void do_strtosz_MiB(const char *str, int exp_ret, uint64_t exp_val, in do_strtosz_MiB() argument
3324 do_strtosz_full(str, qemu_strtosz_MiB, exp_ret, exp_val, exp_offset, in do_strtosz_MiB()
3325 exp_ret, exp_val); in do_strtosz_MiB()
3328 static void do_strtosz_metric(const char *str, int exp_ret, uint64_t exp_val, in do_strtosz_metric() argument
3331 do_strtosz_full(str, qemu_strtosz_metric, exp_ret, exp_val, exp_offset, in do_strtosz_metric()
3332 exp_ret, exp_val); in do_strtosz_metric()
/openbmc/linux/drivers/misc/bcm-vk/
H A Dbcm_vk.h433 const u32 exp_val; member
/openbmc/linux/drivers/pci/controller/dwc/
H A Dpci-imx6.c198 static int pcie_phy_poll_ack(struct imx6_pcie *imx6_pcie, bool exp_val) in pcie_phy_poll_ack() argument
210 if (val == exp_val) in pcie_phy_poll_ack()
/openbmc/linux/drivers/media/pci/ngene/
H A Dngene.h769 unsigned long exp_val; member
/openbmc/linux/net/bluetooth/
H A Dsmp.c3688 const u32 exp_val = 0x2f9ed5ba % 1000000; in test_g2() local
3696 if (val != exp_val) in test_g2()
/openbmc/linux/drivers/net/ethernet/neterion/
H A Ds2io.c5849 u64 val64 = 0, exp_val; in s2io_register_test() local
5866 exp_val = 0x0404040404040404ULL; in s2io_register_test()
5868 exp_val = 0x0808080808080808ULL; in s2io_register_test()
5869 if (val64 != exp_val) { in s2io_register_test()