Searched refs:percent (Results 51 - 75 of 83) sorted by relevance

1234

/linux-master/drivers/hwmon/pmbus/
H A Dmax31785.c195 rv = pmbus_get_fan_rate_device(client, page, 0, percent);
336 rate = pmbus_get_fan_rate_cached(client, page, 0, percent);
H A Dpmbus.h290 enum pmbus_fan_mode { percent = 0, rpm }; enumerator in enum:pmbus_fan_mode
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dtables_nphy.h19 u8 percent; member in struct:nphy_txiqcal_ladder
/linux-master/tools/perf/ui/stdio/
H A Dhist.c203 * However when percent-limit applied, it's possible that single callchain
855 float percent; local
861 percent = block_info__total_cycles_percent(h);
863 percent = hist_entry__get_percent_limit(h);
865 if (percent < min_pcnt)
874 * If all children are filtered out or percent-limited,
/linux-master/arch/arm/mach-pxa/
H A Dsharpsl_pm.c222 int voltage, percent, apm_status, i; local
246 percent = get_percentage(voltage);
252 || percent <= sharpsl_pm.battstat.mainbat_percent) {
255 sharpsl_pm.battstat.mainbat_percent = percent;
/linux-master/drivers/infiniband/hw/hfi1/
H A Dpio.h258 u32 sc_percent_to_threshold(struct send_context *sc, u32 percent);
/linux-master/drivers/power/supply/
H A Dqcom_battmgr.c114 __le32 percent; member in struct:qcom_battmgr_charge_time_request
250 unsigned int percent; member in struct:qcom_battmgr_status
382 .percent = cpu_to_le32(100),
579 val->intval = battmgr->status.percent;
1129 battmgr->status.percent = le32_to_cpu(resp->intval.value) / 100;
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_devlink.c1305 u32 percent; local
1308 percent = (mcam->hprio_count * 100) / mcam->bmap_entries;
1309 ctx->val.vu8 = (u8)percent;
1321 u32 percent; local
1323 percent = ctx->val.vu8;
1325 mcam->hprio_count = (mcam->bmap_entries * percent) / 100;
1341 /* The percent of high prio zone must range from 12% to 100% of unreserved mcam space */
1344 "mcam high zone percent must be between 12% to 100%");
/linux-master/tools/perf/util/
H A Dcallchain.c128 if (!strncmp(value, "percent", strlen(value))) {
220 /* try to get the min percent */
1217 double percent = 0.0; local
1236 percent = period * 100.0 / total;
1237 scnprintf(bf, bfsize, "%.2f%%", percent);
1246 double percent = 0.0; local
1263 percent = period * 100.0 / total;
1264 return percent_color_fprintf(fp, "%.2f%%", percent);
H A Dannotate-data.c1935 double percent = h->period ? (100.0 * period / h->period) : 0; local
1936 const char *color = get_percent_color(percent);
1943 color_fprintf(stdout, color, " %7.2f", percent);
H A Dhist.c2064 float percent; local
2078 percent = hist_entry__get_percent_limit(child);
2080 percent = 0;
2082 return node && percent >= limit;
/linux-master/tools/perf/scripts/python/
H A Dexport-to-postgresql.py464 'percent integer)')
630 'percent'
688 'FORMAT(\'%5s\', cbr.percent) AS percent,'
1060 percent = ((cbr * 1000 / data[2]) + 5) / 10
1061 value = struct.pack("!hiqiiiiii", 4, 8, id, 4, cbr, 4, int(MHz), 4, int(percent))
/linux-master/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport.c12 #define ADF_PERCENT(tot, percent) (((tot) * (percent)) / 100)
/linux-master/scripts/
H A Dget_abi.pl802 my $percent = $i * 100 / $num_files;
808 printf STDERR "%s: processing sysfs files... %i%%: $names[0]", $time, $percent;
812 $next_i = int (($percent + 1) * $num_files / 100);
H A Dget_maintainer.pl252 'git-min-percent=i' => \$email_git_min_percent,
1051 --git-min-percent => minimum percentage of commits required (default: $email_git_min_percent)
1115 --git-min-signatures, --git-max-maintainers, --git-min-percent, and
1851 %# min percent [$email_git_min_percent]
2188 my $percent = $sign_offs * 100 / $divisor;
2190 $percent = 100 if ($percent > 100);
2195 $percent < $email_git_min_percent);
2198 my $fmt_percent = sprintf("%.0f", $percent);
/linux-master/tools/perf/
H A Dbuiltin-annotate.c430 float percent = 0; local
434 percent = 100.0 * he->stat.period / total;
436 if (percent < ann->min_percent)
783 OPT_CALLBACK(0, "percent-type", &annotate_opts, "local-period",
784 "Set percent type local/global-period/hits",
786 OPT_CALLBACK(0, "percent-limit", &annotate, "percent",
787 "Don't show entries under that percent", parse_percent_limit),
H A Dbuiltin-diff.c1305 "Time span (time percent or absolute timestamp)"),
1328 double percent = baseline_percent(he); local
1334 pfmt, percent);
1342 double percent = baseline_percent(he); local
1347 ret = scnprintf(buf, size, fmt, percent);
H A Dbuiltin-c2c.c909 static double percent(u32 st, u32 tot) function
914 #define PERCENT(__h, __f) percent(he_stats(__h)->__f, total_stats(__h)->__f)
922 return percent(c2c_he->stats.__f, hists->stats.__f); \
1183 percent(val, sum));
1258 percent(stats->store, c2c_he->stats.store));
2821 #define CALLCHAIN_DEFAULT_OPT "graph,0.5,caller,function,percent"
H A Dbuiltin-kvm.c235 static double percent(u64 st, u64 tot) function
249 return percent(get_event_##metric(event, perf_kvm->trace_vcpu), \
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dbase.c386 nvkm_therm_fan_set(therm, true, therm->fan->percent);
/linux-master/drivers/gpu/drm/msm/dsi/phy/
H A Ddsi_phy.c15 static inline s32 linear_inter(s32 tmax, s32 tmin, s32 percent, argument
20 v = (tmax - tmin) * percent;
/linux-master/drivers/net/ethernet/micrel/
H A Dksz884x.c1984 * @percent: Broadcast storm threshold in percent of transmit rate.
1988 static void sw_cfg_broad_storm(struct ksz_hw *hw, u8 percent) argument
1991 u32 value = ((u32) BROADCAST_STORM_VALUE * (u32) percent / 100);
2005 * @percent: Buffer to store the broadcast storm threshold percentage.
2009 static void sw_get_broad_storm(struct ksz_hw *hw, u8 *percent) argument
2019 *percent = (u8) num;
2067 * @percent: Broadcast storm threshold in percent of transmit rate.
2072 static void hw_cfg_broad_storm(struct ksz_hw *hw, u8 percent) argument
[all...]
/linux-master/mm/
H A Dmm_init.c237 unsigned long *percent)
248 /* Paranoid check for percent values greater than 100 */
251 *percent = coremem;
258 *percent = 0UL;
236 cmdline_parse_core(char *p, unsigned long *core, unsigned long *percent) argument
/linux-master/include/linux/platform_data/
H A Dcros_ec_commands.h275 /* Keyboard backlight brightness percent (0 - 100) */
1739 uint8_t percent; member in struct:ec_response_pwm_get_keyboard_backlight
1748 uint8_t percent; member in struct:ec_params_pwm_set_keyboard_backlight
1756 uint32_t percent; member in struct:ec_params_pwm_set_fan_duty_v0
1761 uint32_t percent; member in struct:ec_params_pwm_set_fan_duty_v1
/linux-master/kernel/sched/
H A Dcore.c10667 s64 percent; member in struct:uclamp_request
10676 .percent = UCLAMP_PERCENT_SCALE,
10684 &req.percent);
10687 if ((u64)req.percent > UCLAMP_PERCENT_SCALE) {
10692 req.util = req.percent << SCHED_CAPACITY_SHIFT;
10723 tg->uclamp_pct[clamp_id] = req.percent;
10750 u64 percent; local
10763 percent = tg->uclamp_pct[clamp_id];
10764 percent = div_u64_rem(percent, POW1
[all...]

Completed in 421 milliseconds

1234