Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ircomm_tty.h File Reference
#include <linux/serial.h>
#include <linux/termios.h>
#include <linux/timer.h>
#include <linux/tty.h>
#include <net/irda/irias_object.h>
#include <net/irda/ircomm_core.h>
#include <net/irda/ircomm_param.h>

Go to the source code of this file.

Data Structures

struct  ircomm_tty_cb
 

Macros

#define IRCOMM_TTY_PORTS   32
 
#define IRCOMM_TTY_MAGIC   0x3432
 
#define IRCOMM_TTY_MAJOR   161
 
#define IRCOMM_TTY_MINOR   0
 
#define IRCOMM_TTY_HDR_UNINITIALISED   16
 
#define IRCOMM_TTY_DATA_UNINITIALISED   (64 - IRCOMM_TTY_HDR_UNINITIALISED)
 

Functions

void ircomm_tty_start (struct tty_struct *tty)
 
void ircomm_tty_check_modem_status (struct ircomm_tty_cb *self)
 
int ircomm_tty_tiocmget (struct tty_struct *tty)
 
int ircomm_tty_tiocmset (struct tty_struct *tty, unsigned int set, unsigned int clear)
 
int ircomm_tty_ioctl (struct tty_struct *tty, unsigned int cmd, unsigned long arg)
 
void ircomm_tty_set_termios (struct tty_struct *tty, struct ktermios *old_termios)
 

Macro Definition Documentation

#define IRCOMM_TTY_DATA_UNINITIALISED   (64 - IRCOMM_TTY_HDR_UNINITIALISED)

Definition at line 53 of file ircomm_tty.h.

#define IRCOMM_TTY_HDR_UNINITIALISED   16

Definition at line 51 of file ircomm_tty.h.

#define IRCOMM_TTY_MAGIC   0x3432

Definition at line 44 of file ircomm_tty.h.

#define IRCOMM_TTY_MAJOR   161

Definition at line 45 of file ircomm_tty.h.

#define IRCOMM_TTY_MINOR   0

Definition at line 46 of file ircomm_tty.h.

#define IRCOMM_TTY_PORTS   32

Definition at line 43 of file ircomm_tty.h.

Function Documentation

void ircomm_tty_check_modem_status ( struct ircomm_tty_cb self)

Definition at line 1041 of file ircomm_tty.c.

int ircomm_tty_ioctl ( struct tty_struct tty,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 374 of file ircomm_tty_ioctl.c.

void ircomm_tty_set_termios ( struct tty_struct tty,
struct ktermios old_termios 
)

Definition at line 148 of file ircomm_tty_ioctl.c.

void ircomm_tty_start ( struct tty_struct tty)

Definition at line 1011 of file ircomm_tty.c.

int ircomm_tty_tiocmget ( struct tty_struct tty)

Definition at line 198 of file ircomm_tty_ioctl.c.

int ircomm_tty_tiocmset ( struct tty_struct tty,
unsigned int  set,
unsigned int  clear 
)

Definition at line 223 of file ircomm_tty_ioctl.c.