Home
last modified time | relevance | path

Searched refs:cvb (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/tests/tcg/s390x/
H A Dcvb.c22 static int64_t cvb(uint64_t x) in cvb() function
65 assert(cvb(0xc) == OK32(0) && signum == -1); in main()
66 assert(cvb(0x1c) == OK32(1) && signum == -1); in main()
67 assert(cvb(0x25594c) == OK32(25594) && signum == -1); in main()
68 assert(cvb(0x1d) == OK32(-1) && signum == -1); in main()
69 assert(cvb(0x2147483647c) == OK32(0x7fffffff) && signum == -1); in main()
70 assert(cvb(0x2147483648d) == OK32(-0x80000000) && signum == -1); in main()
71 assert(cvb(0x7) == FAIL && signum == SIGILL); in main()
72 assert(cvb(0x2147483648c) == OK32(0x80000000) && signum == SIGFPE); in main()
73 assert(cvb(0x3000000000c) == OK32(0xb2d05e00) && signum == SIGFPE); in main()
[all …]
H A DMakefile.target49 TESTS+=cvb
/openbmc/linux/drivers/clk/tegra/
H A Dcvb.c15 const struct cvb_coefficients *cvb) in get_cvb_voltage() argument
20 mv = DIV_ROUND_CLOSEST(cvb->c2 * speedo, s_scale); in get_cvb_voltage()
21 mv = DIV_ROUND_CLOSEST((mv + cvb->c1) * speedo, s_scale) + cvb->c0; in get_cvb_voltage()
H A Dclk-tegra124-dfll-fcpu.c594 soc->cvb = tegra_cvb_add_opp_table(soc->dev, fcpu_data->cpu_cvb_tables, in tegra124_dfll_fcpu_probe()
600 if (IS_ERR(soc->cvb)) { in tegra124_dfll_fcpu_probe()
602 PTR_ERR(soc->cvb)); in tegra124_dfll_fcpu_probe()
603 return PTR_ERR(soc->cvb); in tegra124_dfll_fcpu_probe()
608 tegra_cvb_remove_opp_table(soc->dev, soc->cvb, soc->max_freq); in tegra124_dfll_fcpu_probe()
627 tegra_cvb_remove_opp_table(soc->dev, soc->cvb, soc->max_freq); in tegra124_dfll_fcpu_remove()
H A Dclk-dfll.h32 const struct cvb_table *cvb; member
H A Dclk-dfll.c454 dfll_writel(td, td->soc->cvb->cpu_dfll_data.tune0_low, DFLL_TUNE0); in dfll_tune_low()
455 dfll_writel(td, td->soc->cvb->cpu_dfll_data.tune1, DFLL_TUNE1); in dfll_tune_low()
1650 int v_min = td->soc->cvb->min_millivolts * 1000; in dfll_build_pwm_lut()
1670 td->soc->cvb->min_millivolts); in dfll_build_pwm_lut()
1679 td->soc->cvb->min_millivolts); in dfll_build_pwm_lut()
1706 v = td->soc->cvb->min_millivolts * 1000; in dfll_build_i2c_lut()
1721 if (v_opp <= td->soc->cvb->min_millivolts * 1000) in dfll_build_i2c_lut()
1752 td->soc->cvb->min_millivolts); in dfll_build_i2c_lut()
H A DMakefile28 obj-y += cvb.o
/openbmc/qemu/target/s390x/tcg/
H A Dint_helper.c102 void HELPER(cvb)(CPUS390XState *env, uint32_t r1, uint64_t dec) in HELPER() argument
H A Dinsn-data.h.inc297 C(0x4f00, CVB, RX_a, Z, la2, 0, 0, 0, cvb, 0)
298 C(0xe306, CVBY, RXY_a, LD, la2, 0, 0, 0, cvb, 0)
/openbmc/qemu/target/s390x/
H A Dhelper.h91 DEF_HELPER_3(cvb, void, env, i32, i64)
/openbmc/linux/arch/s390/tools/
H A Dopcodes.txt86 4f cvb RX_RRRD