ucc_uart.c (74acee309fb2a434dce215d44014e6f8e06975ae) ucc_uart.c (65388dad1bbb51a4eb6cc91b9fa865b57646fb67)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Freescale QUICC Engine UART device driver
4 *
5 * Author: Timur Tabi <timur@freescale.com>
6 *
7 * Copyright 2007 Freescale Semiconductor, Inc.
8 *

--- 1067 unchanged lines hidden (view full) ---

1076
1077 if (ser->baud_base < 9600)
1078 return -EINVAL;
1079
1080 return 0;
1081}
1082/* UART operations
1083 *
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Freescale QUICC Engine UART device driver
4 *
5 * Author: Timur Tabi <timur@freescale.com>
6 *
7 * Copyright 2007 Freescale Semiconductor, Inc.
8 *

--- 1067 unchanged lines hidden (view full) ---

1076
1077 if (ser->baud_base < 9600)
1078 return -EINVAL;
1079
1080 return 0;
1081}
1082/* UART operations
1083 *
1084 * Details on these functions can be found in Documentation/serial/driver.rst
1084 * Details on these functions can be found in Documentation/driver-api/serial/driver.rst
1085 */
1086static const struct uart_ops qe_uart_pops = {
1087 .tx_empty = qe_uart_tx_empty,
1088 .set_mctrl = qe_uart_set_mctrl,
1089 .get_mctrl = qe_uart_get_mctrl,
1090 .stop_tx = qe_uart_stop_tx,
1091 .start_tx = qe_uart_start_tx,
1092 .stop_rx = qe_uart_stop_rx,

--- 444 unchanged lines hidden ---
1085 */
1086static const struct uart_ops qe_uart_pops = {
1087 .tx_empty = qe_uart_tx_empty,
1088 .set_mctrl = qe_uart_set_mctrl,
1089 .get_mctrl = qe_uart_get_mctrl,
1090 .stop_tx = qe_uart_stop_tx,
1091 .start_tx = qe_uart_start_tx,
1092 .stop_rx = qe_uart_stop_rx,

--- 444 unchanged lines hidden ---