Searched refs:VGA_SWITCHEROO_ON (Results 1 – 8 of 8) sorted by relevance
304 client->pwr_state = VGA_SWITCHEROO_ON; in register_client()460 return VGA_SWITCHEROO_ON; in vga_switcheroo_pwr_state()677 vgasr_priv.handler->power_state(client->id, VGA_SWITCHEROO_ON); in vga_switchon()679 client->ops->set_gpu_state(client->pdev, VGA_SWITCHEROO_ON); in vga_switchon()680 client->pwr_state = VGA_SWITCHEROO_ON; in vga_switchon()750 if (vga_switcheroo_pwr_state(active) == VGA_SWITCHEROO_ON) in vga_switchto_stage2()755 set_audio_state(new_client->id, VGA_SWITCHEROO_ON); in vga_switchto_stage2()806 if (client->pwr_state == VGA_SWITCHEROO_ON) in vga_switcheroo_debugfs_write()820 set_audio_state(client->id, VGA_SWITCHEROO_ON); in vga_switcheroo_debugfs_write()1039 vga_switcheroo_power_switch(pdev, VGA_SWITCHEROO_ON); in vga_switcheroo_runtime_resume()
70 VGA_SWITCHEROO_ON, enumerator193 …switcheroo_state vga_switcheroo_get_client_state(struct pci_dev *dev) { return VGA_SWITCHEROO_ON; } in vga_switcheroo_get_client_state()
27 if (state == VGA_SWITCHEROO_ON) { in i915_switcheroo_set_state()
44 if (state == VGA_SWITCHEROO_ON) { in nouveau_switcheroo_set_state()
163 if (state == VGA_SWITCHEROO_ON) in nouveau_dsm_set_discrete_state()
422 if (state == VGA_SWITCHEROO_ON) { in gmux_set_discrete_state()641 gmux_data->power_state = VGA_SWITCHEROO_ON; in gmux_probe()
1220 if (state == VGA_SWITCHEROO_ON) { in radeon_switcheroo_set_state()
1586 if (state == VGA_SWITCHEROO_ON) { in amdgpu_switcheroo_set_state()