Lines Matching refs:command
20 u8 command[11]; member
32 for (i = 0; i < sizeof(panel->command) - 1; ++i) { in ibm_panel_calculate_checksum()
33 sum += panel->command[i]; in ibm_panel_calculate_checksum()
52 if (panel->command[0] != 0xff && panel->command[1] != 0xf0) { in ibm_panel_process_command()
54 panel->command[0], panel->command[1]); in ibm_panel_process_command()
59 if (chksum != panel->command[sizeof(panel->command) - 1]) { in ibm_panel_process_command()
62 panel->command[sizeof(panel->command) - 1]); in ibm_panel_process_command()
66 button = panel->command[2] & 0xf; in ibm_panel_process_command()
69 !(panel->command[2] & 0x80)); in ibm_panel_process_command()
89 if (panel->idx == sizeof(panel->command)) in ibm_panel_i2c_slave_cb()
99 if (panel->idx < sizeof(panel->command)) in ibm_panel_i2c_slave_cb()
100 panel->command[panel->idx++] = *val; in ibm_panel_i2c_slave_cb()