HomeSort by: relevance | last modified time | path
    Searched defs:ratio (Results 1 - 21 of 21) sorted by relevancy

  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_cdclk.h 24 u8 ratio; member in struct:intel_cdclk_vals
intel_cdclk.c 1171 { .refclk = 19200, .cdclk = 144000, .divider = 8, .ratio = 60 },
1172 { .refclk = 19200, .cdclk = 288000, .divider = 4, .ratio = 60 },
1173 { .refclk = 19200, .cdclk = 384000, .divider = 3, .ratio = 60 },
1174 { .refclk = 19200, .cdclk = 576000, .divider = 2, .ratio = 60 },
1175 { .refclk = 19200, .cdclk = 624000, .divider = 2, .ratio = 65 },
1180 { .refclk = 19200, .cdclk = 79200, .divider = 8, .ratio = 33 },
1181 { .refclk = 19200, .cdclk = 158400, .divider = 4, .ratio = 33 },
1182 { .refclk = 19200, .cdclk = 316800, .divider = 2, .ratio = 33 },
1187 { .refclk = 19200, .cdclk = 168000, .divider = 4, .ratio = 35 },
1188 { .refclk = 19200, .cdclk = 336000, .divider = 2, .ratio = 35 }
1324 u32 val, ratio; local in function:bxt_de_pll_readout
1424 int ratio = DIV_ROUND_CLOSEST(vco, dev_priv->cdclk.hw.ref); local in function:bxt_de_pll_enable
1459 int ratio = DIV_ROUND_CLOSEST(vco, dev_priv->cdclk.hw.ref); local in function:cnl_cdclk_pll_enable
    [all...]
intel_panel.c 204 /* Scale but preserve the aspect ratio */
297 * when calculating the panel ratio.
301 u32 ratio = source * FACTOR / target; local in function:panel_fitter_scaling
302 return (FACTOR * ratio + FACTOR/2) / FACTOR;
338 * ratio by hand and program it into the
406 /* Scale but preserve the aspect ratio */
415 * Full scaling, even if it changes the aspect ratio.
intel_overlay.c 655 /* make the Y scale to UV scale ratio an exact multiply */
915 u32 ratio; local in function:update_pfit_vscale_ratio
922 ratio = I915_READ(PFIT_PGM_RATIOS) >> PFIT_VERT_SCALE_SHIFT_965;
925 ratio = I915_READ(PFIT_AUTO_RATIOS);
927 ratio = I915_READ(PFIT_PGM_RATIOS);
928 ratio >>= PFIT_VERT_SCALE_SHIFT;
931 overlay->pfit_vscale_ratio = ratio;
986 /* better safe than sorry, use 4 as the maximal subsampling ratio */
  /src/sys/arch/arm/amlogic/
meson_clk_div.c 45 u_int rate, ratio; local in function:meson_clk_div_get_rate
64 ratio = __SHIFTOUT(val, div->div);
66 ratio = 0;
69 return rate >> ratio;
71 if (ratio < 1 || ratio > 8)
73 return rate / ((ratio + 1) * 2);
75 return rate / (ratio + 1);
87 int ratio, error; local in function:meson_clk_div_set_rate
112 ratio = howmany(parent_rate, new_rate)
    [all...]
  /src/sys/arch/arm/sunxi/
sunxi_ccu_div.c 67 u_int rate, ratio; local in function:sunxi_ccu_div_get_rate
83 ratio = __SHIFTOUT(val, div->div);
85 ratio = 0;
87 if ((div->flags & SUNXI_CCU_DIV_ZERO_IS_ONE) != 0 && ratio == 0)
88 ratio = 1;
90 ratio = 1 << ratio;
92 ratio = ratio << 1;
93 if (ratio == 0
141 int ratio; local in function:sunxi_ccu_div_set_rate
    [all...]
  /src/lib/libc/gdtoa/
smisc.c 84 ratio function
gdtoaimp.h 571 #define ratio __ratio_D2A macro
622 extern double ratio ANSI((Bigint*, Bigint*));
  /src/usr.bin/ftp/
progressbar.c 133 int ratio, i, remaining, barlength; local in function:progressmeter
218 ratio = (int)((double)cursize * 100.0 / (double)filesize);
219 ratio = MAX(ratio, 0);
220 ratio = MIN(ratio, 100);
221 len += snprintf(buf + len, BUFLEFT, "%3d%% ", ratio);
231 i = barlength * ratio / 100;
  /src/games/rogue/
use.c 323 float ratio; local in function:potion_heal
328 ratio = ((float)rogue.hp_current) / rogue.hp_max;
330 if (ratio >= 1.00) {
334 } else if (ratio >= 0.90) {
339 if (ratio < 0.33) {
340 ratio = 0.33;
343 ratio += ratio;
345 add = (short)(ratio * (rogue.hp_max - rogue.hp_current));
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_clock.cc 529 uptr ratio = sizeof(ClockBlock::clock[0]) / sizeof(ClockBlock::table[0]); local in function:__tsan::SyncClock::capacity
532 uptr top = ClockBlock::kClockCount - RoundUpTo(blocks_ + 1, ratio) / ratio;
  /src/sys/net/
ppp_defs.h 160 unsigned int ratio; /* recent compression ratio << 8 */ member in struct:compstat
bsd-comp.c 75 * The compression ratio is checked at the first end of a packet
100 u_int ratio; /* recent compression ratio */ member in struct:bsd_db
101 u_int checkpoint; /* when to next check the ratio */
184 #define CHECK_GAP 10000 /* Ratio check interval */
205 db->ratio = 0;
214 * Compute the compression ratio using fixed-point arithmetic
218 * watch only the local compression ratio.
222 * must compute the same ratio.
230 /* age the ratio by limiting the size of the counts *
    [all...]
  /src/sys/arch/riscv/starfive/
jh71x0_clkc.c 257 u_int ratio = howmany(parent_rate, new_rate); local in function:jh71x0_clkc_div_set_rate
258 u_int div = uimin(ratio, jcc_div->jcd_maxdiv);
330 u_int ratio = howmany(parent_rate, new_rate);
331 u_int div = uimin(ratio, jcc_div->jcd_maxdiv);
446 u_int ratio = howmany(parent_rate, new_rate); local in function:jh71x0_clkc_muxdiv_set_rate
447 u_int div = uimin(ratio, jcc_muxdiv->jcmd_maxdiv);
  /src/common/dist/zlib/contrib/minizip/
miniunz.c 239 printf(" Length Method Size Ratio Date Time CRC-32 Name\n");
245 uLong ratio=0; local in function:do_list
255 ratio = (uLong)((file_info.compressed_size*100)/file_info.uncompressed_size);
286 ratio,
  /src/sys/arch/x68k/stand/libiocs/
iocs.h 44 unsigned short ratio; member in struct:iocs_circleptr
  /src/sys/dev/i2c/
tsllux.c 835 #define TSL2561_LUX_RATIOSCALE (9) /* Scale ratio by 2^9 */
933 uint32_t channel0, channel1, scale, ratio, lux = 0; local in function:tsllux_get_lux
999 /* Find the ratio of the channel values (ir / broadband) */
1001 ratio = (channel1 << (TSL2561_LUX_RATIOSCALE + 1)) / channel0;
1003 ratio = 0;
1005 /* Round the ratio value. */
1006 ratio = (ratio + 1) >> 1;
1022 if (ratio <= table[idx].k)
  /src/usr.bin/compress/
zopen.c 156 #define ratio zs->zs_ratio macro
192 #define CHECK_GAP 10000 /* Ratio check interval. */
229 * ratio decreases, but after the table fills. The variable-length output
267 ratio = 0;
640 if (rat > ratio)
641 ratio = rat;
643 ratio = 0;
673 ratio = 0;
  /src/sys/arch/arm/imx/
imxuart.c 449 imxuspeed(long speed, struct imxuart_baudrate_ratio *ratio)
478 ratio->numerator = b-1;
479 ratio->modulator = f-1;
1179 struct imxuart_baudrate_ratio ratio; local in function:imxuparam
1210 if (imxuspeed(t->c_ospeed, &ratio) < 0)
1212 sc->sc_ratio = ratio;
2178 struct imxuart_baudrate_ratio ratio; local in function:imxuart_init
2188 if (imxuspeed(rate, &ratio) < 0)
2193 IMX_UBIR, ratio.numerator);
2195 IMX_UBMR, ratio.modulator)
    [all...]
  /src/sys/arch/arm/xilinx/
zynq_uart.c 479 zynquartspeed(long speed, struct zynquart_baudrate_ratio *ratio)
1142 struct zynquart_baudrate_ratio ratio; local in function:zynquartparam
1173 if (zynquartspeed(t->c_ospeed, &ratio) < 0)
1175 sc->sc_ratio = ratio;
1953 struct zynquart_baudrate_ratio ratio; local in function:zynquart_init
1959 if (zynquartspeed(rate, &ratio) < 0)
  /src/sys/dev/stbi/
stb_image.c 4249 get32(s); //skip `ratio'
4325 int flags, bgindex, ratio, transparent, eflags; member in struct:stbi_gif_struct
4393 g->ratio = get8(s);

Completed in 32 milliseconds