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

1 2

  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_cdclk.h 24 u8 ratio; member in struct:intel_cdclk_vals
intel_cdclk.h 24 u8 ratio; member in struct:intel_cdclk_vals
  /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...]
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...]
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
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;
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));
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;
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
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...]
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);
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,
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
iocs.h 44 unsigned short ratio; member in struct:iocs_circleptr

Completed in 34 milliseconds

1 2