VCOM Linux Driver
Advantech Inc.
Loading...
Searching...
No Matches
adv_uart.c File Reference
#include <linux/module.h>
#include <linux/tty.h>
#include <linux/ioport.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/sysrq.h>
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/pci.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/tty_flip.h>
#include <linux/serial_reg.h>
#include <linux/serial.h>
#include <linux/serial_core.h>
#include <linux/version.h>
#include <asm/bitops.h>
#include <asm/byteorder.h>
#include <asm/serial.h>
#include <asm/io.h>
#include <asm/uaccess.h>
#include "advvcom.h"
#include "adv_uart.h"
#include <linux/platform_device.h>

Macros

#define VCOM_MAJOR   38
 
#define VCOM_MINOR   0
 

Functions

 LIST_HEAD (uart_list)
 
void adv_uart_xmit (struct uart_port *)
 
void adv_uart_update_xmit (struct uart_port *port)
 
unsigned int adv_uart_ms (struct uart_port *port, unsigned int status)
 
void adv_uart_recv_chars (struct uart_port *port)
 
int adv_uart_register (void)
 
int adv_uart_init (struct adv_vcom *vcomdata, int index)
 
int adv_uart_rm_port (int index)
 
int adv_uart_release (void)
 

Variables

int vcom_port_num
 

Macro Definition Documentation

◆ VCOM_MAJOR

#define VCOM_MAJOR   38

◆ VCOM_MINOR

#define VCOM_MINOR   0

Function Documentation

◆ adv_uart_init()

int adv_uart_init ( struct adv_vcom * vcomdata,
int index )

◆ adv_uart_ms()

unsigned int adv_uart_ms ( struct uart_port * port,
unsigned int status )

◆ adv_uart_recv_chars()

void adv_uart_recv_chars ( struct uart_port * port)

◆ adv_uart_register()

int adv_uart_register ( void )

◆ adv_uart_release()

int adv_uart_release ( void )

◆ adv_uart_rm_port()

int adv_uart_rm_port ( int index)

◆ adv_uart_update_xmit()

void adv_uart_update_xmit ( struct uart_port * port)

◆ adv_uart_xmit()

void adv_uart_xmit ( struct uart_port * port)

◆ LIST_HEAD()

LIST_HEAD ( uart_list )

Variable Documentation

◆ vcom_port_num

int vcom_port_num
extern