Searched refs:formula (Results 1 - 8 of 8) sorted by relevance

/linux-master/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py203 def evaluate_formula(self, formula: str, alias: dict, ridx: int = 0):
205 Evaluate the value of formula.
207 @param formula: the formula to be evaluated
209 @returns: value of the formula is success; -1 if the one or more metric value not provided
218 for i in range(len(formula)):
219 if i+1 == len(formula) or formula[i] in ('+', '-', '*', '/'):
220 s = alias[formula[b:i]] if i + \
221 1 < len(formula) els
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c3565 ATOM_VOLTAGE_FORMULA *formula = local
3567 if (formula->ucFlag & 1)
3569 le16_to_cpu(formula->usVoltageBaseLevel) +
3570 formula->ucNumOfVoltageEntries / 2 *
3571 le16_to_cpu(formula->usVoltageStep);
3574 le16_to_cpu(formula->usVoltageBaseLevel) +
3575 (formula->ucNumOfVoltageEntries - 1) *
3576 le16_to_cpu(formula->usVoltageStep);
3584 ATOM_VOLTAGE_FORMULA_V2 *formula = local
3586 if (formula
3624 ATOM_VOLTAGE_FORMULA *formula = local
3635 ATOM_VOLTAGE_FORMULA_V2 *formula = local
3674 ATOM_VOLTAGE_FORMULA *formula = local
3749 ATOM_VOLTAGE_FORMULA_V2 *formula = local
[all...]
/linux-master/arch/arm/mach-omap1/
H A Dsleep.S191 @ according to this formula:
/linux-master/include/drm/
H A Ddrm_edid.h136 } __packed formula; member in struct:detailed_data_monitor_range
/linux-master/drivers/gpu/drm/
H A Ddrm_edid.c3102 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.cvt.flags) != 15);
3105 descriptor->data.other_data.data.range.formula.cvt.flags & DRM_EDID_CVT_FLAGS_REDUCED_BLANKING)
3145 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.hfreq_start_khz) != 12);
3147 return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.hfreq_start_khz * 2 : 0;
3157 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.c) != 13);
3159 return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.c : 0;
3169 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.m) != 14);
3171 return descriptor ? le16_to_cpu(descriptor->data.other_data.data.range.formula.gtf2.m) : 0;
3181 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.k) != 16);
3183 return descriptor ? descriptor->data.other_data.data.range.formula
[all...]
/linux-master/drivers/s390/block/
H A Ddasd_eckd.h289 __u8 formula; member in struct:dasd_eckd_characteristics
/linux-master/drivers/gpu/drm/tiny/
H A Dgm12u320.c506 .data.other_data.data.range.formula.cvt = {
/linux-master/arch/m68k/ifpsp060/src/
H A Dfplsp.S7700 # 2. (|X| <= 16380 log2) Sinh(X) is obtained by the formula #

Completed in 150 milliseconds