Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/gpu/vga/
Dvga_switcheroo.c778 char usercmd[64]; in vga_switcheroo_debugfs_write() local
788 if (copy_from_user(usercmd, ubuf, cnt)) in vga_switcheroo_debugfs_write()
799 if (strncmp(usercmd, "OFF", 3) == 0) { in vga_switcheroo_debugfs_write()
812 if (strncmp(usercmd, "ON", 2) == 0) { in vga_switcheroo_debugfs_write()
826 if (strncmp(usercmd, "DIGD", 4) == 0) { in vga_switcheroo_debugfs_write()
831 if (strncmp(usercmd, "DDIS", 4) == 0) { in vga_switcheroo_debugfs_write()
836 if (strncmp(usercmd, "IGD", 3) == 0) in vga_switcheroo_debugfs_write()
839 if (strncmp(usercmd, "DIS", 3) == 0) in vga_switcheroo_debugfs_write()
842 if (strncmp(usercmd, "MIGD", 4) == 0) { in vga_switcheroo_debugfs_write()
846 if (strncmp(usercmd, "MDIS", 4) == 0) { in vga_switcheroo_debugfs_write()