Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/tools/perf/tests/shell/lib/
H A Dperf_metric_validation.py176 def evaluate_formula(self, formula:str, alias:dict, ridx:int = 0):
178 Evaluate the value of formula.
180 @param formula: the formula to be evaluated
182 @returns: value of the formula is success; -1 if the one or more metric value not provided
191 for i in range(len(formula)):
192 if i+1 == len(formula) or formula[i] in ('+', '-', '*', '/'):
193 s = alias[formula[b:i]] if i+1 < len(formula) els
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c3565 ATOM_VOLTAGE_FORMULA *formula = in radeon_atom_get_max_voltage() local
3567 if (formula->ucFlag & 1) in radeon_atom_get_max_voltage()
3569 le16_to_cpu(formula->usVoltageBaseLevel) + in radeon_atom_get_max_voltage()
3570 formula->ucNumOfVoltageEntries / 2 * in radeon_atom_get_max_voltage()
3571 le16_to_cpu(formula->usVoltageStep); in radeon_atom_get_max_voltage()
3574 le16_to_cpu(formula->usVoltageBaseLevel) + in radeon_atom_get_max_voltage()
3575 (formula->ucNumOfVoltageEntries - 1) * in radeon_atom_get_max_voltage()
3576 le16_to_cpu(formula->usVoltageStep); in radeon_atom_get_max_voltage()
3584 ATOM_VOLTAGE_FORMULA_V2 *formula = in radeon_atom_get_max_voltage() local
3586 if (formula in radeon_atom_get_max_voltage()
3624 ATOM_VOLTAGE_FORMULA *formula = radeon_atom_get_min_voltage() local
3635 ATOM_VOLTAGE_FORMULA_V2 *formula = radeon_atom_get_min_voltage() local
3674 ATOM_VOLTAGE_FORMULA *formula = radeon_atom_get_voltage_step() local
3749 ATOM_VOLTAGE_FORMULA_V2 *formula = radeon_atom_get_voltage_table() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/
H A Dradeon_atombios.c3560 ATOM_VOLTAGE_FORMULA *formula = in radeon_atom_get_max_voltage() local
3562 if (formula->ucFlag & 1) in radeon_atom_get_max_voltage()
3564 le16_to_cpu(formula->usVoltageBaseLevel) + in radeon_atom_get_max_voltage()
3565 formula->ucNumOfVoltageEntries / 2 * in radeon_atom_get_max_voltage()
3566 le16_to_cpu(formula->usVoltageStep); in radeon_atom_get_max_voltage()
3569 le16_to_cpu(formula->usVoltageBaseLevel) + in radeon_atom_get_max_voltage()
3570 (formula->ucNumOfVoltageEntries - 1) * in radeon_atom_get_max_voltage()
3571 le16_to_cpu(formula->usVoltageStep); in radeon_atom_get_max_voltage()
3579 ATOM_VOLTAGE_FORMULA_V2 *formula = in radeon_atom_get_max_voltage() local
3581 if (formula in radeon_atom_get_max_voltage()
3619 ATOM_VOLTAGE_FORMULA *formula = radeon_atom_get_min_voltage() local
3630 ATOM_VOLTAGE_FORMULA_V2 *formula = radeon_atom_get_min_voltage() local
3669 ATOM_VOLTAGE_FORMULA *formula = radeon_atom_get_voltage_step() local
3744 ATOM_VOLTAGE_FORMULA_V2 *formula = radeon_atom_get_voltage_table() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/
H A Ddrm_edid.c3099 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.cvt.flags) != 15); in is_rb()
3102 descriptor->data.other_data.data.range.formula.cvt.flags & DRM_EDID_CVT_FLAGS_REDUCED_BLANKING) in is_rb()
3142 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.hfreq_start_khz) != 12); in drm_gtf2_hbreak()
3144 return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.hfreq_start_khz * 2 : 0; in drm_gtf2_hbreak()
3154 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.c) != 13); in drm_gtf2_2c()
3156 return descriptor ? descriptor->data.other_data.data.range.formula.gtf2.c : 0; in drm_gtf2_2c()
3166 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.m) != 14); in drm_gtf2_m()
3168 return descriptor ? le16_to_cpu(descriptor->data.other_data.data.range.formula.gtf2.m) : 0; in drm_gtf2_m()
3178 BUILD_BUG_ON(offsetof(typeof(*descriptor), data.other_data.data.range.formula.gtf2.k) != 16); in drm_gtf2_k()
3180 return descriptor ? descriptor->data.other_data.data.range.formula in drm_gtf2_k()
[all...]
/kernel/linux/linux-6.6/arch/arm/mach-omap1/
H A Dsleep.S191 @ according to this formula:
/kernel/linux/linux-5.10/include/drm/
H A Ddrm_edid.h124 } __attribute__((packed)) formula; member
/kernel/linux/linux-5.10/arch/ia64/kernel/
H A Dmodule.c623 enum reloc_value_formula formula = (r_type >> VALUE_SHIFT) & VALUE_MASK; in do_reloc() local
629 switch (formula) { in do_reloc()
/kernel/linux/linux-6.6/arch/ia64/kernel/
H A Dmodule.c623 enum reloc_value_formula formula = (r_type >> VALUE_SHIFT) & VALUE_MASK; in do_reloc() local
629 switch (formula) { in do_reloc()
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
H A Dsleep.S271 @ according to this formula:
/kernel/linux/linux-5.10/drivers/s390/block/
H A Ddasd_eckd.h282 __u8 formula; member
/kernel/linux/linux-6.6/include/drm/
H A Ddrm_edid.h133 } __attribute__((packed)) formula; member
/kernel/linux/linux-6.6/drivers/s390/block/
H A Ddasd_eckd.h289 __u8 formula; member
/kernel/linux/linux-5.10/drivers/gpu/drm/tiny/
H A Dgm12u320.c513 .data.other_data.data.range.formula.cvt = {
/kernel/linux/linux-6.6/drivers/gpu/drm/tiny/
H A Dgm12u320.c506 .data.other_data.data.range.formula.cvt = {
/kernel/linux/linux-5.10/arch/m68k/ifpsp060/src/
H A Dfplsp.S7700 # 2. (|X| <= 16380 log2) Sinh(X) is obtained by the formula #
/kernel/linux/linux-6.6/arch/m68k/ifpsp060/src/
H A Dfplsp.S7700 # 2. (|X| <= 16380 log2) Sinh(X) is obtained by the formula #

Completed in 50 milliseconds