HomeSort by: relevance | last modified time | path
    Searched refs:percent (Results 1 - 25 of 51) sorted by relevancy

1 2 3

  /src/games/trek/
impulse.c 56 int percent; local in function:impulse
69 percent = 100 * power / Ship.energy + 0.5;
70 if (percent >= 85) {
73 percent);
79 percent = 100 * time / Now.time + 0.5;
80 if (percent >= 85) {
82 percent);
rest.c 64 int percent; local in function:rest
70 percent = 100 * t / Now.time + 0.5;
71 if (percent >= 70) {
73 percent);
warp.c 85 int percent; local in function:warp
103 percent = 100 * power / Ship.energy + 0.5;
104 if (percent >= 85) {
107 percent);
117 percent = 100 * time / Now.time + 0.5;
118 if (percent >= 85) {
120 percent);
156 percent = ranf(100);
157 if (percent < 70) {
159 if (percent < 35 || !Game.snap)
    [all...]
srscan.c 73 int percent; local in function:srscan
141 percent = 100.0 * Ship.shield / Param.shield;
142 printf("shields %s, %d%%", s, percent);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/therm/
nouveau_nvkm_subdev_therm_fantog.c 39 u32 percent; member in struct:nvkm_fantog
44 nvkm_fantog_update(struct nvkm_fantog *fan, int percent)
54 if (percent < 0)
55 percent = fan->percent;
56 fan->percent = percent;
61 if (percent != (duty * 100)) {
62 u64 next_change = (percent * fan->period_us) / 100;
82 return fan->percent;
    [all...]
nouveau_nvkm_subdev_therm_fannil.c 38 nvkm_fannil_set(struct nvkm_therm *therm, int percent)
priv.h 49 int percent; member in struct:nvkm_fan
52 int (*set)(struct nvkm_therm *, int percent);
71 int nvkm_therm_fan_set(struct nvkm_therm *, bool now, int percent);
73 int nvkm_therm_fan_user_set(struct nvkm_therm *, int percent);
nouveau_nvkm_subdev_therm_fan.c 49 target = fan->percent;
52 if (fan->percent != target) {
56 fan->percent = target;
127 nvkm_therm_fan_set(struct nvkm_therm *therm, bool immediate, int percent)
129 return nvkm_fan_update(therm->fan, immediate, percent);
184 nvkm_therm_fan_user_set(struct nvkm_therm *therm, int percent)
189 return nvkm_therm_fan_set(therm, true, percent);
273 therm->fan->percent = nvkm_therm_fan_get(therm);
nouveau_nvkm_subdev_therm_fanpwm.c 64 nvkm_fanpwm_set(struct nvkm_therm *therm, int percent)
79 duty = ((divs * percent) + 99) / 100;
  /src/usr.bin/make/unit-tests/
dep-percent.mk 1 # $NetBSD: dep-percent.mk,v 1.1 2020/10/23 19:54:35 rillig Exp $
8 all: dep-percent.o
13 dep-percent.c:
dep-percent.exp 1 make: don't know how to make dep-percent.o (continuing)
dep-wildcards.exp 9 dep-percent.mk
export.mk 18 %= percent
varmod-sysv.mk 89 # See SysVMatch, percent != NULL && w[0] == '\0'.
160 # The suffix "o" is replaced with a literal percent. The percent is only
166 # Each word with the suffix "o" is replaced with "X". The percent is a
167 # wildcard even though the right-hand side does not contain another percent.
172 # Each word with the prefix "o" is replaced with "X". The percent is a
173 # wildcard even though the right-hand side does not contain another percent.
190 # are literal percent characters.
  /src/games/rogue/
object.c 396 short percent; local in function:gr_what_is
399 percent = get_rand(1, 91);
401 if (percent <= 30) {
403 } else if (percent <= 60) {
405 } else if (percent <= 64) {
407 } else if (percent <= 74) {
409 } else if (percent <= 83) {
411 } else if (percent <= 88) {
422 short percent; local in function:gr_scroll
424 percent = get_rand(0, 91)
460 short percent; local in function:gr_potion
529 short percent; local in function:gr_weapon
570 short percent; local in function:gr_armor
    [all...]
  /src/sys/arch/x68k/usr.bin/bellctrl/
bellctrl.c 50 int percent; local in function:main
65 percent = DEFAULT;
69 set_bell_vol(percent);
71 set_bell_pitch(percent);
73 set_bell_dur(percent);
90 percent = 0;
91 set_bell_vol(percent);
98 percent = atoi(arg);
100 set_bell_vol(percent);
173 set_bell_vol(int percent)
    [all...]
  /src/games/fortune/fortune/
fortune.c 92 int percent; member in struct:fd
389 int i, percent; local in function:form_file_list
401 percent = NO_PROB;
405 percent = 0;
407 percent = percent * 10 + *sp - '0';
408 if (percent > 100) {
422 percent = NO_PROB;
435 if (!add_file(percent, sp, NULL, &File_list, &File_tail, NULL))
446 add_file(int percent, const char *file, const char *dir
861 int percent, num_noprob, frac; local in function:init_prob
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvkm/subdev/bios/
boost.h 22 u8 percent; member in struct:nvbios_boostS
  /src/sys/dev/acpi/
acpi_cpu_tstate.c 283 * There must be an entry with the percent
659 acpicpu_tstate_get(struct cpu_info *ci, uint32_t *percent)
686 *percent = sc->sc_tstate_current;
697 rv = acpicpu_md_tstate_get(sc, percent);
725 *percent = ts->ts_percent;
734 sc->sc_tstate_current = *percent;
744 *percent = sc->sc_tstate_current = ACPICPU_T_STATE_UNKNOWN;
751 acpicpu_tstate_set(struct cpu_info *ci, uint32_t percent)
755 xc = xc_broadcast(0, acpicpu_tstate_set_xcall, &percent, NULL);
765 uint32_t i, percent, val local in function:acpicpu_tstate_set_xcall
    [all...]
  /src/sys/arch/hpcarm/dev/
j720pwr.c 86 int percent; member in struct:__anon2110032d0108
264 *pval = battery_table[i].percent +
265 ((battery_table[i - 1].percent -
266 battery_table[i].percent) * tmp) / 100;
  /src/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/
amdgpu_vega20_thermal.c 127 uint32_t current_rpm, percent = 0; local in function:vega20_fan_ctrl_get_fan_speed_percent
134 percent = current_rpm * 100 / pp_table->FanMaximumRpm;
136 *speed = percent > 100 ? 100 : percent;
amdgpu_vega10_thermal.c 77 uint32_t percent = 0; local in function:vega10_fan_ctrl_get_fan_speed_percent
87 percent = current_rpm * 100 /
91 *speed = percent > 100 ? 100 : percent;
130 * mode the fan control mode, 0 default, 1 by percent, 5, by RPM
251 * Set Fan Speed in percent.
  /src/sys/external/gpl2/dts/dist/arch/arm64/boot/dts/renesas/
beacon-renesom-som.dtsi 177 idt,slew-percent = <100>;
183 idt,slew-percent = <100>;
189 idt,slew-percent = <100>;
195 idt,slew-percent = <100>;
  /src/distrib/utils/more/
prim.c 403 jump_percent(percent)
405 int percent;
419 pos = (percent * len) / 100;
  /src/usr.bin/make/
Makefile 38 GCOV_PERL+= my ($$percent, $$lines) = ($$1, $$2);
40 GCOV_PERL+= $$percent eq '100.00' ? '0'
45 GCOV_PERL+= $$percent, $$uncovered, $$lines, $$file, $$func);

Completed in 42 milliseconds

1 2 3