Home
last modified time | relevance | path

Searched refs:old_ddc_owner (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/vga/
Dvga_switcheroo.c162 int old_ddc_owner; member
565 vgasr_priv.old_ddc_owner = -ENODEV; in vga_switcheroo_lock_ddc()
570 vgasr_priv.old_ddc_owner = vgasr_priv.handler->switch_ddc(id); in vga_switcheroo_lock_ddc()
571 return vgasr_priv.old_ddc_owner; in vga_switcheroo_lock_ddc()
594 int ret = vgasr_priv.old_ddc_owner; in vga_switcheroo_unlock_ddc()
599 if (vgasr_priv.old_ddc_owner >= 0) { in vga_switcheroo_unlock_ddc()
601 if (vgasr_priv.old_ddc_owner != id) in vga_switcheroo_unlock_ddc()
603 vgasr_priv.old_ddc_owner); in vga_switcheroo_unlock_ddc()
/drivers/platform/x86/
Dapple-gmux.c485 enum vga_switcheroo_client_id old_ddc_owner = in gmux_switch_ddc() local
488 if (id == old_ddc_owner) in gmux_switch_ddc()
491 pr_debug("Switching DDC from %d to %d\n", old_ddc_owner, id); in gmux_switch_ddc()
499 return old_ddc_owner; in gmux_switch_ddc()