Home
last modified time | relevance | path

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

/openbmc/linux/drivers/platform/x86/
H A Dapple-gmux.c438 gmux_data->switch_state_ddc = VGA_SWITCHEROO_IGD; in gmux_read_switch_state()
445 gmux_data->switch_state_display = VGA_SWITCHEROO_IGD; in gmux_read_switch_state()
448 gmux_data->switch_state_external = VGA_SWITCHEROO_IGD; in gmux_read_switch_state()
455 if (gmux_data->switch_state_ddc == VGA_SWITCHEROO_IGD) in gmux_write_switch_state()
460 if (gmux_data->switch_state_display == VGA_SWITCHEROO_IGD) in gmux_write_switch_state()
465 if (gmux_data->switch_state_external == VGA_SWITCHEROO_IGD) in gmux_write_switch_state()
494 if (id == VGA_SWITCHEROO_IGD) in gmux_switch_ddc()
538 if (id == VGA_SWITCHEROO_IGD) in gmux_set_power_state()
551 return VGA_SWITCHEROO_IGD; in gmux_get_client_id()
554 return VGA_SWITCHEROO_IGD; in gmux_get_client_id()
/openbmc/linux/drivers/gpu/drm/nouveau/
H A 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()
/openbmc/linux/drivers/gpu/drm/radeon/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_atpx_handler.c472 if (id == VGA_SWITCHEROO_IGD) in amdgpu_atpx_switchto()
499 if (id == VGA_SWITCHEROO_IGD) in amdgpu_atpx_power_state()
567 return VGA_SWITCHEROO_IGD; in amdgpu_atpx_get_client_id()
/openbmc/linux/drivers/gpu/vga/
H A 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()
/openbmc/linux/include/linux/
H A Dvga_switcheroo.h88 VGA_SWITCHEROO_IGD = 0, enumerator