hd44780_io
struct hd44780_io io;
struct hd44780_io io;
struct hd44780_io io;
struct hd44780_io io;
#define hd44780_io() ((struct hd44780_io *)data)
hd44780_io()->dat = (hd44780_ir_read(sc, en) & 0x7f);
hd44780_ir_write(sc, en, cmd_ddramset(hd44780_io()->dat));
hd44780_io()->dat = hd44780_dr_read(sc, en);
hd44780_dr_write(sc, en, hd44780_io()->dat);
error = hd44780_ddram_io(sc, en, hd44780_io(), HD_DDRAM_WRITE);
error = hd44780_ddram_io(sc, en, hd44780_io(), HD_DDRAM_READ);
hd44780_ddram_redraw(sc, en, hd44780_io());
hd44780_ir_write(sc, en, hd44780_io()->dat);
hd44780_dr_write(sc, en, hd44780_io()->dat);
hd44780_ddram_io(struct hd44780_chip *sc, uint32_t en, struct hd44780_io *io,
struct hd44780_io *io)
void hd44780_ddram_redraw(struct hd44780_chip *, uint32_t, struct hd44780_io *);
int hd44780_ddram_io(struct hd44780_chip *, uint32_t, struct hd44780_io *,
#define HLCD_GET_CURSOR_POS _IOR('h', 6, struct hd44780_io)
#define HLCD_SET_CURSOR_POS _IOW('h', 7, struct hd44780_io)
#define HLCD_GETC _IOR('h', 8, struct hd44780_io)
#define HLCD_PUTC _IOW('h', 9, struct hd44780_io)
#define HLCD_WRITE _IOWR('h', 13, struct hd44780_io)
#define HLCD_READ _IOWR('h', 14, struct hd44780_io)
#define HLCD_REDRAW _IOW('h', 15, struct hd44780_io)
#define HLCD_WRITE_INST _IOW('h', 16, struct hd44780_io)
#define HLCD_WRITE_DATA _IOW('h', 17, struct hd44780_io)