• Home
  • Raw
  • Download

Lines Matching refs:active

119 	bool active;  member
150 bool active; member
182 return !vgasr_priv.active && in vga_switcheroo_ready()
222 vgasr_priv.active = true; in vga_switcheroo_enable()
267 if (vgasr_priv.active) { in vga_switcheroo_unregister_handler()
270 vgasr_priv.active = false; in vga_switcheroo_unregister_handler()
295 bool active, in register_client() argument
308 client->active = active; in register_client()
376 if (vgasr_priv.active) { in vga_switcheroo_register_audio_client()
422 if (client->active) in find_active_client()
510 if (vgasr_priv.active && vgasr_priv.registered_clients < 2) { in vga_switcheroo_unregister_client()
513 vgasr_priv.active = false; in vga_switcheroo_unregister_client()
657 client->active ? '+' : ' ', in vga_switcheroo_show()
709 struct vga_switcheroo_client *active; in vga_switchto_stage1() local
711 active = find_active_client(&vgasr_priv.clients); in vga_switchto_stage1()
712 if (!active) in vga_switchto_stage1()
726 struct vga_switcheroo_client *active; in vga_switchto_stage2() local
728 active = find_active_client(&vgasr_priv.clients); in vga_switchto_stage2()
729 if (!active) in vga_switchto_stage2()
732 active->active = false; in vga_switchto_stage2()
735 if (!active->driver_power_control) in vga_switchto_stage2()
736 set_audio_state(active->id, VGA_SWITCHEROO_OFF); in vga_switchto_stage2()
750 if (vga_switcheroo_pwr_state(active) == VGA_SWITCHEROO_ON) in vga_switchto_stage2()
751 vga_switchoff(active); in vga_switchto_stage2()
757 new_client->active = true; in vga_switchto_stage2()
793 if (!vgasr_priv.active) { in vga_switcheroo_debugfs_write()
801 if (client->active || client_is_audio(client)) in vga_switcheroo_debugfs_write()
814 if (client->active || client_is_audio(client)) in vga_switcheroo_debugfs_write()
866 if (client->active) in vga_switcheroo_debugfs_write()