Searched refs:cvb (Results 1 – 11 of 11) sorted by relevance
/openbmc/qemu/tests/tcg/s390x/ |
H A D | cvb.c | 22 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 D | Makefile.target | 49 TESTS+=cvb
|
/openbmc/linux/drivers/clk/tegra/ |
H A D | cvb.c | 15 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 D | clk-tegra124-dfll-fcpu.c | 594 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 D | clk-dfll.h | 32 const struct cvb_table *cvb; member
|
H A D | clk-dfll.c | 454 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 D | Makefile | 28 obj-y += cvb.o
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | int_helper.c | 102 void HELPER(cvb)(CPUS390XState *env, uint32_t r1, uint64_t dec) in HELPER() argument
|
H A D | insn-data.h.inc | 297 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 D | helper.h | 91 DEF_HELPER_3(cvb, void, env, i32, i64)
|
/openbmc/linux/arch/s390/tools/ |
H A D | opcodes.txt | 86 4f cvb RX_RRRD
|