Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/vga/
H A Dvga_switcheroo.c149 struct vgasr_priv { struct
174 static struct vgasr_priv vgasr_priv = { variable
183 vgasr_priv.registered_clients == 2 && vgasr_priv.handler; in vga_switcheroo_ready()
222 vgasr_priv.active = true; in vga_switcheroo_enable()
240 if (vgasr_priv.handler) { in vga_switcheroo_register_handler()
266 vgasr_priv.handler = NULL; in vga_switcheroo_unregister_handler()
267 if (vgasr_priv.active) { in vga_switcheroo_unregister_handler()
376 if (vgasr_priv.active) { in vga_switcheroo_register_audio_client()
510 if (vgasr_priv.active && vgasr_priv.registered_clients < 2) { in vga_switcheroo_unregister_client()
564 if (!vgasr_priv.handler || !vgasr_priv.handler->switch_ddc) { in vga_switcheroo_lock_ddc()
[all …]
/openbmc/linux/Documentation/gpu/
H A Dvga-switcheroo.rst59 :functions: vgasr_priv