Searched refs:last_was_cmd (Results 1 – 1 of 1) sorted by relevance
304 static int last_was_cmd;/* 0: CMD was written last, 1: DATA was last */ in led_LCD_driver() local325 if (last_was_cmd) { in led_LCD_driver()334 if (++last_was_cmd == 2) { /* switch between cmd & data */ in led_LCD_driver()335 last_was_cmd = 0; in led_LCD_driver()