Searched refs:usercmd (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/gpu/vga/ |
D | vga_switcheroo.c | 782 char usercmd[64]; in vga_switcheroo_debugfs_write() local 792 if (copy_from_user(usercmd, ubuf, cnt)) in vga_switcheroo_debugfs_write() 803 if (strncmp(usercmd, "OFF", 3) == 0) { in vga_switcheroo_debugfs_write() 816 if (strncmp(usercmd, "ON", 2) == 0) { in vga_switcheroo_debugfs_write() 830 if (strncmp(usercmd, "DIGD", 4) == 0) { in vga_switcheroo_debugfs_write() 835 if (strncmp(usercmd, "DDIS", 4) == 0) { in vga_switcheroo_debugfs_write() 840 if (strncmp(usercmd, "IGD", 3) == 0) in vga_switcheroo_debugfs_write() 843 if (strncmp(usercmd, "DIS", 3) == 0) in vga_switcheroo_debugfs_write() 846 if (strncmp(usercmd, "MIGD", 4) == 0) { in vga_switcheroo_debugfs_write() 850 if (strncmp(usercmd, "MDIS", 4) == 0) { in vga_switcheroo_debugfs_write()
|