Lines Matching defs:bytes
106 /* We always configure 4 bytes per FIFO word */
129 int (*handle_rx)(struct uart_port *uport, u32 bytes, bool drop);
147 static int handle_rx_console(struct uart_port *uport, u32 bytes, bool drop);
148 static int handle_rx_uart(struct uart_port *uport, u32 bytes, bool drop);
285 * Total polling iterations based on FIFO worth of bytes to be
428 * Account for additional bytes to be written.
527 static int handle_rx_console(struct uart_port *uport, u32 bytes, bool drop)
535 for (i = 0; i < bytes; ) {
537 int chunk = min_t(int, bytes - i, BYTES_PER_FIFO_WORD);
565 static int handle_rx_console(struct uart_port *uport, u32 bytes, bool drop)
572 static int handle_rx_uart(struct uart_port *uport, u32 bytes, bool drop)
577 u32 words = ALIGN(bytes, num_bytes_pw) / num_bytes_pw;
585 ret = tty_insert_flip_string(tport, port->rx_fifo, bytes);
586 if (ret != bytes) {
588 __func__, ret, bytes);