Home
last modified time | relevance | path

Searched refs:power_supply_is_system_supplied (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/power/reset/
H A Datc260x-poweroff.c28 if (!restart && !power_supply_is_system_supplied()) { in atc2603c_do_poweroff()
79 if (!restart && !power_supply_is_system_supplied()) { in atc2609a_do_poweroff()
/linux/drivers/platform/x86/
H A Dgpd-pocket-fan.c68 if (power_supply_is_system_supplied()) in gpd_pocket_fan_min_speed()
H A Dbitland-mifs-wmi.c233 if (!power_supply_is_system_supplied()) in bitland_check_performance_capability()
H A Dasus-armoury.c767 if (power_supply_is_system_supplied()) in get_current_tunables()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_backlight.c301 power_supply_is_system_supplied() > 0); in amdgpu_dm_backlight_set_level()
459 amdgpu_dm_backlight_fill_props(caps, power_supply_is_system_supplied() > 0, in amdgpu_dm_register_backlight_device()
/linux/drivers/platform/x86/amd/pmf/
H A Dcore.c143 if (power_supply_is_system_supplied() > 0) in amd_pmf_get_power_source()
/linux/drivers/power/supply/
H A Dpower_supply_core.c386 int power_supply_is_system_supplied(void) in power_supply_is_system_supplied() function
402 EXPORT_SYMBOL_GPL(power_supply_is_system_supplied);
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A Dbase.c316 clk->pwrsrc = power_supply_is_system_supplied(); in nvkm_pstate_work()
/linux/drivers/acpi/
H A Dbattery.c232 val->intval = power_supply_is_system_supplied() in acpi_battery_get_property()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_acpi.c1273 if (power_supply_is_system_supplied() > 0) in amdgpu_acpi_event()
H A Damdgpu_device.c3890 adev->pm.ac_power = power_supply_is_system_supplied() > 0; in amdgpu_device_init()
/linux/drivers/cpufreq/
H A Damd-pstate.c1162 if (power_supply_is_system_supplied()) in amd_pstate_get_balanced_epp()
/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_dpm.c503 if (power_supply_is_system_supplied() > 0) in amdgpu_pm_acpi_event_handler()
/linux/drivers/platform/x86/hp/
H A Dhp-wmi.c2299 if (power_supply_is_system_supplied() <= 0 || in omen_powersource_event()
/linux/drivers/net/wireless/ath/wil6210/
H A Ddebugfs.c1450 int is_ac = power_supply_is_system_supplied(); in info_show()