8250.h (cdd5b5a9761fd66d17586e4f4ba6588c70e640ea) 8250.h (f81f335a56a8e90d5cac38b79661e6fbf35249f1)
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Driver for 8250/16550-type serial ports
4 *
5 * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
6 *
7 * Copyright (C) 2001 Russell King.
8 */

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

288
289 mctrl_gpio = mctrl_gpio_get_outputs(up->gpios, &mctrl_gpio);
290 mctrl |= serial8250_TIOCM_to_MCR(mctrl_gpio);
291 }
292
293 return mctrl;
294}
295
1/* SPDX-License-Identifier: GPL-2.0+ */
2/*
3 * Driver for 8250/16550-type serial ports
4 *
5 * Based on drivers/char/serial.c, by Linus Torvalds, Theodore Ts'o.
6 *
7 * Copyright (C) 2001 Russell King.
8 */

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

288
289 mctrl_gpio = mctrl_gpio_get_outputs(up->gpios, &mctrl_gpio);
290 mctrl |= serial8250_TIOCM_to_MCR(mctrl_gpio);
291 }
292
293 return mctrl;
294}
295
296bool alpha_jensen(void);
297void alpha_jensen_set_mctrl(struct uart_port *port, unsigned int mctrl);
298
299#ifdef CONFIG_SERIAL_8250_PNP
300int serial8250_pnp_init(void);
301void serial8250_pnp_exit(void);
302#else
303static inline int serial8250_pnp_init(void) { return 0; }
304static inline void serial8250_pnp_exit(void) { }
305#endif
306

--- 116 unchanged lines hidden ---
296#ifdef CONFIG_SERIAL_8250_PNP
297int serial8250_pnp_init(void);
298void serial8250_pnp_exit(void);
299#else
300static inline int serial8250_pnp_init(void) { return 0; }
301static inline void serial8250_pnp_exit(void) { }
302#endif
303

--- 116 unchanged lines hidden ---