Lines Matching defs:dat
422 uint8_t cmd, dat;
462 (dat = hd44780_ir_read(sc, en) & 0x7f) != 0x6) {
531 hd44780_io()->dat = (hd44780_ir_read(sc, en) & 0x7f);
536 hd44780_ir_write(sc, en, cmd_ddramset(hd44780_io()->dat));
543 hd44780_io()->dat = hd44780_dr_read(sc, en);
548 hd44780_dr_write(sc, en, hd44780_io()->dat);
583 hd44780_ir_write(sc, en, hd44780_io()->dat);
588 hd44780_dr_write(sc, en, hd44780_io()->dat);
623 if (io->dat < sc->sc_vcols) {
625 addr = HD_ROW1_ADDR + io->dat;
634 if (io->dat < 2 * sc->sc_vcols) {
636 if (io->dat >= sc->sc_vcols)
637 addr = HD_ROW2_ADDR + io->dat - sc->sc_vcols;
768 uint8_t rd, dat;
779 dat = (rd & 0x0f) << 4;
781 return (dat | (rd & 0x0f));