Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
tty_operations Struct Reference

#include <tty_driver.h>

Data Fields

struct tty_struct *(* lookup )(struct tty_driver *driver, struct inode *inode, int idx)
 
int(* install )(struct tty_driver *driver, struct tty_struct *tty)
 
void(* remove )(struct tty_driver *driver, struct tty_struct *tty)
 
int(* open )(struct tty_struct *tty, struct file *filp)
 
void(* close )(struct tty_struct *tty, struct file *filp)
 
void(* shutdown )(struct tty_struct *tty)
 
void(* cleanup )(struct tty_struct *tty)
 
int(* write )(struct tty_struct *tty, const unsigned char *buf, int count)
 
int(* put_char )(struct tty_struct *tty, unsigned char ch)
 
void(* flush_chars )(struct tty_struct *tty)
 
int(* write_room )(struct tty_struct *tty)
 
int(* chars_in_buffer )(struct tty_struct *tty)
 
int(* ioctl )(struct tty_struct *tty, unsigned int cmd, unsigned long arg)
 
long(* compat_ioctl )(struct tty_struct *tty, unsigned int cmd, unsigned long arg)
 
void(* set_termios )(struct tty_struct *tty, struct ktermios *old)
 
void(* throttle )(struct tty_struct *tty)
 
void(* unthrottle )(struct tty_struct *tty)
 
void(* stop )(struct tty_struct *tty)
 
void(* start )(struct tty_struct *tty)
 
void(* hangup )(struct tty_struct *tty)
 
int(* break_ctl )(struct tty_struct *tty, int state)
 
void(* flush_buffer )(struct tty_struct *tty)
 
void(* set_ldisc )(struct tty_struct *tty)
 
void(* wait_until_sent )(struct tty_struct *tty, int timeout)
 
void(* send_xchar )(struct tty_struct *tty, char ch)
 
int(* tiocmget )(struct tty_struct *tty)
 
int(* tiocmset )(struct tty_struct *tty, unsigned int set, unsigned int clear)
 
int(* resize )(struct tty_struct *tty, struct winsize *ws)
 
int(* set_termiox )(struct tty_struct *tty, struct termiox *tnew)
 
int(* get_icount )(struct tty_struct *tty, struct serial_icounter_struct *icount)
 
struct file_operationsproc_fops
 

Detailed Description

Definition at line 244 of file tty_driver.h.

Field Documentation

int(* break_ctl)(struct tty_struct *tty, int state)

Definition at line 269 of file tty_driver.h.

int(* chars_in_buffer)(struct tty_struct *tty)

Definition at line 258 of file tty_driver.h.

void(* cleanup)(struct tty_struct *tty)

Definition at line 252 of file tty_driver.h.

void(* close)(struct tty_struct *tty, struct file *filp)

Definition at line 250 of file tty_driver.h.

long(* compat_ioctl)(struct tty_struct *tty, unsigned int cmd, unsigned long arg)

Definition at line 261 of file tty_driver.h.

void(* flush_buffer)(struct tty_struct *tty)

Definition at line 270 of file tty_driver.h.

void(* flush_chars)(struct tty_struct *tty)

Definition at line 256 of file tty_driver.h.

int(* get_icount)(struct tty_struct *tty, struct serial_icounter_struct *icount)

Definition at line 279 of file tty_driver.h.

void(* hangup)(struct tty_struct *tty)

Definition at line 268 of file tty_driver.h.

Definition at line 247 of file tty_driver.h.

int(* ioctl)(struct tty_struct *tty, unsigned int cmd, unsigned long arg)

Definition at line 259 of file tty_driver.h.

Definition at line 245 of file tty_driver.h.

int(* open)(struct tty_struct *tty, struct file *filp)

Definition at line 249 of file tty_driver.h.

struct file_operations* proc_fops

Definition at line 286 of file tty_driver.h.

int(* put_char)(struct tty_struct *tty, unsigned char ch)

Definition at line 255 of file tty_driver.h.

Definition at line 248 of file tty_driver.h.

int(* resize)(struct tty_struct *tty, struct winsize *ws)

Definition at line 277 of file tty_driver.h.

void(* send_xchar)(struct tty_struct *tty, char ch)

Definition at line 273 of file tty_driver.h.

void(* set_ldisc)(struct tty_struct *tty)

Definition at line 271 of file tty_driver.h.

void(* set_termios)(struct tty_struct *tty, struct ktermios *old)

Definition at line 263 of file tty_driver.h.

int(* set_termiox)(struct tty_struct *tty, struct termiox *tnew)

Definition at line 278 of file tty_driver.h.

void(* shutdown)(struct tty_struct *tty)

Definition at line 251 of file tty_driver.h.

void(* start)(struct tty_struct *tty)

Definition at line 267 of file tty_driver.h.

void(* stop)(struct tty_struct *tty)

Definition at line 266 of file tty_driver.h.

void(* throttle)(struct tty_struct *tty)

Definition at line 264 of file tty_driver.h.

int(* tiocmget)(struct tty_struct *tty)

Definition at line 274 of file tty_driver.h.

int(* tiocmset)(struct tty_struct *tty, unsigned int set, unsigned int clear)

Definition at line 275 of file tty_driver.h.

void(* unthrottle)(struct tty_struct *tty)

Definition at line 265 of file tty_driver.h.

void(* wait_until_sent)(struct tty_struct *tty, int timeout)

Definition at line 272 of file tty_driver.h.

int(* write)(struct tty_struct *tty, const unsigned char *buf, int count)

Definition at line 253 of file tty_driver.h.

int(* write_room)(struct tty_struct *tty)

Definition at line 257 of file tty_driver.h.


The documentation for this struct was generated from the following file: