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

// SPDX-License-Identifier: GPL-2.0+
/*
 * Copyright 2003 Digi International (www.digi.com)
 *	Scott H Kilau <Scott_Kilau at digi dot com>
 *
 *	NOTE TO LINUX KERNEL HACKERS:  DO NOT REFORMAT THIS CODE!
 *
 *	This is shared code between Digi's CVS archive and the
 *	Linux Kernel sources.
 *	Changing the source just for reformatting needlessly breaks
 *	our CVS diff history.
 *
 *	Send any bug fixes/changes to:  Eng.Linux at digi dot com.
 *	Thank you.
 *
 */

#include <linux/delay.h>	/* For udelay */
#include <linux/io.h>		/* For read[bwl]/write[bwl] */
#include <linux/serial.h>	/* For struct async_serial */
#include <linux/serial_reg.h>	/* For the various UART offsets */
#include <linux/pci.h>
#include <linux/tty.h>

#include "jsm.h"	/* Driver main header file */

static struct {} baud_rates[] =;

static void cls_set_cts_flow_control(struct jsm_channel *ch)
{}

static void cls_set_ixon_flow_control(struct jsm_channel *ch)
{}

static void cls_set_no_output_flow_control(struct jsm_channel *ch)
{}

static void cls_set_rts_flow_control(struct jsm_channel *ch)
{}

static void cls_set_ixoff_flow_control(struct jsm_channel *ch)
{}

static void cls_set_no_input_flow_control(struct jsm_channel *ch)
{}

/*
 * cls_clear_break.
 * Determines whether its time to shut off break condition.
 *
 * No locks are assumed to be held when calling this function.
 * channel lock is held and released in this function.
 */
static void cls_clear_break(struct jsm_channel *ch)
{}

static void cls_disable_receiver(struct jsm_channel *ch)
{}

static void cls_enable_receiver(struct jsm_channel *ch)
{}

/* Make the UART raise any of the output signals we want up */
static void cls_assert_modem_signals(struct jsm_channel *ch)
{}

static void cls_copy_data_from_uart_to_queue(struct jsm_channel *ch)
{}

static void cls_copy_data_from_queue_to_uart(struct jsm_channel *ch)
{}

static void cls_parse_modem(struct jsm_channel *ch, u8 signals)
{}

/* Parse the ISR register for the specific port */
static inline void cls_parse_isr(struct jsm_board *brd, uint port)
{}

/* Channel lock MUST be held before calling this function! */
static void cls_flush_uart_write(struct jsm_channel *ch)
{}

/* Channel lock MUST be held before calling this function! */
static void cls_flush_uart_read(struct jsm_channel *ch)
{}

static void cls_send_start_character(struct jsm_channel *ch)
{}

static void cls_send_stop_character(struct jsm_channel *ch)
{}

/*
 * cls_param()
 * Send any/all changes to the line to the UART.
 */
static void cls_param(struct jsm_channel *ch)
{}

/*
 * cls_intr()
 *
 * Classic specific interrupt handler.
 */
static irqreturn_t cls_intr(int irq, void *voidbrd)
{}

/* Inits UART */
static void cls_uart_init(struct jsm_channel *ch)
{}

/*
 * Turns off UART.
 */
static void cls_uart_off(struct jsm_channel *ch)
{}

/*
 * cls_send_break.
 * Starts sending a break thru the UART.
 *
 * The channel lock MUST be held by the calling function.
 */
static void cls_send_break(struct jsm_channel *ch)
{}

struct board_ops jsm_cls_ops =;