Lines Matching full:clients
70 * clients. The mux is called the handler. Muxless machines also register a
76 * there can thus be up to three clients: Two vga clients (GPUs) and one audio
110 * For audio clients, the @fb_info and @active members are bogus. For GPU
111 * clients, the @vga_dev is bogus.
138 * (counting only vga clients, not audio clients)
139 * @clients: list of registered clients
157 struct list_head clients; member
175 .clients = LIST_HEAD_INIT(vgasr_priv.clients),
181 /* we're ready if we get two clients + handler */ in vga_switcheroo_ready()
195 list_for_each_entry(client, &vgasr_priv.clients, list) { in vga_switcheroo_enable()
207 list_for_each_entry(client, &vgasr_priv.clients, list) { in vga_switcheroo_enable()
230 * Register handler. Enable vga_switcheroo if two vga clients have already
280 * Helper for clients to obtain the handler flags bitmask.
313 list_add_tail(&client->list, &vgasr_priv.clients); in register_client()
369 * if vga_switcheroo has enabled, that mean two GPU clients and also in vga_switcheroo_register_audio_client()
482 client = find_client_from_pci(&vgasr_priv.clients, pdev); in vga_switcheroo_get_client_state()
503 client = find_client_from_pci(&vgasr_priv.clients, pdev); in vga_switcheroo_unregister_client()
533 client = find_client_from_pci(&vgasr_priv.clients, pdev); in vga_switcheroo_client_fb_set()
652 list_for_each_entry(client, &vgasr_priv.clients, list) { in vga_switcheroo_show()
701 client = find_client_from_id(&vgasr_priv.clients, id | ID_BIT_AUDIO); in set_audio_state()
711 active = find_active_client(&vgasr_priv.clients); in vga_switchto_stage1()
728 active = find_active_client(&vgasr_priv.clients); in vga_switchto_stage2()
765 list_for_each_entry(client, &vgasr_priv.clients, list) { in check_can_switch()
800 list_for_each_entry(client, &vgasr_priv.clients, list) { in vga_switcheroo_debugfs_write()
813 list_for_each_entry(client, &vgasr_priv.clients, list) { in vga_switcheroo_debugfs_write()
853 client = find_client_from_id(&vgasr_priv.clients, client_id); in vga_switcheroo_debugfs_write()
933 * has unregistered in the meantime or if there are other clients blocking the
949 client = find_client_from_id(&vgasr_priv.clients, in vga_switcheroo_process_delayed_switch()
1003 client = find_client_from_pci(&vgasr_priv.clients, pdev); in vga_switcheroo_power_switch()