Home
last modified time | relevance | path

Searched refs:VGA_SWITCHEROO_IGD (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/platform/x86/
Dapple-gmux.c345 gmux_data->switch_state_ddc = VGA_SWITCHEROO_IGD; in gmux_read_switch_state()
350 gmux_data->switch_state_display = VGA_SWITCHEROO_IGD; in gmux_read_switch_state()
355 gmux_data->switch_state_external = VGA_SWITCHEROO_IGD; in gmux_read_switch_state()
362 if (gmux_data->switch_state_ddc == VGA_SWITCHEROO_IGD) in gmux_write_switch_state()
367 if (gmux_data->switch_state_display == VGA_SWITCHEROO_IGD) in gmux_write_switch_state()
372 if (gmux_data->switch_state_external == VGA_SWITCHEROO_IGD) in gmux_write_switch_state()
401 if (id == VGA_SWITCHEROO_IGD) in gmux_switch_ddc()
445 if (id == VGA_SWITCHEROO_IGD) in gmux_set_power_state()
458 return VGA_SWITCHEROO_IGD; in gmux_get_client_id()
461 return VGA_SWITCHEROO_IGD; in gmux_get_client_id()
/linux-6.1.9/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c175 if (id == VGA_SWITCHEROO_IGD) in nouveau_dsm_switchto()
184 if (id == VGA_SWITCHEROO_IGD) in nouveau_dsm_power_state()
199 return VGA_SWITCHEROO_IGD; in nouveau_dsm_get_client_id()
203 return VGA_SWITCHEROO_IGD; in nouveau_dsm_get_client_id()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_atpx_handler.c437 if (id == VGA_SWITCHEROO_IGD) in radeon_atpx_switchto()
464 if (id == VGA_SWITCHEROO_IGD) in radeon_atpx_power_state()
531 return VGA_SWITCHEROO_IGD; in radeon_atpx_get_client_id()
/linux-6.1.9/drivers/gpu/drm/amd/amdgpu/
Damdgpu_atpx_handler.c467 if (id == VGA_SWITCHEROO_IGD) in amdgpu_atpx_switchto()
494 if (id == VGA_SWITCHEROO_IGD) in amdgpu_atpx_power_state()
562 return VGA_SWITCHEROO_IGD; in amdgpu_atpx_get_client_id()
/linux-6.1.9/drivers/gpu/vga/
Dvga_switcheroo.c827 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
837 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
844 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
1025 vgasr_priv.handler->switchto(VGA_SWITCHEROO_IGD); in vga_switcheroo_runtime_suspend()
/linux-6.1.9/include/linux/
Dvga_switcheroo.h88 VGA_SWITCHEROO_IGD = 0, enumerator