/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
D | fantog.c | 34 u32 percent; member 39 nvkm_fantog_update(struct nvkm_fantog *fan, int percent) in nvkm_fantog_update() argument 49 if (percent < 0) in nvkm_fantog_update() 50 percent = fan->percent; in nvkm_fantog_update() 51 fan->percent = percent; in nvkm_fantog_update() 56 if (percent != (duty * 100)) { in nvkm_fantog_update() 57 u64 next_change = (percent * fan->period_us) / 100; in nvkm_fantog_update() 77 return fan->percent; in nvkm_fantog_get() 81 nvkm_fantog_set(struct nvkm_therm *therm, int percent) in nvkm_fantog_set() argument 86 nvkm_fantog_update(fan, percent); in nvkm_fantog_set() [all …]
|
D | fan.c | 44 target = fan->percent; in nvkm_fan_update() 47 if (fan->percent != target) { in nvkm_fan_update() 49 fan->percent = target; in nvkm_fan_update() 118 nvkm_therm_fan_set(struct nvkm_therm *therm, bool immediate, int percent) in nvkm_therm_fan_set() argument 120 return nvkm_fan_update(therm->fan, immediate, percent); in nvkm_therm_fan_set() 175 nvkm_therm_fan_user_set(struct nvkm_therm *therm, int percent) in nvkm_therm_fan_user_set() argument 180 return nvkm_therm_fan_set(therm, true, percent); in nvkm_therm_fan_user_set() 256 therm->fan->percent = nvkm_therm_fan_get(therm); in nvkm_therm_fan_ctor()
|
D | priv.h | 47 int percent; member 50 int (*set)(struct nvkm_therm *, int percent); 67 int nvkm_therm_fan_set(struct nvkm_therm *, bool now, int percent); 69 int nvkm_therm_fan_user_set(struct nvkm_therm *, int percent);
|
/Linux-v6.1/tools/perf/util/ |
D | color.c | 124 const char *get_percent_color(double percent) in get_percent_color() argument 133 if (fabs(percent) >= MIN_RED) in get_percent_color() 136 if (fabs(percent) > MIN_GREEN) in get_percent_color() 142 int percent_color_fprintf(FILE *fp, const char *fmt, double percent) in percent_color_fprintf() argument 147 color = get_percent_color(percent); in percent_color_fprintf() 148 r = color_fprintf(fp, color, fmt, percent); in percent_color_fprintf() 162 double percent; in percent_color_snprintf() local 165 percent = va_arg(args, double); in percent_color_snprintf() 167 return value_color_snprintf(bf, size, fmt, percent); in percent_color_snprintf() 174 double percent; in percent_color_len_snprintf() local [all …]
|
/Linux-v6.1/tools/power/cpupower/utils/idle_monitor/ |
D | cpuidle_sysfs.c | 25 static int cpuidle_get_count_percent(unsigned int id, double *percent, in cpuidle_get_count_percent() argument 30 dprint("%s: - diff: %llu - percent: %f (%u)\n", in cpuidle_get_count_percent() 31 cpuidle_cstates[id].name, timediff, *percent, cpu); in cpuidle_get_count_percent() 34 *percent = 0.0; in cpuidle_get_count_percent() 36 *percent = ((100.0 * statediff) / timediff); in cpuidle_get_count_percent() 38 dprint("%s: - timediff: %llu - statediff: %llu - percent: %f (%u)\n", in cpuidle_get_count_percent() 39 cpuidle_cstates[id].name, timediff, statediff, *percent, cpu); in cpuidle_get_count_percent()
|
D | hsw_ext_idle.c | 28 static int hsw_ext_get_count_percent(unsigned int self_id, double *percent, 88 static int hsw_ext_get_count_percent(unsigned int id, double *percent, in hsw_ext_get_count_percent() argument 91 *percent = 0.0; in hsw_ext_get_count_percent() 96 *percent = (100.0 * in hsw_ext_get_count_percent() 104 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", in hsw_ext_get_count_percent() 108 *percent, cpu); in hsw_ext_get_count_percent()
|
D | nhm_idle.c | 29 static int nhm_get_count_percent(unsigned int self_id, double *percent, 101 static int nhm_get_count_percent(unsigned int id, double *percent, in nhm_get_count_percent() argument 104 *percent = 0.0; in nhm_get_count_percent() 109 *percent = (100.0 * in nhm_get_count_percent() 117 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", in nhm_get_count_percent() 121 *percent, cpu); in nhm_get_count_percent()
|
D | snb_idle.c | 26 static int snb_get_count_percent(unsigned int self_id, double *percent, 86 static int snb_get_count_percent(unsigned int id, double *percent, in snb_get_count_percent() argument 89 *percent = 0.0; in snb_get_count_percent() 94 *percent = (100.0 * in snb_get_count_percent() 102 dprint("%s: tsc_diff: %llu - count_diff: %llu - percent: %2.f (%u)\n", in snb_get_count_percent() 106 *percent, cpu); in snb_get_count_percent()
|
D | mperf_monitor.c | 32 static int mperf_get_count_percent(unsigned int self_id, double *percent, 156 static int mperf_get_count_percent(unsigned int id, double *percent, in mperf_get_count_percent() argument 173 *percent = 100.0 * mperf_diff / tsc_diff; in mperf_get_count_percent() 178 *percent = 100.0 * mperf_diff / timediff; in mperf_get_count_percent() 185 *percent = 100.0 - *percent; in mperf_get_count_percent() 189 dprint("%s: %f\n", mperf_cstates[id].name, *percent); in mperf_get_count_percent()
|
D | amd_fam14h_idle.c | 45 static int fam14h_get_count_percent(unsigned int self_id, double *percent, 207 static int fam14h_get_count_percent(unsigned int id, double *percent, in fam14h_get_count_percent() argument 218 *percent = 0.0; in fam14h_get_count_percent() 220 *percent = 100.0 * diff / timediff / 12.5; in fam14h_get_count_percent() 222 dprint("Timediff: %llu - res~: %lu us - percent: %.2f %%\n", in fam14h_get_count_percent() 223 timediff, diff * 10 / 125, *percent); in fam14h_get_count_percent()
|
/Linux-v6.1/tools/testing/selftests/lkdtm/ |
D | stack-entropy.sh | 29 percent=$(( 100 * $i / $samples )) 30 if [ "$percent" -ne "$report" ]; then 31 /bin/echo -en "$percent%\r" 32 report="$percent"
|
/Linux-v6.1/kernel/trace/ |
D | trace_branch.c | 249 long percent; in get_incorrect_percent() local 252 percent = p->incorrect * 100; in get_incorrect_percent() 253 percent /= p->correct + p->incorrect; in get_incorrect_percent() 255 percent = p->incorrect ? 100 : -1; in get_incorrect_percent() 257 return percent; in get_incorrect_percent() 274 long percent; in branch_stat_show() local 279 percent = get_incorrect_percent(p); in branch_stat_show() 281 if (percent < 0) in branch_stat_show() 284 seq_printf(m, "%3ld ", percent); in branch_stat_show()
|
/Linux-v6.1/Documentation/devicetree/bindings/regulator/ |
D | vctrl.txt | 17 - ovp-threshold-percent : overvoltage protection (OVP) threshold of the 18 regulator in percent. Some regulators have an OVP 31 This value is required when ovp-threshold-percent is 48 ovp-threshold-percent = <16>;
|
/Linux-v6.1/drivers/platform/chrome/wilco_ec/ |
D | keyboard_leds.c | 18 #define WILCO_KBBL_MODE_FLAG_PWM BIT(1) /* Set brightness by percent. */ 40 * @percent: Brightness in 0-100. Only meaningful in PWM mode. 50 u8 percent; member 89 request.percent = brightness; in set_kbbl() 156 return response.percent; in kbbl_init()
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | constants.h | 85 #define IWL_MVM_RS_SR_FORCE_DECREASE 15 /* percent */ 86 #define IWL_MVM_RS_SR_NO_DECREASE 85 /* percent */ 90 #define IWL_MVM_RS_TPC_SR_FORCE_INCREASE 75 /* percent */ 91 #define IWL_MVM_RS_TPC_SR_NO_INCREASE 85 /* percent */
|
/Linux-v6.1/tools/perf/ui/gtk/ |
D | browser.c | 36 const char *perf_gtk__get_percent_color(double percent) in perf_gtk__get_percent_color() argument 38 if (percent >= MIN_RED) in perf_gtk__get_percent_color() 40 if (percent >= MIN_GREEN) in perf_gtk__get_percent_color()
|
D | hists.c | 21 double percent; in __percent_color_snprintf() local 28 percent = va_arg(args, double); in __percent_color_snprintf() 31 markup = perf_gtk__get_percent_color(percent); in __percent_color_snprintf() 35 ret += scnprintf(buf + ret, size - ret, fmt, len, percent); in __percent_color_snprintf() 362 float percent; in perf_gtk__show_hists() local 367 percent = hist_entry__get_percent_limit(h); in perf_gtk__show_hists() 368 if (percent < min_pcnt) in perf_gtk__show_hists() 422 float percent; in perf_gtk__add_hierarchy_entries() local 429 percent = hist_entry__get_percent_limit(he); in perf_gtk__add_hierarchy_entries() 430 if (percent < min_pcnt) in perf_gtk__add_hierarchy_entries()
|
/Linux-v6.1/drivers/staging/media/atomisp/pci/ |
D | atomisp_compat_ioctl32.h | 117 /* the blending percent of input data for Y subpixels */ 119 /* the blending percent of input data for U subpixels */ 121 /* the blending percent of input data for V subpixels */ 123 /* the blending percent of overlay data for Y subpixels */ 125 /* the blending percent of overlay data for U subpixels */ 127 /* the blending percent of overlay data for V subpixels */
|
/Linux-v6.1/Documentation/devicetree/bindings/power/supply/ |
D | battery.yaml | 92 - description: battery internal resistance percent 95 and corresponding battery internal resistance percent, which is used to 96 look up the resistance percent according to current temperature to get an 130 of the battery and corresponding battery capacity percent, which is used 137 - description: battery capacity percent
|
/Linux-v6.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | pptable_v1_0.h | 277 USHORT usPWMMin; /* The minimum PWM value in percent (0.01% increments). */ 278 USHORT usPWMMed; /* The PWM value (in percent) at TMed. */ 282 USHORT usFanPWMMax; /* Maximum allowed fan power in percent */ 297 USHORT usPWMMin; /* The minimum PWM value in percent (0.01% increments). */ 298 USHORT usPWMMed; /* The PWM value (in percent) at TMed. */ 302 USHORT usFanPWMMax; /* Maximum allowed fan power in percent */ 324 USHORT usPWMMin; /* The minimum PWM value in percent (0.01% increments). */ 325 USHORT usPWMMed; /* The PWM value (in percent) at TMed. */ 329 USHORT usFanPWMMax; /* Maximum allowed fan power in percent */
|
/Linux-v6.1/include/drm/ |
D | gud.h | 189 /* Brightness in percent, range 0-100 */ 191 /* Contrast in percent, range 0-100 */ 193 /* Flicker reduction in percent, range 0-100 */ 195 /* Overscan in percent, range 0-100 */ 197 /* Saturation in percent, range 0-100 */ 199 /* Hue in percent, range 0-100 */
|
/Linux-v6.1/tools/perf/Documentation/ |
D | perf-annotate.txt | 141 --percent-type:: 142 Set annotation percent type from following choices: 150 --percent-limit:: 151 Do not show functions which have an overhead under that percent on
|
D | perf-report.txt | 235 Display call chains using type, min percent threshold, print limit, 248 threshold is a percentage value which specifies a minimum percent to be 271 - percent: display overhead percent (default) 413 --percent-limit:: 414 Do not show entries which have an overhead under that percent. 415 (Default: 0). Note that this option also sets the percent limit (threshold) 446 Also support time percent with multiple time ranges. Time string is 551 --percent-type:: 552 Set annotation percent type from following choices:
|
/Linux-v6.1/drivers/power/supply/ |
D | ab8500-bm.h | 332 * @critical: critical capacity level in percent 333 * @low: low capacity level in percent 334 * @normal: normal capacity level in percent 335 * @high: high capacity level in percent 336 * @full: full capacity level in percent 379 * @cap_levels capacity in percent for the different capacity levels
|
/Linux-v6.1/tools/perf/ui/browsers/ |
D | annotate.c | 77 static void annotate_browser__set_percent_color(void *browser, double percent, bool current) in annotate_browser__set_percent_color() argument 79 ui_browser__set_percent_color(browser, percent, current); in annotate_browser__set_percent_color() 241 if (a->data[i].percent[percent_type] == b->data[i].percent[percent_type]) in disasm__cmp() 243 return a->data[i].percent[percent_type] - in disasm__cmp() 244 b->data[i].percent[percent_type]; in disasm__cmp() 331 double percent; in annotate_browser__calc_percent() local 333 percent = annotation_data__percent(&pos->al.data[i], in annotate_browser__calc_percent() 336 if (max_percent < percent) in annotate_browser__calc_percent() 337 max_percent = percent; in annotate_browser__calc_percent() 444 return snprintf(title, sz, "%s %s [Percent: %s]", sym->name, map->dso->long_name, in sym_title() [all …]
|