static int arm_dcc_tstc(struct console_device *cdev) { register unsigned int reg; can_read_dcc(reg); return reg; }
static int arm_dcc_tstc(void) { register unsigned int reg; can_read_dcc(reg); return reg; }
static int arm_dcc_getc(struct console_device *cdev) { int c; register unsigned int reg; do { can_read_dcc(reg); } while (!reg); read_dcc(c); return c; }
static int arm_dcc_getc(struct udevice *dev) { int ch; register unsigned int reg; do { can_read_dcc(reg); } while (!reg); read_dcc(ch); return ch; }
static int arm_dcc_pending(struct udevice *dev, bool input) { register unsigned int reg; if (input) { can_read_dcc(reg); } else { can_write_dcc(reg); } return reg; }
static int arm_dcc_getc(void) { int ch; register unsigned int reg; do { can_read_dcc(reg); } while (!reg); read_dcc(ch); return ch; }