Lines Matching refs:cmd
862 u32 cmd, mode, r, g, b, speed; in kbd_rgb_mode_store() local
865 if (sscanf(buf, "%d %d %d %d %d %d", &cmd, &mode, &r, &g, &b, &speed) != 6) in kbd_rgb_mode_store()
869 switch (cmd) { in kbd_rgb_mode_store()
871 cmd = 0xb3; in kbd_rgb_mode_store()
874 cmd = 0xb4; in kbd_rgb_mode_store()
899 cmd | (mode << 8) | (r << 16) | (g << 24), b | (speed << 8), NULL); in kbd_rgb_mode_store()
930 u32 flags, cmd, boot, awake, sleep, keyboard; in kbd_rgb_state_store() local
933 if (sscanf(buf, "%d %d %d %d %d", &cmd, &boot, &awake, &sleep, &keyboard) != 5) in kbd_rgb_state_store()
936 if (cmd) in kbd_rgb_state_store()
937 cmd = BIT(2); in kbd_rgb_state_store()
951 ASUS_WMI_DEVID_TUF_RGB_STATE, 0xbd | cmd << 8 | (flags << 16), 0, NULL); in kbd_rgb_state_store()