Lines Matching refs:active
81 * active client in vga_switcheroo parlance. The GPU not in use is the
102 * @active: whether the outputs are currently switched to this client
110 * For audio clients, the @fb_info and @active members are bogus. For GPU
119 bool active;
132 * @active: whether vga_switcheroo is enabled.
150 bool active;
182 return !vgasr_priv.active &&
222 vgasr_priv.active = true;
267 if (vgasr_priv.active) {
270 vgasr_priv.active = false;
295 bool active,
308 client->active = active;
376 if (vgasr_priv.active) {
422 if (client->active)
510 if (vgasr_priv.active && vgasr_priv.registered_clients < 2) {
513 vgasr_priv.active = false;
657 client->active ? '+' : ' ',
709 struct vga_switcheroo_client *active;
711 active = find_active_client(&vgasr_priv.clients);
712 if (!active)
726 struct vga_switcheroo_client *active;
728 active = find_active_client(&vgasr_priv.clients);
729 if (!active)
732 active->active = false;
735 if (!active->driver_power_control)
736 set_audio_state(active->id, VGA_SWITCHEROO_OFF);
750 if (vga_switcheroo_pwr_state(active) == VGA_SWITCHEROO_ON)
751 vga_switchoff(active);
757 new_client->active = true;
793 if (!vgasr_priv.active) {
801 if (client->active || client_is_audio(client))
814 if (client->active || client_is_audio(client))
866 if (client->active)