/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | fantog.c | 34 u32 percent; member in struct:nvkm_fantog 39 nvkm_fantog_update(struct nvkm_fantog *fan, int percent) nvkm_fantog_update() argument 49 if (percent < 0) nvkm_fantog_update() 50 percent = fan->percent; nvkm_fantog_update() 51 fan->percent = percent; nvkm_fantog_update() 56 if (list_empty(&fan->alarm.head) && percent != (duty * 100)) { nvkm_fantog_update() 57 u64 next_change = (percent * fan->period_us) / 100; nvkm_fantog_update() 77 return fan->percent; nvkm_fantog_get() 81 nvkm_fantog_set(struct nvkm_therm *therm, int percent) nvkm_fantog_set() argument 86 nvkm_fantog_update(fan, percent); nvkm_fantog_set() 112 fan->percent = 100; nvkm_fantog_create()
|
H A D | fan.c | 44 target = fan->percent; nvkm_fan_update() 47 if (fan->percent != target) { nvkm_fan_update() 49 fan->percent = target; nvkm_fan_update() 118 nvkm_therm_fan_set(struct nvkm_therm *therm, bool immediate, int percent) nvkm_therm_fan_set() argument 120 return nvkm_fan_update(therm->fan, immediate, percent); nvkm_therm_fan_set() 175 nvkm_therm_fan_user_set(struct nvkm_therm *therm, int percent) nvkm_therm_fan_user_set() argument 180 return nvkm_therm_fan_set(therm, true, percent); nvkm_therm_fan_user_set() 256 therm->fan->percent = nvkm_therm_fan_get(therm); nvkm_therm_fan_ctor()
|
H A D | priv.h | 45 int percent; member in struct:nvkm_fan 48 int (*set)(struct nvkm_therm *, int percent); 65 int nvkm_therm_fan_set(struct nvkm_therm *, bool now, int percent); 67 int nvkm_therm_fan_user_set(struct nvkm_therm *, int percent);
|
H A D | fanpwm.c | 59 nvkm_fanpwm_set(struct nvkm_therm *therm, int percent) nvkm_fanpwm_set() argument 74 duty = ((divs * percent) + 99) / 100; nvkm_fanpwm_set()
|
H A D | fannil.c | 33 nvkm_fannil_set(struct nvkm_therm *therm, int percent) nvkm_fannil_set() argument
|
H A D | base.c | 333 nvkm_therm_fan_set(therm, true, therm->fan->percent); nvkm_therm_init()
|
/linux-4.4.14/tools/perf/util/ |
H A D | color.c | 156 const char *get_percent_color(double percent) get_percent_color() argument 165 if (fabs(percent) >= MIN_RED) get_percent_color() 168 if (fabs(percent) > MIN_GREEN) get_percent_color() 174 int percent_color_fprintf(FILE *fp, const char *fmt, double percent) percent_color_fprintf() argument 179 color = get_percent_color(percent); percent_color_fprintf() 180 r = color_fprintf(fp, color, fmt, percent); percent_color_fprintf() 194 double percent; percent_color_snprintf() local 197 percent = va_arg(args, double); percent_color_snprintf() 199 return value_color_snprintf(bf, size, fmt, percent); percent_color_snprintf() 206 double percent; percent_color_len_snprintf() local 211 percent = va_arg(args, double); percent_color_len_snprintf() 214 color = get_percent_color(percent); percent_color_len_snprintf() 215 return color_snprintf(bf, size, color, fmt, len, percent); percent_color_len_snprintf()
|
H A D | color.h | 42 int percent_color_fprintf(FILE *fp, const char *fmt, double percent); 43 const char *get_percent_color(double percent);
|
H A D | annotate.c | 784 double percent = 0.0; disasm__calc_percent() local 798 percent += src_line->samples[evidx].percent; disasm__calc_percent() 811 percent = 100.0 * hits / h->sum; disasm__calc_percent() 815 return percent; disasm__calc_percent() 828 double percent, max_percent = 0.0; disasm_line__print() local 829 double *ppercents = &percent; disasm_line__print() 850 percent = disasm__calc_percent(notes, disasm_line__print() 856 ppercents[i] = percent; disasm_line__print() 858 if (percent > max_percent) disasm_line__print() 859 max_percent = percent; disasm_line__print() 894 percent = ppercents[i]; disasm_line__print() 896 color = get_percent_color(percent); disasm_line__print() 902 color_fprintf(stdout, color, " %7.2f", percent); disasm_line__print() 909 if (ppercents != &percent) disasm_line__print() 1265 iter->samples[i].percent_sum += src_line->samples[i].percent; insert_source_line() 1276 src_line->samples[i].percent_sum = src_line->samples[i].percent; insert_source_line() 1393 src_line->samples[k].percent = 100.0 * h->addr[i] / h->sum; symbol__get_source_line() 1395 if (src_line->samples[k].percent > percent_max) symbol__get_source_line() 1396 percent_max = src_line->samples[k].percent; symbol__get_source_line() 1429 double percent, percent_max = 0.0; print_summary() local 1436 percent = src_line->samples[i].percent_sum; print_summary() 1437 color = get_percent_color(percent); print_summary() 1438 color_fprintf(stdout, color, " %7.2f", percent); print_summary() 1440 if (percent > percent_max) print_summary() 1441 percent_max = percent; print_summary()
|
H A D | annotate.h | 96 double percent; member in struct:source_line_samples
|
H A D | callchain.h | 28 HELP_PAD "threshold:\tminimum call graph inclusion threshold (<percent>)\n" \
|
H A D | callchain.c | 130 /* try to get the min percent */ __parse_callchain_report_opt()
|
/linux-4.4.14/tools/perf/ui/gtk/ |
H A D | browser.c | 37 const char *perf_gtk__get_percent_color(double percent) perf_gtk__get_percent_color() argument 39 if (percent >= MIN_RED) perf_gtk__get_percent_color() 41 if (percent >= MIN_GREEN) perf_gtk__get_percent_color()
|
H A D | hists.c | 16 double percent; __percent_color_snprintf() local 23 percent = va_arg(args, double); __percent_color_snprintf() 26 markup = perf_gtk__get_percent_color(percent); __percent_color_snprintf() 30 ret += scnprintf(buf + ret, size - ret, fmt, len, percent); __percent_color_snprintf() 103 double percent; perf_gtk__add_callchain() local 109 percent = 100.0 * hits / total; perf_gtk__add_callchain() 119 scnprintf(buf, sizeof(buf), "%5.2f%%", percent); perf_gtk__add_callchain() 227 float percent; local 232 percent = hist_entry__get_percent_limit(h); 233 if (percent < min_pcnt)
|
H A D | annotate.c | 26 double percent = 0.0; perf_gtk__get_percent() local 39 percent = 100.0 * symhist->addr[dl->offset] / symhist->sum; perf_gtk__get_percent() 41 markup = perf_gtk__get_percent_color(percent); perf_gtk__get_percent() 44 ret += scnprintf(buf + ret, size - ret, "%6.2f%%", percent); perf_gtk__get_percent()
|
H A D | gtk.h | 42 const char *perf_gtk__get_percent_color(double percent);
|
/linux-4.4.14/include/uapi/linux/ |
H A D | atm_eni.h | 14 int tx,rx; /* values are in percent and must be > 100 */
|
H A D | sysctl.h | 179 VM_OVERCOMMIT_RATIO=16, /* percent of RAM to allow overcommit in */ 195 VM_MIN_UNMAPPED=32, /* Set min percent of unmapped pages */
|
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpuidle_sysfs.c | 27 static int cpuidle_get_count_percent(unsigned int id, double *percent, cpuidle_get_count_percent() argument 32 dprint("%s: - diff: %llu - percent: %f (%u)\n", cpuidle_get_count_percent() 33 cpuidle_cstates[id].name, timediff, *percent, cpu); cpuidle_get_count_percent() 36 *percent = 0.0; cpuidle_get_count_percent() 38 *percent = ((100.0 * statediff) / timediff); cpuidle_get_count_percent() 40 dprint("%s: - timediff: %llu - statediff: %llu - percent: %f (%u)\n", cpuidle_get_count_percent() 41 cpuidle_cstates[id].name, timediff, statediff, *percent, cpu); cpuidle_get_count_percent()
|
H A D | hsw_ext_idle.c | 29 static int hsw_ext_get_count_percent(unsigned int self_id, double *percent, 90 static int hsw_ext_get_count_percent(unsigned int id, double *percent, hsw_ext_get_count_percent() argument 93 *percent = 0.0; hsw_ext_get_count_percent() 98 *percent = (100.0 * hsw_ext_get_count_percent() 106 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", hsw_ext_get_count_percent() 110 *percent, cpu); hsw_ext_get_count_percent()
|
H A D | nhm_idle.c | 30 static int nhm_get_count_percent(unsigned int self_id, double *percent, 102 static int nhm_get_count_percent(unsigned int id, double *percent, nhm_get_count_percent() argument 105 *percent = 0.0; nhm_get_count_percent() 110 *percent = (100.0 * nhm_get_count_percent() 118 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", nhm_get_count_percent() 122 *percent, cpu); nhm_get_count_percent()
|
H A D | snb_idle.c | 27 static int snb_get_count_percent(unsigned int self_id, double *percent, 87 static int snb_get_count_percent(unsigned int id, double *percent, snb_get_count_percent() argument 90 *percent = 0.0; snb_get_count_percent() 95 *percent = (100.0 * snb_get_count_percent() 103 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", snb_get_count_percent() 107 *percent, cpu); snb_get_count_percent()
|
H A D | mperf_monitor.c | 29 static int mperf_get_count_percent(unsigned int self_id, double *percent, 117 static int mperf_get_count_percent(unsigned int id, double *percent, mperf_get_count_percent() argument 134 *percent = 100.0 * mperf_diff / tsc_diff; mperf_get_count_percent() 139 *percent = 100.0 * mperf_diff / timediff; mperf_get_count_percent() 146 *percent = 100.0 - *percent; mperf_get_count_percent() 150 dprint("%s: %f\n", mperf_cstates[id].name, *percent); mperf_get_count_percent()
|
H A D | amd_fam14h_idle.c | 46 static int fam14h_get_count_percent(unsigned int self_id, double *percent, 208 static int fam14h_get_count_percent(unsigned int id, double *percent, fam14h_get_count_percent() argument 219 *percent = 0.0; fam14h_get_count_percent() 221 *percent = 100.0 * diff / timediff / 12.5; fam14h_get_count_percent() 223 dprint("Timediff: %llu - res~: %lu us - percent: %.2f %%\n", fam14h_get_count_percent() 224 timediff, diff * 10 / 125, *percent); fam14h_get_count_percent()
|
H A D | cpupower-monitor.c | 139 double percent; print_results() local 168 ret = s.get_count_percent(s.id, &percent, print_results() 172 else if (percent >= 100.0) print_results() 173 printf("%6.1f", percent); print_results() 175 printf("%6.2f", percent); print_results() 268 * percent, time (granlarity) list_monitors()
|
H A D | cpupower-monitor.h | 39 int (*get_count_percent)(unsigned int self_id, double *percent,
|
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/ |
H A D | loongson_hwmon.h | 38 /* percent only used when type is CONSTANT_SPEED_POLICY */ 39 u8 percent; member in struct:loongson_fan_policy
|
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | boost.h | 19 u8 percent; member in struct:nvbios_boostS
|
/linux-4.4.14/kernel/trace/ |
H A D | trace_branch.c | 237 long percent; get_incorrect_percent() local 240 percent = p->incorrect * 100; get_incorrect_percent() 241 percent /= p->correct + p->incorrect; get_incorrect_percent() 243 percent = p->incorrect ? 100 : -1; get_incorrect_percent() 245 return percent; get_incorrect_percent() 252 long percent; branch_stat_show() local 263 percent = get_incorrect_percent(p); branch_stat_show() 266 if (percent < 0) branch_stat_show() 269 seq_printf(m, "%3ld ", percent); branch_stat_show()
|
/linux-4.4.14/include/linux/ |
H A D | s3c_adc_battery.h | 7 int level; /* percent */
|
/linux-4.4.14/tools/perf/ui/stdio/ |
H A D | hist.c | 53 double percent; ipchain__fprintf_graph() local 55 percent = hits * 100.0 / total_samples; ipchain__fprintf_graph() 56 ret += percent_color_fprintf(fp, "--%2.2f%%-- ", percent); ipchain__fprintf_graph() 246 double percent; callchain__fprintf_flat() local 249 percent = chain->hit * 100.0 / total_samples; callchain__fprintf_flat() 251 ret = percent_color_fprintf(fp, " %6.2f%%\n", percent); callchain__fprintf_flat() 463 float percent; local 468 percent = hist_entry__get_percent_limit(h); 469 if (percent < min_pcnt)
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
H A D | constants.h | 131 #define IWL_MVM_RS_SR_FORCE_DECREASE 15 /* percent */ 132 #define IWL_MVM_RS_SR_NO_DECREASE 85 /* percent */ 135 #define IWL_MVM_RS_TPC_SR_FORCE_INCREASE 75 /* percent */ 136 #define IWL_MVM_RS_TPC_SR_NO_INCREASE 85 /* percent */
|
/linux-4.4.14/drivers/power/ |
H A D | twl4030_madc_battery.c | 139 int percent = twl4030_madc_bat_voltscale(bat, twl4030_madc_bat_get_property() local 141 val->intval = (percent * bat->pdata->capacity) / 100; twl4030_madc_bat_get_property() 155 int percent = twl4030_madc_bat_voltscale(bat, twl4030_madc_bat_get_property() local 158 int chg = (percent * (bat->pdata->capacity/1000))/100; twl4030_madc_bat_get_property()
|
H A D | ab8500_fg.c | 1155 * Get the battery capacity level based on the capacity in percent 1159 int ret, percent; ab8500_fg_capacity_level() local 1161 percent = DIV_ROUND_CLOSEST(di->bat_cap.permille, 10); ab8500_fg_capacity_level() 1163 if (percent <= di->bm->cap_levels->critical || ab8500_fg_capacity_level() 1166 else if (percent <= di->bm->cap_levels->low) ab8500_fg_capacity_level() 1168 else if (percent <= di->bm->cap_levels->normal) ab8500_fg_capacity_level() 1170 else if (percent <= di->bm->cap_levels->high) ab8500_fg_capacity_level() 1282 int percent = DIV_ROUND_CLOSEST(di->bat_cap.permille, 10); ab8500_fg_check_capacity_limits() local 1314 percent = 0; ab8500_fg_check_capacity_limits() 1324 di->bat_cap.prev_percent = percent; ab8500_fg_check_capacity_limits() 1337 } else if (di->bat_cap.prev_percent != percent) { ab8500_fg_check_capacity_limits() 1341 percent); ab8500_fg_check_capacity_limits() 1342 di->bat_cap.prev_percent = percent; ab8500_fg_check_capacity_limits() 1347 } else if (di->bat_cap.prev_percent != percent) { ab8500_fg_check_capacity_limits() 1348 if (percent == 0) { ab8500_fg_check_capacity_limits() 1355 percent = 1; ab8500_fg_check_capacity_limits() 1359 percent > di->bat_cap.prev_percent) || init) { ab8500_fg_check_capacity_limits() 1367 percent, ab8500_fg_check_capacity_limits() 1369 di->bat_cap.prev_percent = percent; ab8500_fg_check_capacity_limits() 1377 percent, ab8500_fg_check_capacity_limits() 1511 /* 1000 is permille, -> 100 percent */ check_sysfs_capacity() 2087 * capacity: capacity in percent
|
H A D | 88pm860x_battery.c | 126 * The first number is mAh(=3.6C), and the second number is percent point. 368 /* Calculate State of Charge (percent points) */ calc_soc()
|
H A D | abx500_chargalg.c | 93 int percent; member in struct:abx500_chargalg_battery_data 1002 di->batt_data.percent = ret.intval; abx500_chargalg_get_ext_psy_data() 1293 di->batt_data.percent = ret.intval; abx500_chargalg_get_ext_psy_data() 1442 di->batt_data.percent, abx500_chargalg_algorithm() 1609 if (di->batt_data.percent <= abx500_chargalg_algorithm()
|
/linux-4.4.14/include/linux/power/ |
H A D | twl4030_madc_battery.h | 28 short level; /* in percent (0 .. 100%) */
|
/linux-4.4.14/include/linux/mfd/ |
H A D | abx500.h | 59 * @capacity: Capacity in percent 195 * @critical: critical capacity level in percent 196 * @low: low capacity level in percent 197 * @normal: normal capacity level in percent 198 * @high: high capacity level in percent 199 * @full: full capacity level in percent 254 * @cap_levels capacity in percent for the different capacity levels
|
H A D | max8998.h | 88 * @eoc: End of Charge Level in percent: 10% ~ 45% by 5% step
|
H A D | cros_ec_commands.h | 934 uint8_t percent; member in struct:ec_response_pwm_get_keyboard_backlight 942 uint8_t percent; member in struct:ec_params_pwm_set_keyboard_backlight 949 uint32_t percent; member in struct:ec_params_pwm_set_fan_duty 2398 /* Keyboard backlight brightness percent (0 - 100) */
|
/linux-4.4.14/tools/testing/fault-injection/ |
H A D | failcmd.sh | 23 -p percent 24 --probability=percent 25 likelihood of failure injection, in percent.
|
/linux-4.4.14/tools/testing/selftests/memory-hotplug/ |
H A D | mem-on-off-test.sh | 126 echo "Usage $0 [ -e errno ] [ -p notifier-priority ] [ -r percent-of-memory-to-offline ]" 159 # Offline $ratio percent of hot-pluggable memory 204 # Offline $ratio percent of hot-pluggable memory
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_queue.c | 35 pr_debug("Queue percent: %u\n", q->queue_percent); print_queue_properties() 52 pr_debug("Queue percent: %u\n", q->properties.queue_percent); print_queue()
|
/linux-4.4.14/drivers/platform/x86/ |
H A D | intel_oaktrail.c | 230 u8 percent = (u8) b->props.brightness; set_backlight_brightness() local 231 if (percent < 0 || percent > OT_EC_BL_BRIGHTNESS_MAX) set_backlight_brightness() 234 ec_write(OT_EC_BL_BRIGHTNESS_ADDRESS, percent); set_backlight_brightness()
|
/linux-4.4.14/include/linux/mfd/abx500/ |
H A D | ab8500-bm.h | 370 * @critical: critical capacity level in percent 371 * @low: low capacity level in percent 372 * @normal: normal capacity level in percent 373 * @high: high capacity level in percent 374 * @full: full capacity level in percent 423 * @cap_levels capacity in percent for the different capacity levels
|
/linux-4.4.14/tools/perf/ui/ |
H A D | hist.c | 29 double percent = 0.0; __hpp__fmt() local 33 percent = 100.0 * get_field(he) / total; __hpp__fmt() 35 ret = hpp__call_print_fn(hpp, print_fn, fmt, len, percent); __hpp__fmt() 241 double percent; hpp_color_scnprintf() local 246 percent = va_arg(args, double); hpp_color_scnprintf() 247 ret = percent_color_len_snprintf(hpp->buf, hpp->size, fmt, len, percent); hpp_color_scnprintf()
|
H A D | browser.h | 34 double percent, bool current);
|
H A D | browser.c | 18 double percent, bool current) ui_browser__percent_color() 22 if (percent >= MIN_RED) ui_browser__percent_color() 24 if (percent >= MIN_GREEN) ui_browser__percent_color() 38 double percent, bool current) ui_browser__set_percent_color() 40 int color = ui_browser__percent_color(browser, percent, current); ui_browser__set_percent_color() 17 ui_browser__percent_color(struct ui_browser *browser, double percent, bool current) ui_browser__percent_color() argument 37 ui_browser__set_percent_color(struct ui_browser *browser, double percent, bool current) ui_browser__set_percent_color() argument
|
/linux-4.4.14/drivers/staging/lustre/lustre/fld/ |
H A D | fld_internal.h | 132 /* Cache threshold is 10 percent of size. */ 135 /* Cache threshold is 10 percent of size. */
|
/linux-4.4.14/drivers/atm/ |
H A D | eni.h | 94 int tx_mult; /* buffer size multiplier (percent) */ 102 int rx_mult; /* buffer size multiplier (percent) */
|
/linux-4.4.14/fs/jfs/ |
H A D | jfs_types.h | 145 u8 thresh; /* Alert Threshold (in percent) */ 146 u8 delta; /* Alert Threshold delta (in percent) */
|
/linux-4.4.14/scripts/kconfig/lxdialog/ |
H A D | textbox.c | 401 int percent; print_position() local 405 percent = (page - buf) * 100 / strlen(buf); print_position() 407 wprintw(win, "(%3d%%)", percent); print_position()
|
/linux-4.4.14/tools/perf/ui/browsers/ |
H A D | annotate.c | 14 double percent; member in struct:disasm_line_samples 126 if (bdl->samples[i].percent > percent_max) annotate_browser__write() 127 percent_max = bdl->samples[i].percent; annotate_browser__write() 134 bdl->samples[i].percent, annotate_browser__write() 141 bdl->samples[i].percent); annotate_browser__write() 312 if (a->samples[i].percent == b->samples[i].percent) disasm__cmp() 314 return a->samples[i].percent < b->samples[i].percent; disasm__cmp() 407 bpos->samples[i].percent = disasm__calc_percent(notes, annotate_browser__calc_percent() 414 if (max_percent < bpos->samples[i].percent) annotate_browser__calc_percent() 415 max_percent = bpos->samples[i].percent; annotate_browser__calc_percent()
|
H A D | hists.c | 625 double percent = cumul * 100.0 / total; hist_browser__show_callchain() local 627 if (asprintf(&alloc_str, "%2.2f%% %s", percent, str) < 0) hist_browser__show_callchain() 675 double percent; __hpp__slsmg_color_printf() local 679 percent = va_arg(args, double); __hpp__slsmg_color_printf() 682 ui_browser__set_percent_color(arg->b, percent, arg->current_entry); __hpp__slsmg_color_printf() 684 ret = scnprintf(hpp->buf, hpp->size, fmt, len, percent); __hpp__slsmg_color_printf() 939 float percent; hist_browser__refresh() local 944 percent = hist_entry__get_percent_limit(h); hist_browser__refresh() 945 if (percent < hb->min_pcnt) hist_browser__refresh() 961 float percent = hist_entry__get_percent_limit(h); hists__filter_entries() local 963 if (!h->filtered && percent >= min_pcnt) hists__filter_entries() 977 float percent = hist_entry__get_percent_limit(h); hists__filter_prev_entries() local 979 if (!h->filtered && percent >= min_pcnt) hists__filter_prev_entries()
|
/linux-4.4.14/include/uapi/linux/can/ |
H A D | netlink.h | 32 __u32 sample_point; /* Sample point in one-tenth of a percent */
|
/linux-4.4.14/drivers/cpufreq/ |
H A D | intel_pstate.c | 200 static inline void pid_p_gain_set(struct _pid *pid, int percent) pid_p_gain_set() argument 202 pid->p_gain = div_fp(int_tofp(percent), int_tofp(100)); pid_p_gain_set() 205 static inline void pid_i_gain_set(struct _pid *pid, int percent) pid_i_gain_set() argument 207 pid->i_gain = div_fp(int_tofp(percent), int_tofp(100)); pid_i_gain_set() 210 static inline void pid_d_gain_set(struct _pid *pid, int percent) pid_d_gain_set() argument 212 pid->d_gain = div_fp(int_tofp(percent), int_tofp(100)); pid_d_gain_set() 942 * We normalize core_busy, which was our actual percent intel_pstate_get_scaled_busy()
|
/linux-4.4.14/scripts/ |
H A D | get_maintainer.pl | 221 'git-min-percent=i' => \$email_git_min_percent, 782 --git-min-percent => minimum percentage of commits required (default: $email_git_min_percent) 840 --git-min-signatures, --git-max-maintainers, --git-min-percent, and 1568 %# min percent [$email_git_min_percent] 1905 my $percent = $sign_offs * 100 / $divisor; 1907 $percent = 100 if ($percent > 100); 1912 $percent < $email_git_min_percent); 1915 my $fmt_percent = sprintf("%.0f", $percent);
|
H A D | analyze_suspend.py | 826 scaleH = 0.0 # height of the row as a percent of the timeline height 827 rowH = 0.0 # height of each row in percent of the timeline height
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | boost.c | 121 info->percent = nvbios_rd08(bios, data + 0x01); nvbios_boostSp()
|
/linux-4.4.14/arch/arm/mach-pxa/ |
H A D | sharpsl_pm.c | 232 int voltage, percent, apm_status, i; sharpsl_battery_thread() local 256 percent = get_percentage(voltage); sharpsl_battery_thread() 262 || percent <= sharpsl_pm.battstat.mainbat_percent) { sharpsl_battery_thread() 265 sharpsl_pm.battstat.mainbat_percent = percent; sharpsl_battery_thread()
|
/linux-4.4.14/drivers/media/pci/cx23885/ |
H A D | cx23885-input.c | 197 params.duty_cycle = 33; /* percent, 33 percent for NEC */ cx23885_input_ir_start()
|
/linux-4.4.14/drivers/gpu/drm/msm/dsi/phy/ |
H A D | dsi_phy.c | 21 static inline s32 linear_inter(s32 tmax, s32 tmin, s32 percent, linear_inter() argument 26 v = (tmax - tmin) * percent; linear_inter()
|
/linux-4.4.14/tools/perf/ |
H A D | builtin-top.c | 396 fprintf(stdout, "\t[F] annotate display filter (percent). \t(%d%%)\n", top->sym_pcnt_filter); perf_top__print_mapped_keys() 504 "Enter details display event filter (percent)"); perf_top__handle_keypress() 1206 OPT_CALLBACK(0, "percent-limit", &top, "percent", cmd_top() 1207 "Don't show entries under that percent", parse_percent_limit), cmd_top()
|
H A D | builtin-diff.c | 836 double percent = baseline_percent(he); hpp__color_baseline() local 842 pfmt, percent); hpp__color_baseline() 850 double percent = baseline_percent(he); hpp__entry_baseline() local 855 ret = scnprintf(buf, size, fmt, percent); hpp__entry_baseline()
|
H A D | builtin-report.c | 77 if (!strcmp(var, "report.percent-limit")) { report__config() 773 OPT_CALLBACK(0, "percent-limit", &report, "percent", cmd_report() 774 "Don't show entries under that percent", parse_percent_limit), cmd_report()
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
H A D | oaktrail_device.c | 81 /* Adjust the backlight level with the percent in oaktrail_set_brightness() 87 /* Adjust the backlight level with the percent in oaktrail_set_brightness()
|
H A D | mdfld_device.c | 67 * Adjust the backlight level with the percent in mdfld_set_brightness()
|
/linux-4.4.14/drivers/hwmon/ |
H A D | sht21.c | 73 * one-thousandths of a percent relative humidity
|
H A D | hih6130.c | 75 * one-thousandths of a percent relative humidity
|
H A D | sht15.c | 647 int rh_linear; /* milli percent */ sht15_calc_humid()
|
/linux-4.4.14/drivers/net/wireless/b43/ |
H A D | tables_nphy.h | 18 u8 percent; member in struct:nphy_txiqcal_ladder
|
H A D | phy_n.c | 4949 scale = (ladder_lo[i].percent * tmp) / 100; b43_nphy_update_tx_cal_ladder() 4953 scale = (ladder_iq[i].percent * tmp) / 100; b43_nphy_update_tx_cal_ladder()
|
/linux-4.4.14/drivers/hid/ |
H A D | hid-sensor-custom.c | 102 {0x200310, "property-change-sensitivity-percent-range"}, 103 {0x200311, "property-change-sensitivity-percent-relative"},
|
H A D | hid-input.c | 304 #define HID_BATTERY_QUIRK_PERCENT (1 << 0) /* always reports percent */
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
H A D | pptable.h | 88 USHORT usPWMMin; // The minimum PWM value in percent (0.01% increments). 89 USHORT usPWMMed; // The PWM value (in percent) at TMed.
|
H A D | radeon_pm.c | 586 case 1: /* manual, percent-based */ radeon_hwmon_set_pwm1_enable()
|
/linux-4.4.14/drivers/gpu/drm/amd/include/ |
H A D | pptable.h | 88 USHORT usPWMMin; // The minimum PWM value in percent (0.01% increments). 89 USHORT usPWMMed; // The PWM value (in percent) at TMed.
|
/linux-4.4.14/fs/ |
H A D | coredump.c | 192 /* Double percent, output one percent */ format_corename()
|
/linux-4.4.14/fs/ubifs/ |
H A D | sb.c | 35 * Default journal size in logical eraseblocks as a percent of total 57 /* Default reserved pool size as a percent of maximum free space */
|
/linux-4.4.14/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 2143 * @percent: Broadcast storm threshold in percent of transmit rate. 2147 static void sw_cfg_broad_storm(struct ksz_hw *hw, u8 percent) sw_cfg_broad_storm() argument 2150 u32 value = ((u32) BROADCAST_STORM_VALUE * (u32) percent / 100); sw_cfg_broad_storm() 2164 * @percent: Buffer to store the broadcast storm threshold percentage. 2168 static void sw_get_broad_storm(struct ksz_hw *hw, u8 *percent) sw_get_broad_storm() argument 2178 *percent = (u8) num; sw_get_broad_storm() 2226 * @percent: Broadcast storm threshold in percent of transmit rate. 2231 static void hw_cfg_broad_storm(struct ksz_hw *hw, u8 percent) hw_cfg_broad_storm() argument 2233 if (percent > 100) hw_cfg_broad_storm() 2234 percent = 100; hw_cfg_broad_storm() 2236 sw_cfg_broad_storm(hw, percent); hw_cfg_broad_storm() 2237 sw_get_broad_storm(hw, &percent); hw_cfg_broad_storm() 2238 hw->ksz_switch->broad_per = percent; hw_cfg_broad_storm() 4287 /* Enable switch broadcast storm protection at 10% percent rate. */ sw_setup()
|
/linux-4.4.14/include/linux/lockd/ |
H A D | lockd.h | 78 * percent sign, a scope id (at most 32 bits, in decimal), and NUL.
|
/linux-4.4.14/arch/s390/kernel/ |
H A D | perf_cpum_sf.c | 452 static unsigned long min_percent(unsigned int percent, unsigned long base, min_percent() argument 455 return min_t(unsigned long, min, DIV_ROUND_UP(percent * base, 100)); min_percent() 494 * per second in percent. sfb_account_overflows()
|
/linux-4.4.14/drivers/staging/speakup/ |
H A D | i18n.c | 416 /* skip over doubled percent signs */ next_specifier()
|
H A D | main.c | 141 /*032*/ "space", "bang!", "quote", "number", "dollar", "percent", "and",
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
H A D | base.c | 63 input = input * boostS.percent / 100; nvkm_clk_adjust()
|
/linux-4.4.14/fs/xfs/ |
H A D | xfs_filestream.c | 420 * timer tunable to within about 10 percent. This requires at least 10 xfs_filestream_mount()
|
/linux-4.4.14/arch/powerpc/crypto/ |
H A D | aes-spe-glue.c | 386 * This improves IPsec thoughput by another few percent. Additionally we assume
|
/linux-4.4.14/drivers/video/fbdev/core/ |
H A D | fbmon.c | 1151 * duty cycle = percent of htotal assigned to inactive display 1184 * duty cycle = percent of htotal assigned to inactive display
|
/linux-4.4.14/drivers/scsi/bfa/ |
H A D | bfi.h | 737 u16 bw_min; /* percent BW @ max speed */ 738 u16 bw_max; /* percent BW @ max speed */
|
/linux-4.4.14/drivers/net/can/ |
H A D | dev.c | 71 #define CAN_CALC_MAX_ERROR 50 /* in one-tenth of a percent */ 160 /* Error in one-tenth of a percent */ can_calc_bittiming()
|
/linux-4.4.14/drivers/input/misc/ |
H A D | ad714x.c | 689 * percent between the sensor on the edge and the adjacent one. The 690 * difference is calculated in percent in order to make the end point
|
/linux-4.4.14/drivers/media/rc/img-ir/ |
H A D | img-ir-hw.c | 170 * @tolerance: Tolerance as a fraction of 128 (roughly percent). 325 decoder->tolerance = 10; /* percent */ img_ir_decoder_preprocess()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | pio.c | 594 * Calculate credit threshold in terms of percent of the allocated credits. 600 static u32 sc_percent_to_threshold(struct send_context *sc, u32 percent) sc_percent_to_threshold() argument 602 return (sc->credits * percent) / 100; sc_percent_to_threshold()
|
H A D | init.c | 115 MODULE_PARM_DESC(user_credit_return_theshold, "Credit return threshold for user send contexts, return when unreturned credits passes this many blocks (in percent of allocated blocks, 0 is off)");
|
/linux-4.4.14/drivers/scsi/pm8001/ |
H A D | pm8001_sas.h | 595 u32 phaseCmplt;/*percent complete for the current
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_pm.c | 208 case 1: /* manual, percent-based */ amdgpu_hwmon_set_pwm1_enable()
|
/linux-4.4.14/drivers/usb/serial/ |
H A D | iuu_phoenix.c | 1218 MODULE_PARM_DESC(boost, "Card overclock boost (in percent 100-500)");
|
/linux-4.4.14/drivers/tty/serial/ |
H A D | bfin_uart.c | 246 * character time +/- some percent. So 1.5 sounds good. All other bfin_serial_rx_chars()
|
H A D | xilinx_uartps.c | 371 /* use the values when percent error is acceptable */ cdns_uart_calc_baud_divs()
|
/linux-4.4.14/drivers/regulator/ |
H A D | twl-regulator.c | 371 * to record voltages in milliVolts. (Accuracy is about three percent.)
|
/linux-4.4.14/drivers/s390/cio/ |
H A D | cmf.c | 1080 /* calculate value in 0.1 percent units */ cmb_show_avg_utilization()
|
/linux-4.4.14/drivers/scsi/ |
H A D | gdth.h | 385 u8 percent; /* progress for surface check */ member in struct:__anon9385
|
/linux-4.4.14/drivers/md/bcache/ |
H A D | bcache.h | 450 unsigned in_use; /* percent */
|
/linux-4.4.14/drivers/md/ |
H A D | dm-cache-policy-smq.c | 1463 #define CLEAN_TARGET_CRITICAL 5u /* percent */
|
H A D | bitmap.c | 15 * flush after percent set rather than just time based. (maybe both).
|
/linux-4.4.14/drivers/mtd/ubi/ |
H A D | ubi-media.h | 81 * exceed certain percent, e.g. 2%. When one creates an UBI image which will be
|
/linux-4.4.14/drivers/net/wireless/ti/wlcore/ |
H A D | conf.h | 253 * The threshold (percent) of max consecutive beacon misses before
|
/linux-4.4.14/drivers/acpi/ |
H A D | processor_throttling.c | 949 * 50% power). Values are in 1/10th of a percent to preserve accuracy. acpi_processor_get_fadt_info()
|
/linux-4.4.14/fs/reiserfs/ |
H A D | bitmap.c | 895 * specified as number of percent with mount option device, else try to put
|
/linux-4.4.14/fs/ufs/ |
H A D | ufs_fs.h | 193 * however throughput drops by fifty percent if the file system
|
/linux-4.4.14/include/media/ |
H A D | v4l2-subdev.h | 524 unsigned int duty_cycle; /* percent, valid only for modulated signal*/
|
/linux-4.4.14/drivers/scsi/mpt3sas/ |
H A D | mpt3sas_base.h | 506 * @percent_complete: resync percent complete
|
H A D | mpt3sas_scsih.c | 1544 * scsih_get_resync - get raid volume resync percent complete 6735 "\thandle(0x%04x), percent complete(%d)\n", _scsih_sas_ir_operation_status_event_debug()
|
/linux-4.4.14/drivers/video/fbdev/ |
H A D | w100fb.c | 1081 /* Wai Ming 80 percent of VDD 1.3V gives 1.04V, minimum operating voltage is 1.08V w100_pll_adjust()
|
/linux-4.4.14/drivers/media/pci/saa7164/ |
H A D | saa7164-api.c | 46 printk(KERN_INFO "saa7164[%d]-CPU: %d percent", dev->nr, i->CPULoad); saa7164_api_get_load_info()
|
/linux-4.4.14/drivers/net/wireless/iwlegacy/ |
H A D | 4965.h | 258 * Celsius (273 degrees Kelvin). The 8 (3 percent of 273) compensates for
|
/linux-4.4.14/drivers/block/xen-blkback/ |
H A D | blkback.c | 102 * from the list. The percent number of grants to be removed at each LRU
|
/linux-4.4.14/drivers/staging/rtl8712/ |
H A D | rtl871x_ioctl_linux.c | 887 /* percent values between 0 and 100. */ r8711_wx_get_range()
|
/linux-4.4.14/drivers/net/wireless/ |
H A D | airo.c | 683 u8 noisePercent; /* Noise percent in last second */ 685 u8 noiseAvePercent; /* Noise percent in last minute */ 687 u8 noiseMaxPercent; /* Highest noise percent in last minute */
|
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/ |
H A D | ioctl_linux.c | 887 /* percent values between 0 and 100. */ rtw_wx_get_range()
|
/linux-4.4.14/drivers/staging/rtl8723au/hal/ |
H A D | rtl8723a_bt-coexist.c | 9300 u8 percent, u1tmp; BTDM_FwC2hBtRssi8723A() local 9303 percent = u1tmp*2+10; BTDM_FwC2hBtRssi8723A() 9305 pHalData->bt_coexist.halCoex8723.btRssi = percent; BTDM_FwC2hBtRssi8723A() 9306 /*RTPRINT(FBT, BT_TRACE, ("[BTC2H], BT RSSI =%d\n", percent)); */ BTDM_FwC2hBtRssi8723A()
|
/linux-4.4.14/drivers/scsi/qla2xxx/ |
H A D | qla_def.h | 2920 #define LEAK_EXCHG_THRESH_HOLD_PERCENT 75 /* 75 percent */
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
H A D | skge.h | 811 #define SK_FACT_62 100 /* is given in percent */
|
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/ |
H A D | vxge-traffic.h | 218 * @urange_a: Defines the upper limit (in percent) for this utilization range
|
/linux-4.4.14/kernel/debug/kdb/ |
H A D | kdb_main.c | 474 * percent sign), an environment variable with a numeric value
|
/linux-4.4.14/drivers/usb/host/ |
H A D | xhci.c | 2203 /* Convert percent of bus BW reserved to blocks reserved */ xhci_check_bw_table() 2344 "Available: %u " "percent", xhci_check_bw_table()
|
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
H A D | ipw2100.c | 8254 /* FIXME: this is percent and not a # */ ipw2100_wx_wireless_stats()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
H A D | phy_n.c | 193 u8 percent; member in struct:nphy_txiqcal_ladder 24311 bbmult_scale = ladder_lo[index].percent * bbmult; wlc_phy_update_txcal_ladder_nphy() 24319 bbmult_scale = ladder_iq[index].percent * bbmult; wlc_phy_update_txcal_ladder_nphy()
|