Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/gpu/vga/
Dvga_switcheroo.c389 char usercmd[64]; in vga_switcheroo_debugfs_write() local
399 if (copy_from_user(usercmd, ubuf, cnt)) in vga_switcheroo_debugfs_write()
410 if (strncmp(usercmd, "OFF", 3) == 0) { in vga_switcheroo_debugfs_write()
423 if (strncmp(usercmd, "ON", 2) == 0) { in vga_switcheroo_debugfs_write()
437 if (strncmp(usercmd, "DIGD", 4) == 0) { in vga_switcheroo_debugfs_write()
442 if (strncmp(usercmd, "DDIS", 4) == 0) { in vga_switcheroo_debugfs_write()
447 if (strncmp(usercmd, "IGD", 3) == 0) in vga_switcheroo_debugfs_write()
450 if (strncmp(usercmd, "DIS", 3) == 0) in vga_switcheroo_debugfs_write()
453 if (strncmp(usercmd, "MIGD", 4) == 0) { in vga_switcheroo_debugfs_write()
457 if (strncmp(usercmd, "MDIS", 4) == 0) { in vga_switcheroo_debugfs_write()