linux/drivers/tty/serial/jsm/jsm_tty.c

// SPDX-License-Identifier: GPL-2.0+
/************************************************************************
 * Copyright 2003 Digi International (www.digi.com)
 *
 * Copyright (C) 2004 IBM Corporation. All rights reserved.
 *
 * Contact Information:
 * Scott H Kilau <[email protected]>
 * Ananda Venkatarman <[email protected]>
 * Modifications:
 * 01/19/06:	changed jsm_input routine to use the dynamically allocated
 *		tty_buffer changes. Contributors: Scott Kilau and Ananda V.
 ***********************************************************************/
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/serial_reg.h>
#include <linux/delay.h>	/* For udelay */
#include <linux/pci.h>
#include <linux/slab.h>

#include "jsm.h"

static DECLARE_BITMAP(linemap, MAXLINES);

static void jsm_carrier(struct jsm_channel *ch);

static inline int jsm_get_mstat(struct jsm_channel *ch)
{}

static unsigned int jsm_tty_tx_empty(struct uart_port *port)
{}

/*
 * Return modem signals to ld.
 */
static unsigned int jsm_tty_get_mctrl(struct uart_port *port)
{}

/*
 * jsm_set_modem_info()
 *
 * Set modem signals, called by ld.
 */
static void jsm_tty_set_mctrl(struct uart_port *port, unsigned int mctrl)
{}

/*
 * jsm_tty_write()
 *
 * Take data from the user or kernel and send it out to the FEP.
 * In here exists all the Transparent Print magic as well.
 */
static void jsm_tty_write(struct uart_port *port)
{}

static void jsm_tty_start_tx(struct uart_port *port)
{}

static void jsm_tty_stop_tx(struct uart_port *port)
{}

static void jsm_tty_send_xchar(struct uart_port *port, char ch)
{}

static void jsm_tty_stop_rx(struct uart_port *port)
{}

static void jsm_tty_break(struct uart_port *port, int break_state)
{}

static int jsm_tty_open(struct uart_port *port)
{}

static void jsm_tty_close(struct uart_port *port)
{}

static void jsm_tty_set_termios(struct uart_port *port,
				struct ktermios *termios,
				const struct ktermios *old_termios)
{}

static const char *jsm_tty_type(struct uart_port *port)
{}

static void jsm_tty_release_port(struct uart_port *port)
{}

static int jsm_tty_request_port(struct uart_port *port)
{}

static void jsm_config_port(struct uart_port *port, int flags)
{}

static const struct uart_ops jsm_ops =;

/*
 * jsm_tty_init()
 *
 * Init the tty subsystem.  Called once per board after board has been
 * downloaded and init'ed.
 */
int jsm_tty_init(struct jsm_board *brd)
{}

int jsm_uart_port_init(struct jsm_board *brd)
{}

int jsm_remove_uart_port(struct jsm_board *brd)
{}

void jsm_input(struct jsm_channel *ch)
{}

static void jsm_carrier(struct jsm_channel *ch)
{}


void jsm_check_queue_flow_control(struct jsm_channel *ch)
{}