Searched refs:percent (Results 1 - 128 of 128) sorted by relevance

/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dfantog.c34 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 Dfan.c44 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 Dpriv.h45 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 Dfanpwm.c59 nvkm_fanpwm_set(struct nvkm_therm *therm, int percent) nvkm_fanpwm_set() argument
74 duty = ((divs * percent) + 99) / 100; nvkm_fanpwm_set()
H A Dfannil.c33 nvkm_fannil_set(struct nvkm_therm *therm, int percent) nvkm_fannil_set() argument
H A Dbase.c333 nvkm_therm_fan_set(therm, true, therm->fan->percent); nvkm_therm_init()
/linux-4.4.14/tools/perf/util/
H A Dcolor.c156 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 Dcolor.h42 int percent_color_fprintf(FILE *fp, const char *fmt, double percent);
43 const char *get_percent_color(double percent);
H A Dannotate.c784 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 Dannotate.h96 double percent; member in struct:source_line_samples
H A Dcallchain.h28 HELP_PAD "threshold:\tminimum call graph inclusion threshold (<percent>)\n" \
H A Dcallchain.c130 /* try to get the min percent */ __parse_callchain_report_opt()
/linux-4.4.14/tools/perf/ui/gtk/
H A Dbrowser.c37 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 Dhists.c16 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 Dannotate.c26 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 Dgtk.h42 const char *perf_gtk__get_percent_color(double percent);
/linux-4.4.14/include/uapi/linux/
H A Datm_eni.h14 int tx,rx; /* values are in percent and must be > 100 */
H A Dsysctl.h179 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 Dcpuidle_sysfs.c27 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 Dhsw_ext_idle.c29 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 Dnhm_idle.c30 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 Dsnb_idle.c27 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 Dmperf_monitor.c29 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 Damd_fam14h_idle.c46 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 Dcpupower-monitor.c139 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 Dcpupower-monitor.h39 int (*get_count_percent)(unsigned int self_id, double *percent,
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/
H A Dloongson_hwmon.h38 /* 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 Dboost.h19 u8 percent; member in struct:nvbios_boostS
/linux-4.4.14/kernel/trace/
H A Dtrace_branch.c237 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 Ds3c_adc_battery.h7 int level; /* percent */
/linux-4.4.14/tools/perf/ui/stdio/
H A Dhist.c53 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 Dconstants.h131 #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 Dtwl4030_madc_battery.c139 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 Dab8500_fg.c1155 * 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 D88pm860x_battery.c126 * 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 Dabx500_chargalg.c93 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 Dtwl4030_madc_battery.h28 short level; /* in percent (0 .. 100%) */
/linux-4.4.14/include/linux/mfd/
H A Dabx500.h59 * @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 Dmax8998.h88 * @eoc: End of Charge Level in percent: 10% ~ 45% by 5% step
H A Dcros_ec_commands.h934 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 Dfailcmd.sh23 -p percent
24 --probability=percent
25 likelihood of failure injection, in percent.
/linux-4.4.14/tools/testing/selftests/memory-hotplug/
H A Dmem-on-off-test.sh126 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 Dkfd_queue.c35 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 Dintel_oaktrail.c230 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 Dab8500-bm.h370 * @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 Dhist.c29 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 Dbrowser.h34 double percent, bool current);
H A Dbrowser.c18 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 Dfld_internal.h132 /* Cache threshold is 10 percent of size. */
135 /* Cache threshold is 10 percent of size. */
/linux-4.4.14/drivers/atm/
H A Deni.h94 int tx_mult; /* buffer size multiplier (percent) */
102 int rx_mult; /* buffer size multiplier (percent) */
/linux-4.4.14/fs/jfs/
H A Djfs_types.h145 u8 thresh; /* Alert Threshold (in percent) */
146 u8 delta; /* Alert Threshold delta (in percent) */
/linux-4.4.14/scripts/kconfig/lxdialog/
H A Dtextbox.c401 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 Dannotate.c14 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 Dhists.c625 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 Dnetlink.h32 __u32 sample_point; /* Sample point in one-tenth of a percent */
/linux-4.4.14/drivers/cpufreq/
H A Dintel_pstate.c200 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 Dget_maintainer.pl221 '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 Danalyze_suspend.py826 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 Dboost.c121 info->percent = nvbios_rd08(bios, data + 0x01); nvbios_boostSp()
/linux-4.4.14/arch/arm/mach-pxa/
H A Dsharpsl_pm.c232 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 Dcx23885-input.c197 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 Ddsi_phy.c21 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 Dbuiltin-top.c396 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 Dbuiltin-diff.c836 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 Dbuiltin-report.c77 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 Doaktrail_device.c81 /* 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 Dmdfld_device.c67 * Adjust the backlight level with the percent in mdfld_set_brightness()
/linux-4.4.14/drivers/hwmon/
H A Dsht21.c73 * one-thousandths of a percent relative humidity
H A Dhih6130.c75 * one-thousandths of a percent relative humidity
H A Dsht15.c647 int rh_linear; /* milli percent */ sht15_calc_humid()
/linux-4.4.14/drivers/net/wireless/b43/
H A Dtables_nphy.h18 u8 percent; member in struct:nphy_txiqcal_ladder
H A Dphy_n.c4949 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 Dhid-sensor-custom.c102 {0x200310, "property-change-sensitivity-percent-range"},
103 {0x200311, "property-change-sensitivity-percent-relative"},
H A Dhid-input.c304 #define HID_BATTERY_QUIRK_PERCENT (1 << 0) /* always reports percent */
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dpptable.h88 USHORT usPWMMin; // The minimum PWM value in percent (0.01% increments).
89 USHORT usPWMMed; // The PWM value (in percent) at TMed.
H A Dradeon_pm.c586 case 1: /* manual, percent-based */ radeon_hwmon_set_pwm1_enable()
/linux-4.4.14/drivers/gpu/drm/amd/include/
H A Dpptable.h88 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 Dcoredump.c192 /* Double percent, output one percent */ format_corename()
/linux-4.4.14/fs/ubifs/
H A Dsb.c35 * 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 Dksz884x.c2143 * @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 Dlockd.h78 * percent sign, a scope id (at most 32 bits, in decimal), and NUL.
/linux-4.4.14/arch/s390/kernel/
H A Dperf_cpum_sf.c452 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 Di18n.c416 /* skip over doubled percent signs */ next_specifier()
H A Dmain.c141 /*032*/ "space", "bang!", "quote", "number", "dollar", "percent", "and",
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dbase.c63 input = input * boostS.percent / 100; nvkm_clk_adjust()
/linux-4.4.14/fs/xfs/
H A Dxfs_filestream.c420 * timer tunable to within about 10 percent. This requires at least 10 xfs_filestream_mount()
/linux-4.4.14/arch/powerpc/crypto/
H A Daes-spe-glue.c386 * This improves IPsec thoughput by another few percent. Additionally we assume
/linux-4.4.14/drivers/video/fbdev/core/
H A Dfbmon.c1151 * 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 Dbfi.h737 u16 bw_min; /* percent BW @ max speed */
738 u16 bw_max; /* percent BW @ max speed */
/linux-4.4.14/drivers/net/can/
H A Ddev.c71 #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 Dad714x.c689 * 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 Dimg-ir-hw.c170 * @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 Dpio.c594 * 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 Dinit.c115 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 Dpm8001_sas.h595 u32 phaseCmplt;/*percent complete for the current
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_pm.c208 case 1: /* manual, percent-based */ amdgpu_hwmon_set_pwm1_enable()
/linux-4.4.14/drivers/usb/serial/
H A Diuu_phoenix.c1218 MODULE_PARM_DESC(boost, "Card overclock boost (in percent 100-500)");
/linux-4.4.14/drivers/tty/serial/
H A Dbfin_uart.c246 * character time +/- some percent. So 1.5 sounds good. All other bfin_serial_rx_chars()
H A Dxilinx_uartps.c371 /* use the values when percent error is acceptable */ cdns_uart_calc_baud_divs()
/linux-4.4.14/drivers/regulator/
H A Dtwl-regulator.c371 * to record voltages in milliVolts. (Accuracy is about three percent.)
/linux-4.4.14/drivers/s390/cio/
H A Dcmf.c1080 /* calculate value in 0.1 percent units */ cmb_show_avg_utilization()
/linux-4.4.14/drivers/scsi/
H A Dgdth.h385 u8 percent; /* progress for surface check */ member in struct:__anon9385
/linux-4.4.14/drivers/md/bcache/
H A Dbcache.h450 unsigned in_use; /* percent */
/linux-4.4.14/drivers/md/
H A Ddm-cache-policy-smq.c1463 #define CLEAN_TARGET_CRITICAL 5u /* percent */
H A Dbitmap.c15 * flush after percent set rather than just time based. (maybe both).
/linux-4.4.14/drivers/mtd/ubi/
H A Dubi-media.h81 * 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 Dconf.h253 * The threshold (percent) of max consecutive beacon misses before
/linux-4.4.14/drivers/acpi/
H A Dprocessor_throttling.c949 * 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 Dbitmap.c895 * specified as number of percent with mount option device, else try to put
/linux-4.4.14/fs/ufs/
H A Dufs_fs.h193 * however throughput drops by fifty percent if the file system
/linux-4.4.14/include/media/
H A Dv4l2-subdev.h524 unsigned int duty_cycle; /* percent, valid only for modulated signal*/
/linux-4.4.14/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.h506 * @percent_complete: resync percent complete
H A Dmpt3sas_scsih.c1544 * 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 Dw100fb.c1081 /* 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 Dsaa7164-api.c46 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 D4965.h258 * Celsius (273 degrees Kelvin). The 8 (3 percent of 273) compensates for
/linux-4.4.14/drivers/block/xen-blkback/
H A Dblkback.c102 * from the list. The percent number of grants to be removed at each LRU
/linux-4.4.14/drivers/staging/rtl8712/
H A Drtl871x_ioctl_linux.c887 /* percent values between 0 and 100. */ r8711_wx_get_range()
/linux-4.4.14/drivers/net/wireless/
H A Dairo.c683 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 Dioctl_linux.c887 /* percent values between 0 and 100. */ rtw_wx_get_range()
/linux-4.4.14/drivers/staging/rtl8723au/hal/
H A Drtl8723a_bt-coexist.c9300 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 Dqla_def.h2920 #define LEAK_EXCHG_THRESH_HOLD_PERCENT 75 /* 75 percent */
/linux-4.4.14/drivers/net/ethernet/marvell/
H A Dskge.h811 #define SK_FACT_62 100 /* is given in percent */
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
H A Dvxge-traffic.h218 * @urange_a: Defines the upper limit (in percent) for this utilization range
/linux-4.4.14/kernel/debug/kdb/
H A Dkdb_main.c474 * percent sign), an environment variable with a numeric value
/linux-4.4.14/drivers/usb/host/
H A Dxhci.c2203 /* 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 Dipw2100.c8254 /* FIXME: this is percent and not a # */ ipw2100_wx_wireless_stats()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
H A Dphy_n.c193 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()

Completed in 5061 milliseconds