Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/
Dpower_supply.h421 extern int power_supply_is_system_supplied(void);
423 static inline int power_supply_is_system_supplied(void) { return -ENOSYS; } in power_supply_is_system_supplied() function
/Linux-v5.10/drivers/platform/x86/
Dgpd-pocket-fan.c67 if (power_supply_is_system_supplied()) in gpd_pocket_fan_min_speed()
Ddell-laptop.c913 if (power_supply_is_system_supplied() > 0) in dell_send_intensity()
934 if (power_supply_is_system_supplied() > 0) in dell_get_intensity()
1632 if (kbd_timeout_ac_supported && power_supply_is_system_supplied() > 0) { in kbd_led_timeout_store()
1663 if (kbd_timeout_ac_supported && power_supply_is_system_supplied() > 0) { in kbd_led_timeout_show()
/Linux-v5.10/drivers/power/supply/
Dpower_supply_core.c359 int power_supply_is_system_supplied(void) in power_supply_is_system_supplied() function
376 EXPORT_SYMBOL_GPL(power_supply_is_system_supplied);
/Linux-v5.10/drivers/gpu/drm/radeon/
Dradeon_acpi.c688 if (power_supply_is_system_supplied() > 0) in radeon_acpi_event()
Dradeon_pm.c78 if (power_supply_is_system_supplied() > 0) in radeon_pm_acpi_event_handler()
104 if (power_supply_is_system_supplied() > 0) { in radeon_pm_update_profile()
1771 if (power_supply_is_system_supplied() > 0) in radeon_pm_compute_clocks_dpm()
/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_acpi.c747 if (power_supply_is_system_supplied() > 0) in amdgpu_acpi_event()
Damdgpu_device.c3260 adev->pm.ac_power = power_supply_is_system_supplied() > 0; in amdgpu_device_init()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dbase.c306 clk->pwrsrc = power_supply_is_system_supplied(); in nvkm_pstate_work()
/Linux-v5.10/drivers/acpi/
Dbattery.c198 if ((battery_ac_is_broken || power_supply_is_system_supplied()) && in acpi_battery_handle_discharging()
/Linux-v5.10/drivers/gpu/drm/amd/pm/
Damdgpu_dpm.c1273 if (power_supply_is_system_supplied() > 0) in amdgpu_pm_acpi_event_handler()
/Linux-v5.10/drivers/net/wireless/ath/wil6210/
Ddebugfs.c1465 int is_ac = power_supply_is_system_supplied(); in info_show()