Lines Matching refs:new_client
705 static int vga_switchto_stage1(struct vga_switcheroo_client *new_client) in vga_switchto_stage1() argument
713 if (vga_switcheroo_pwr_state(new_client) == VGA_SWITCHEROO_OFF) in vga_switchto_stage1()
714 vga_switchon(new_client); in vga_switchto_stage1()
716 vga_set_default_device(new_client->pdev); in vga_switchto_stage1()
721 static int vga_switchto_stage2(struct vga_switcheroo_client *new_client) in vga_switchto_stage2() argument
736 if (new_client->fb_info) { in vga_switchto_stage2()
740 event.info = new_client->fb_info; in vga_switchto_stage2()
746 ret = vgasr_priv.handler->switchto(new_client->id); in vga_switchto_stage2()
751 if (new_client->ops->reprobe) in vga_switchto_stage2()
752 new_client->ops->reprobe(new_client->pdev); in vga_switchto_stage2()
758 if (!new_client->driver_power_control) in vga_switchto_stage2()
759 set_audio_state(new_client->id, VGA_SWITCHEROO_ON); in vga_switchto_stage2()
761 new_client->active = true; in vga_switchto_stage2()