Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/vga/
Dvga_switcheroo.c149 struct vgasr_priv { struct
171 static int vga_switcheroo_debugfs_init(struct vgasr_priv *priv); argument
172 static void vga_switcheroo_debugfs_fini(struct vgasr_priv *priv);
175 static struct vgasr_priv vgasr_priv = { variable
176 .clients = LIST_HEAD_INIT(vgasr_priv.clients),
177 .mux_hw_lock = __MUTEX_INITIALIZER(vgasr_priv.mux_hw_lock),
183 return !vgasr_priv.active && in vga_switcheroo_ready()
184 vgasr_priv.registered_clients == 2 && vgasr_priv.handler; in vga_switcheroo_ready()
193 if (vgasr_priv.handler->init) in vga_switcheroo_enable()
194 vgasr_priv.handler->init(); in vga_switcheroo_enable()
[all …]
/Linux-v4.19/Documentation/gpu/
Dvga-switcheroo.rst59 :functions: vgasr_priv