Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/platform/x86/
Dapple-gmux.c392 gmux_data->switch_state_ddc = VGA_SWITCHEROO_IGD; in gmux_read_switch_state()
397 gmux_data->switch_state_display = VGA_SWITCHEROO_IGD; in gmux_read_switch_state()
402 gmux_data->switch_state_external = VGA_SWITCHEROO_IGD; in gmux_read_switch_state()
409 if (gmux_data->switch_state_ddc == VGA_SWITCHEROO_IGD) in gmux_write_switch_state()
414 if (gmux_data->switch_state_display == VGA_SWITCHEROO_IGD) in gmux_write_switch_state()
419 if (gmux_data->switch_state_external == VGA_SWITCHEROO_IGD) in gmux_write_switch_state()
448 if (id == VGA_SWITCHEROO_IGD) in gmux_switch_ddc()
492 if (id == VGA_SWITCHEROO_IGD) in gmux_set_power_state()
505 return VGA_SWITCHEROO_IGD; in gmux_get_client_id()
508 return VGA_SWITCHEROO_IGD; in gmux_get_client_id()
/Linux-v4.19/drivers/gpu/drm/nouveau/
Dnouveau_acpi.c176 if (id == VGA_SWITCHEROO_IGD) in nouveau_dsm_switchto()
185 if (id == VGA_SWITCHEROO_IGD) in nouveau_dsm_power_state()
200 return VGA_SWITCHEROO_IGD; in nouveau_dsm_get_client_id()
204 return VGA_SWITCHEROO_IGD; in nouveau_dsm_get_client_id()
/Linux-v4.19/drivers/gpu/drm/radeon/
Dradeon_atpx_handler.c438 if (id == VGA_SWITCHEROO_IGD) in radeon_atpx_switchto()
465 if (id == VGA_SWITCHEROO_IGD) in radeon_atpx_power_state()
532 return VGA_SWITCHEROO_IGD; in radeon_atpx_get_client_id()
/Linux-v4.19/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-v4.19/drivers/gpu/vga/
Dvga_switcheroo.c831 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
841 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
848 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
1047 vgasr_priv.handler->switchto(VGA_SWITCHEROO_IGD); in vga_switcheroo_runtime_suspend()
/Linux-v4.19/include/linux/
Dvga_switcheroo.h88 VGA_SWITCHEROO_IGD = 0, enumerator