Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
line.h File Reference
#include <linux/list.h>
#include <linux/workqueue.h>
#include <linux/tty.h>
#include <linux/interrupt.h>
#include <linux/spinlock.h>
#include <linux/mutex.h>
#include "chan_user.h"
#include "mconsole_kern.h"

Go to the source code of this file.

Data Structures

struct  line_driver
 
struct  line
 

Functions

void line_close (struct tty_struct *tty, struct file *filp)
 
int line_open (struct tty_struct *tty, struct file *filp)
 
int line_install (struct tty_driver *driver, struct tty_struct *tty, struct line *line)
 
void line_cleanup (struct tty_struct *tty)
 
void line_hangup (struct tty_struct *tty)
 
int line_setup (char **conf, unsigned nlines, char **def, char *init, char *name)
 
int line_write (struct tty_struct *tty, const unsigned char *buf, int len)
 
int line_put_char (struct tty_struct *tty, unsigned char ch)
 
void line_set_termios (struct tty_struct *tty, struct ktermios *old)
 
int line_chars_in_buffer (struct tty_struct *tty)
 
void line_flush_buffer (struct tty_struct *tty)
 
void line_flush_chars (struct tty_struct *tty)
 
int line_write_room (struct tty_struct *tty)
 
void line_throttle (struct tty_struct *tty)
 
void line_unthrottle (struct tty_struct *tty)
 
charadd_xterm_umid (char *base)
 
int line_setup_irq (int fd, int input, int output, struct line *line, void *data)
 
void line_close_chan (struct line *line)
 
int register_lines (struct line_driver *line_driver, const struct tty_operations *driver, struct line *lines, int nlines)
 
int setup_one_line (struct line *lines, int n, char *init, const struct chan_opts *opts, char **error_out)
 
void close_lines (struct line *lines, int nlines)
 
int line_config (struct line *lines, unsigned int sizeof_lines, char *str, const struct chan_opts *opts, char **error_out)
 
int line_id (char **str, int *start_out, int *end_out)
 
int line_remove (struct line *lines, unsigned int sizeof_lines, int n, char **error_out)
 
int line_get_config (char *dev, struct line *lines, unsigned int sizeof_lines, char *str, int size, char **error_out)
 

Function Documentation

char* add_xterm_umid ( char base)

Definition at line 745 of file line.c.

void close_lines ( struct line lines,
int  nlines 
)

Definition at line 370 of file line.c.

int line_chars_in_buffer ( struct tty_struct tty)

Definition at line 63 of file line.c.

void line_cleanup ( struct tty_struct tty)

Definition at line 346 of file line.c.

void line_close ( struct tty_struct tty,
struct file filp 
)

Definition at line 356 of file line.c.

void line_close_chan ( struct line line)
int line_config ( struct line lines,
unsigned int  sizeof_lines,
char str,
const struct chan_opts opts,
char **  error_out 
)

Definition at line 470 of file line.c.

void line_flush_buffer ( struct tty_struct tty)

Definition at line 168 of file line.c.

void line_flush_chars ( struct tty_struct tty)

Definition at line 182 of file line.c.

int line_get_config ( char dev,
struct line lines,
unsigned int  sizeof_lines,
char str,
int  size,
char **  error_out 
)

Definition at line 494 of file line.c.

void line_hangup ( struct tty_struct tty)

Definition at line 363 of file line.c.

int line_id ( char **  str,
int start_out,
int end_out 
)

Definition at line 529 of file line.c.

int line_install ( struct tty_driver driver,
struct tty_struct tty,
struct line line 
)

Definition at line 330 of file line.c.

int line_open ( struct tty_struct tty,
struct file filp 
)

Definition at line 323 of file line.c.

int line_put_char ( struct tty_struct tty,
unsigned char  ch 
)

Definition at line 187 of file line.c.

int line_remove ( struct line lines,
unsigned int  sizeof_lines,
int  n,
char **  error_out 
)

Definition at line 544 of file line.c.

void line_set_termios ( struct tty_struct tty,
struct ktermios old 
)

Definition at line 219 of file line.c.

int line_setup ( char **  conf,
unsigned  nlines,
char **  def,
char init,
char name 
)
int line_setup_irq ( int  fd,
int  input,
int  output,
struct line line,
void data 
)

Definition at line 281 of file line.c.

void line_throttle ( struct tty_struct tty)

Definition at line 224 of file line.c.

void line_unthrottle ( struct tty_struct tty)

Definition at line 232 of file line.c.

int line_write ( struct tty_struct tty,
const unsigned char buf,
int  len 
)

Definition at line 192 of file line.c.

int line_write_room ( struct tty_struct tty)

Definition at line 50 of file line.c.

int register_lines ( struct line_driver line_driver,
const struct tty_operations driver,
struct line lines,
int  nlines 
)

Definition at line 553 of file line.c.

int setup_one_line ( struct line lines,
int  n,
char init,
const struct chan_opts opts,
char **  error_out 
)

Definition at line 378 of file line.c.