| /openbmc/qemu/tests/qtest/ |
| H A D | test-arm-mptimer.c | 43 static void timer_start(int periodic, uint32_t scale) in timer_start() argument 45 uint32_t ctl = TIMER_CONTROL_ENABLE | TIMER_CONTROL_PRESCALER(scale); in timer_start() 998 static void add_scaler_test(const char *str, bool scale, in add_scaler_test() argument 1002 int *scaler = scale ? &scaled : &nonscaled; in add_scaler_test() 1012 int scale; in main() local 1030 for (scale = 0; scale < 2; scale++) { in main() 1032 scale, test_timer_oneshot); in main() 1034 scale, test_timer_pause); in main() 1036 scale, test_timer_reload); in main() 1038 scale, test_timer_periodic); in main() [all …]
|
| /openbmc/u-boot/drivers/serial/ |
| H A D | serial_ar933x.c | 43 static u32 ar933x_serial_get_baud(u32 clk, u32 scale, u32 step) in ar933x_serial_get_baud() argument 48 div = (2 << 16) * (scale + 1); in ar933x_serial_get_baud() 58 u32 *scale, u32 *step) in ar933x_serial_get_scale_step() argument 63 *scale = 0; in ar933x_serial_get_scale_step() 82 *scale = tscale; in ar933x_serial_get_scale_step() 91 u32 val, scale, step; in ar933x_serial_setbrg() local 94 ar933x_serial_get_scale_step(val, baudrate, &scale, &step); in ar933x_serial_setbrg() 96 val = (scale & AR933X_UART_CLK_SCALE_M) in ar933x_serial_setbrg() 201 u32 val, scale, step; in _debug_uart_init() local 217 CONFIG_BAUDRATE, &scale, &step); in _debug_uart_init() [all …]
|
| /openbmc/qemu/hw/timer/ |
| H A D | sifive_pwm.c | 97 uint64_t scale = sifive_pwm_compute_scale(s); in sifive_pwm_set_alarms() local 99 uint64_t pwms = (pwmcount & (PWMCMP_MASK << scale)) >> scale; in sifive_pwm_set_alarms() 103 uint64_t pwmcmp_ticks = pwmcmp << scale; in sifive_pwm_set_alarms() 129 uint64_t scale = sifive_pwm_compute_scale(s); in sifive_pwm_set_alarms() local 130 uint64_t pwms = (pwmcount & (PWMCMP_MASK << scale)) >> scale; in sifive_pwm_set_alarms() 225 uint64_t cur_time, scale; in sifive_pwm_read() local 248 scale = sifive_pwm_compute_scale(s); in sifive_pwm_read() 254 return ((cur_time & PWMCOUNT_MASK) >> scale) & PWMCMP_MASK; in sifive_pwm_read() 277 uint64_t new_offset, scale; in sifive_pwm_write() local 344 scale = sifive_pwm_compute_scale(s); in sifive_pwm_write() [all …]
|
| /openbmc/qemu/fpu/ |
| H A D | softfloat.c | 807 FloatParts64 *c, int scale, 810 FloatParts128 *c, int scale, 839 int scale, int frac_size); 841 int scale, int frac_size); 847 int scale, float_status *s, 850 int scale, float_status *s, 857 int scale, int64_t min, int64_t max, 860 int scale, int64_t min, int64_t max, 867 int scale, uint64_t max, 870 int scale, uint64_t max, [all …]
|
| /openbmc/qemu/target/xtensa/ |
| H A D | fpu_helper.c | 266 uint32_t rounding_mode, uint32_t scale) in HELPER() 272 res = float64_to_int32(float64_scalbn(v, scale, &fp_status), &fp_status); in HELPER() 279 uint32_t rounding_mode, uint32_t scale) in HELPER() 285 res = float32_to_int32(float32_scalbn(v, scale, &fp_status), &fp_status); in HELPER() 292 uint32_t rounding_mode, uint32_t scale) in HELPER() 300 res = float64_scalbn(v, scale, &fp_status); in HELPER() 314 uint32_t rounding_mode, uint32_t scale) in HELPER() 322 res = float32_scalbn(v, scale, &fp_status); in HELPER() 337 float64 HELPER(itof_d)(CPUXtensaState *env, uint32_t v, uint32_t scale) in HELPER() 340 (int32_t)scale, &env->fp_status); in HELPER() [all …]
|
| /openbmc/qemu/include/block/ |
| H A D | aio.h | 540 int scale, int attributes, in aio_timer_new_with_attrs() argument 543 return timer_new_full(&ctx->tlg, type, scale, attributes, cb, opaque); in aio_timer_new_with_attrs() 560 int scale, in aio_timer_new() argument 563 return timer_new_full(&ctx->tlg, type, scale, 0, cb, opaque); in aio_timer_new() 582 int scale, int attributes, in aio_timer_init_with_attrs() argument 585 timer_init_full(ts, &ctx->tlg, type, scale, attributes, cb, opaque); in aio_timer_init_with_attrs() 602 int scale, in aio_timer_init() argument 605 timer_init_full(ts, &ctx->tlg, type, scale, 0, cb, opaque); in aio_timer_init()
|
| /openbmc/qemu/target/hppa/ |
| H A D | insns.decode | 71 &ldst t b x disp sp m scale size 148 &ldst disp=0 scale=0 t=0 sp=0 size=0 173 &ldst disp=0 scale=0 size=0 t=0 175 &ldst disp=0 scale=0 size=0 t=0 sp=%assemble_sr3x 179 &ldst disp=0 scale=0 size=0 t=0 181 &ldst disp=0 scale=0 size=0 t=0 sp=%assemble_sr3x 185 &ldst disp=0 scale=0 size=0 t=0 187 &ldst disp=0 scale=0 size=0 t=0 sp=%assemble_sr3x 190 &ldst disp=0 scale=0 size=0 268 @ldstx ...... b:5 x:5 sp:2 scale:1 ....... m:1 t:5 &ldst disp=0 [all …]
|
| /openbmc/qemu/tests/unit/ |
| H A D | ptimer-test-stubs.c | 39 int scale, int attributes, in timer_init_full() argument 48 ts->scale = scale; in timer_init_full() 66 ts->expire_time = MAX(expire_time * ts->scale, 0); in timer_mod()
|
| /openbmc/qemu/include/qemu/ |
| H A D | timer.h | 91 int scale; member 415 int scale, int attributes, 430 static inline void timer_init(QEMUTimer *ts, QEMUClockType type, int scale, in timer_init() argument 433 timer_init_full(ts, NULL, type, scale, 0, cb, opaque); in timer_init() 516 int scale, int attributes, in timer_new_full() argument 520 timer_init_full(ts, timer_list_group, type, scale, attributes, cb, opaque); in timer_new_full() 539 static inline QEMUTimer *timer_new(QEMUClockType type, int scale, in timer_new() argument 542 return timer_new_full(NULL, type, scale, 0, cb, opaque); in timer_new()
|
| /openbmc/qemu/contrib/plugins/ |
| H A D | ips.c | 164 unsigned long scale = 0; in qemu_plugin_install() local 168 scale = scales[j].multipler; in qemu_plugin_install() 173 if (scale) { in qemu_plugin_install() 174 max_insn_per_second *= scale; in qemu_plugin_install()
|
| /openbmc/phosphor-host-ipmid/scripts/ |
| H A D | writesensor.cpp.mako | 54 scale = sensor.get("scale", 0) 55 hasScale = "true" if "scale" in sensor.keys() else "false" 94 .scale = ${scale},
|
| /openbmc/openbmc/poky/meta/recipes-graphics/xorg-app/ |
| H A D | mkfontscale_1.2.3.bb | 8 name to a file fonts.scale in the directory. The resulting fonts.scale \
|
| /openbmc/u-boot/drivers/video/ |
| H A D | console_truetype.c | 121 double scale; member 216 xpos += priv->scale * stbtt_GetCodepointKernAdvance(font, in console_truetype_putc_xy() 227 xpos += advance * priv->scale; in console_truetype_putc_xy() 246 data = stbtt_GetCodepointBitmapSubpixel(font, priv->scale, priv->scale, in console_truetype_putc_xy() 528 priv->scale = stbtt_ScaleForPixelHeight(font, priv->font_size); in console_truetype_probe() 530 priv->baseline = (int)(ascent * priv->scale); in console_truetype_probe()
|
| /openbmc/phosphor-pid-control/sensors/ |
| H A D | host.cpp | 30 ptr->scale(value); in scaleHelper() 66 return sensor->scale(); in getScale()
|
| /openbmc/openbmc/meta-openembedded/meta-oe/recipes-benchmark/glmark2/files/ |
| H A D | 0003-GLVisualConfig-By-default-don-t-care-about-the-stenc.patch | 55 @@ -135,11 +135,14 @@ GLVisualConfig::score_component(int component, int target, int scale) const 57 * If scale > 0, we reward the largest positive difference from target, 62 int diff = std::abs(scale) * (component - target); 65 - score = scale < 0 ? MAXIMUM_COMPONENT_SCORE - diff : diff; 66 + score = (scale < 0 || target < 0) ?
|
| /openbmc/phosphor-modbus/tests/ |
| H A D | test_sensors.cpp | 192 static auto applyValueSettings(double value, double shift, double scale, in applyValueSettings() argument 195 return (shift + (scale * (value / (1ULL << precision)))); in applyValueSettings() 207 .scale = 0.1, in TEST_F() 215 sensorRegister.shift, sensorRegister.scale, in TEST_F()
|
| /openbmc/qemu/rust/qemu-api/src/ |
| H A D | timer.rs | 52 scale: u32, in init_full() 81 scale as c_int, in init_full()
|
| /openbmc/phosphor-hwmon/ |
| H A D | thresholds.hpp | 122 SensorValueType value, ObjectInfo& info, int64_t scale) in addThreshold() argument 138 auto lo = stod(tLo) * std::pow(10, scale); in addThreshold() 156 auto hi = stod(tHi) * std::pow(10, scale); in addThreshold()
|
| /openbmc/openbmc/poky/meta/recipes-graphics/xorg-font/ |
| H A D | xorg-font-common.inc | 25 find ${D}${libdir}/X11/fonts -type f -name fonts.scale | xargs rm -f 27 find ${D}${datadir}/fonts/X11 -type f -name fonts.scale | xargs rm -f
|
| /openbmc/qemu/util/ |
| H A D | qemu-timer.c | 352 int scale, int attributes, in timer_init_full() argument 361 ts->scale = scale; in timer_init_full() 470 timer_mod_ns(ts, expire_time * ts->scale); in timer_mod() 475 timer_mod_anticipate_ns(ts, expire_time * ts->scale); in timer_mod_anticipate() 485 return timer_expired_ns(timer_head, current_time * timer_head->scale); in timer_expired()
|
| /openbmc/phosphor-mrw-tools/ |
| H A D | gen_ipmi_sensor.pl | 155 my $scale = $sensorTypeConfig->{$sensorName}->{"scale"}; 166 $data{'SCALE'} = $scale; 169 $debug .= "$scale : $dbusPath : $obmcPath : ";
|
| /openbmc/u-boot/drivers/sound/ |
| H A D | broadwell_i2s.c | 73 uint scale; in init_sscr0() local 93 scale = uc_priv->audio_pll_clk / uc_priv->samplingrate / uc_priv->bfs; in init_sscr0() 94 sscr0 |= scale << SSP_SSC0_SCR_SHIFT; in init_sscr0()
|
| /openbmc/phosphor-pid-control/dbus/ |
| H A D | dbushelper_interface.hpp | 11 int64_t scale = 0; member
|
| /openbmc/witherspoon-pfault-analysis/power-supply/ |
| H A D | average.hpp | 49 scale(0); in Average()
|
| H A D | maximum.hpp | 49 scale(0); in Maximum()
|