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

Go to the source code of this file.

Data Structures

struct  chan
 

Functions

void chan_interrupt (struct line *line, struct tty_struct *tty, int irq)
 
int parse_chan_pair (char *str, struct line *line, int device, const struct chan_opts *opts, char **error_out)
 
int write_chan (struct chan *chan, const char *buf, int len, int write_irq)
 
int console_write_chan (struct chan *chan, const char *buf, int len)
 
int console_open_chan (struct line *line, struct console *co)
 
void deactivate_chan (struct chan *chan, int irq)
 
void reactivate_chan (struct chan *chan, int irq)
 
void chan_enable_winch (struct chan *chan, struct tty_struct *tty)
 
int enable_chan (struct line *line)
 
void close_chan (struct line *line)
 
int chan_window_size (struct line *line, unsigned short *rows_out, unsigned short *cols_out)
 
int chan_config_string (struct line *line, char *str, int size, char **error_out)
 

Function Documentation

int chan_config_string ( struct line line,
char str,
int  size,
char **  error_out 
)

Definition at line 414 of file chan_kern.c.

void chan_enable_winch ( struct chan chan,
struct tty_struct tty 
)

Definition at line 144 of file chan_kern.c.

void chan_interrupt ( struct line line,
struct tty_struct tty,
int  irq 
)

Definition at line 568 of file chan_kern.c.

int chan_window_size ( struct line line,
unsigned short rows_out,
unsigned short cols_out 
)

Definition at line 321 of file chan_kern.c.

void close_chan ( struct line line)

Definition at line 252 of file chan_kern.c.

int console_open_chan ( struct line line,
struct console co 
)

Definition at line 308 of file chan_kern.c.

int console_write_chan ( struct chan chan,
const char buf,
int  len 
)

Definition at line 295 of file chan_kern.c.

void deactivate_chan ( struct chan chan,
int  irq 
)

Definition at line 266 of file chan_kern.c.

int enable_chan ( struct line line)

Definition at line 160 of file chan_kern.c.

int parse_chan_pair ( char str,
struct line line,
int  device,
const struct chan_opts opts,
char **  error_out 
)

Definition at line 518 of file chan_kern.c.

void reactivate_chan ( struct chan chan,
int  irq 
)

Definition at line 272 of file chan_kern.c.

int write_chan ( struct chan chan,
const char buf,
int  len,
int  write_irq 
)

Definition at line 278 of file chan_kern.c.