Lines Matching refs:client_id
168 #define client_id(c) ((c)->id & ~ID_BIT_AUDIO) macro
197 client_id(client) != VGA_SWITCHEROO_UNKNOWN_ID) in vga_switcheroo_enable()
209 client_id(client) != VGA_SWITCHEROO_UNKNOWN_ID) in vga_switcheroo_enable()
406 enum vga_switcheroo_client_id client_id) in find_client_from_id() argument
411 if (client->id == client_id) in find_client_from_id()
654 client_id(client) == VGA_SWITCHEROO_DIS ? "DIS" : in vga_switcheroo_show()
782 enum vga_switcheroo_client_id client_id = VGA_SWITCHEROO_UNKNOWN_ID; in vga_switcheroo_debugfs_write() local
827 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
832 client_id = VGA_SWITCHEROO_DIS; in vga_switcheroo_debugfs_write()
837 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
840 client_id = VGA_SWITCHEROO_DIS; in vga_switcheroo_debugfs_write()
844 client_id = VGA_SWITCHEROO_IGD; in vga_switcheroo_debugfs_write()
848 client_id = VGA_SWITCHEROO_DIS; in vga_switcheroo_debugfs_write()
851 if (client_id == VGA_SWITCHEROO_UNKNOWN_ID) in vga_switcheroo_debugfs_write()
853 client = find_client_from_id(&vgasr_priv.clients, client_id); in vga_switcheroo_debugfs_write()
861 ret = vgasr_priv.handler->switchto(client_id); in vga_switcheroo_debugfs_write()
887 vgasr_priv.delayed_client_id = client_id; in vga_switcheroo_debugfs_write()