Searched refs:percentage (Results 1 – 6 of 6) sorted by relevance
30 int percentage = -1; in pmu_apm_get_power_status() local52 if (percentage < 0) in pmu_apm_get_power_status()53 percentage = 0; in pmu_apm_get_power_status()56 percentage += (pmu_batteries[i].charge * 100) / in pmu_apm_get_power_status()77 percentage /= real_count; in pmu_apm_get_power_status()81 } else if (percentage <= APM_CRITICAL) { in pmu_apm_get_power_status()84 } else if (percentage <= APM_LOW) { in pmu_apm_get_power_status()93 info->battery_life = percentage; in pmu_apm_get_power_status()
462 if ((ss->percentage == 0) || (ss->type & ATOM_EXTERNAL_SS_MASK) || ASIC_IS_DCE61(rdev)) in atombios_crtc_program_ss()465 args.v2.usSpreadSpectrumPercentage = cpu_to_le16(ss->percentage); in atombios_crtc_program_ss()483 if ((ss->percentage == 0) || (ss->type & ATOM_EXTERNAL_SS_MASK) || ASIC_IS_DCE41(rdev)) in atombios_crtc_program_ss()486 args.v1.usSpreadSpectrumPercentage = cpu_to_le16(ss->percentage); in atombios_crtc_program_ss()494 if ((enable == ATOM_DISABLE) || (ss->percentage == 0) || in atombios_crtc_program_ss()499 args.lvds_ss_2.usSpreadSpectrumPercentage = cpu_to_le16(ss->percentage); in atombios_crtc_program_ss()506 if ((enable == ATOM_DISABLE) || (ss->percentage == 0) || in atombios_crtc_program_ss()511 args.lvds_ss.usSpreadSpectrumPercentage = cpu_to_le16(ss->percentage); in atombios_crtc_program_ss()636 if (radeon_crtc->ss_enabled && radeon_crtc->ss.percentage) in atombios_adjust_pll()649 if (radeon_crtc->ss_enabled && radeon_crtc->ss.percentage) in atombios_adjust_pll()[all …]
1378 ss->percentage = in radeon_atombios_get_ppll_ss_info()1401 u16 percentage = 0, rate = 0; in radeon_atombios_get_igp_ss_overrides() local1412 percentage = le16_to_cpu(igp_info->info_6.usDVISSPercentage); in radeon_atombios_get_igp_ss_overrides()1416 percentage = le16_to_cpu(igp_info->info_6.usHDMISSPercentage); in radeon_atombios_get_igp_ss_overrides()1420 percentage = le16_to_cpu(igp_info->info_6.usLvdsSSPercentage); in radeon_atombios_get_igp_ss_overrides()1428 percentage = le16_to_cpu(igp_info->info_7.usDVISSPercentage); in radeon_atombios_get_igp_ss_overrides()1432 percentage = le16_to_cpu(igp_info->info_7.usHDMISSPercentage); in radeon_atombios_get_igp_ss_overrides()1436 percentage = le16_to_cpu(igp_info->info_7.usLvdsSSPercentage); in radeon_atombios_get_igp_ss_overrides()1445 if (percentage) in radeon_atombios_get_igp_ss_overrides()1446 ss->percentage = percentage; in radeon_atombios_get_igp_ss_overrides()[all …]
288 uint16_t percentage; member
524 u32 percentage; in gsmi_clear_eventlog_store() member540 param.percentage = val; in gsmi_clear_eventlog_store()
241 Allocator as a percentage of the total memory in the system.251 bool "Use percentage value only"