Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/vga/
Dvga_switcheroo.c47 struct vgasr_priv { struct
67 static int vga_switcheroo_debugfs_init(struct vgasr_priv *priv); argument
68 static void vga_switcheroo_debugfs_fini(struct vgasr_priv *priv);
71 static struct vgasr_priv vgasr_priv = { variable
72 .clients = LIST_HEAD_INIT(vgasr_priv.clients),
78 return !vgasr_priv.active && in vga_switcheroo_ready()
79 vgasr_priv.registered_clients == 2 && vgasr_priv.handler; in vga_switcheroo_ready()
88 if (vgasr_priv.handler->init) in vga_switcheroo_enable()
89 vgasr_priv.handler->init(); in vga_switcheroo_enable()
91 list_for_each_entry(client, &vgasr_priv.clients, list) { in vga_switcheroo_enable()
[all …]