linux/drivers/tty/serial/timbuart.c

// SPDX-License-Identifier: GPL-2.0
/*
 * timbuart.c timberdale FPGA UART driver
 * Copyright (c) 2009 Intel Corporation
 */

/* Supports:
 * Timberdale FPGA UART
 */

#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/serial_core.h>
#include <linux/tty.h>
#include <linux/tty_flip.h>
#include <linux/kernel.h>
#include <linux/platform_device.h>
#include <linux/ioport.h>
#include <linux/slab.h>
#include <linux/module.h>

#include "timbuart.h"

struct timbuart_port {};

static int baudrates[] =;

static void timbuart_mctrl_check(struct uart_port *port, u32 isr, u32 *ier);

static irqreturn_t timbuart_handleinterrupt(int irq, void *devid);

static void timbuart_stop_rx(struct uart_port *port)
{}

static void timbuart_stop_tx(struct uart_port *port)
{}

static void timbuart_start_tx(struct uart_port *port)
{}

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

static void timbuart_flush_buffer(struct uart_port *port)
{}

static void timbuart_rx_chars(struct uart_port *port)
{}

static void timbuart_tx_chars(struct uart_port *port)
{}

static void timbuart_handle_tx_port(struct uart_port *port, u32 isr, u32 *ier)
{}

static void timbuart_handle_rx_port(struct uart_port *port, u32 isr, u32 *ier)
{}

static void timbuart_tasklet(struct tasklet_struct *t)
{}

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

static void timbuart_set_mctrl(struct uart_port *port, unsigned int mctrl)
{}

static void timbuart_mctrl_check(struct uart_port *port, u32 isr, u32 *ier)
{}

static void timbuart_break_ctl(struct uart_port *port, int ctl)
{}

static int timbuart_startup(struct uart_port *port)
{}

static void timbuart_shutdown(struct uart_port *port)
{}

static int get_bindex(int baud)
{}

static void timbuart_set_termios(struct uart_port *port,
				 struct ktermios *termios,
				 const struct ktermios *old)
{}

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

/* We do not request/release mappings of the registers here,
 * currently it's done in the proble function.
 */
static void timbuart_release_port(struct uart_port *port)
{}

static int timbuart_request_port(struct uart_port *port)
{}

static irqreturn_t timbuart_handleinterrupt(int irq, void *devid)
{}

/*
 * Configure/autoconfigure the port.
 */
static void timbuart_config_port(struct uart_port *port, int flags)
{}

static int timbuart_verify_port(struct uart_port *port,
	struct serial_struct *ser)
{}

static const struct uart_ops timbuart_ops =;

static struct uart_driver timbuart_driver =;

static int timbuart_probe(struct platform_device *dev)
{}

static void timbuart_remove(struct platform_device *dev)
{}

static struct platform_driver timbuart_platform_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_ALIAS();