Home
last modified time | relevance | path

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

/linux-5.19.10/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()
/linux-5.19.10/drivers/platform/x86/
Dapple-gmux.c436 enum vga_switcheroo_client_id old_ddc_owner = in gmux_switch_ddc() local
439 if (id == old_ddc_owner) in gmux_switch_ddc()
442 pr_debug("Switching DDC from %d to %d\n", old_ddc_owner, id); in gmux_switch_ddc()
450 return old_ddc_owner; in gmux_switch_ddc()