Home
last modified time | relevance | path

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

/drivers/gpu/vga/
Dvga_switcheroo.c160 int old_ddc_owner; member
506 vgasr_priv.old_ddc_owner = -ENODEV; in vga_switcheroo_lock_ddc()
511 vgasr_priv.old_ddc_owner = vgasr_priv.handler->switch_ddc(id); in vga_switcheroo_lock_ddc()
512 return vgasr_priv.old_ddc_owner; in vga_switcheroo_lock_ddc()
535 int ret = vgasr_priv.old_ddc_owner; in vga_switcheroo_unlock_ddc()
540 if (vgasr_priv.old_ddc_owner >= 0) { in vga_switcheroo_unlock_ddc()
542 if (vgasr_priv.old_ddc_owner != id) in vga_switcheroo_unlock_ddc()
544 vgasr_priv.old_ddc_owner); in vga_switcheroo_unlock_ddc()
/drivers/platform/x86/
Dapple-gmux.c426 enum vga_switcheroo_client_id old_ddc_owner = in gmux_switch_ddc() local
429 if (id == old_ddc_owner) in gmux_switch_ddc()
432 pr_debug("Switching DDC from %d to %d\n", old_ddc_owner, id); in gmux_switch_ddc()
440 return old_ddc_owner; in gmux_switch_ddc()