Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
tty.c File Reference
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/mutex.h>
#include <linux/ppp_defs.h>
#include <linux/if.h>
#include <linux/ppp-ioctl.h>
#include <linux/sched.h>
#include <linux/serial.h>
#include <linux/slab.h>
#include <linux/tty.h>
#include <linux/tty_driver.h>
#include <linux/tty_flip.h>
#include <linux/uaccess.h>
#include "tty.h"
#include "network.h"
#include "hardware.h"
#include "main.h"

Go to the source code of this file.

Data Structures

struct  ipw_tty
 

Macros

#define IPWIRELESS_PCMCIA_START   (0)
 
#define IPWIRELESS_PCMCIA_MINORS   (24)
 
#define IPWIRELESS_PCMCIA_MINOR_RANGE   (8)
 
#define TTYTYPE_MODEM   (0)
 
#define TTYTYPE_MONITOR   (1)
 
#define TTYTYPE_RAS_RAW   (2)
 

Functions

void ipwireless_tty_received (struct ipw_tty *tty, unsigned char *data, unsigned int length)
 
struct ipw_ttyipwireless_tty_create (struct ipw_hardware *hardware, struct ipw_network *network)
 
void ipwireless_tty_free (struct ipw_tty *tty)
 
int ipwireless_tty_init (void)
 
void ipwireless_tty_release (void)
 
int ipwireless_tty_is_modem (struct ipw_tty *tty)
 
void ipwireless_tty_notify_control_line_change (struct ipw_tty *tty, unsigned int channel_idx, unsigned int control_lines, unsigned int changed_mask)
 

Variables

struct ipw_tty __attribute__
 

Macro Definition Documentation

#define IPWIRELESS_PCMCIA_MINOR_RANGE   (8)

Definition at line 40 of file tty.c.

#define IPWIRELESS_PCMCIA_MINORS   (24)

Definition at line 39 of file tty.c.

#define IPWIRELESS_PCMCIA_START   (0)

Definition at line 38 of file tty.c.

#define TTYTYPE_MODEM   (0)

Definition at line 42 of file tty.c.

#define TTYTYPE_MONITOR   (1)

Definition at line 43 of file tty.c.

#define TTYTYPE_RAS_RAW   (2)

Definition at line 44 of file tty.c.

Function Documentation

struct ipw_tty* ipwireless_tty_create ( struct ipw_hardware hardware,
struct ipw_network network 
)
read

Definition at line 495 of file tty.c.

void ipwireless_tty_free ( struct ipw_tty tty)

Definition at line 539 of file tty.c.

int ipwireless_tty_init ( void  )

Definition at line 588 of file tty.c.

int ipwireless_tty_is_modem ( struct ipw_tty tty)

Definition at line 631 of file tty.c.

void ipwireless_tty_notify_control_line_change ( struct ipw_tty tty,
unsigned int  channel_idx,
unsigned int  control_lines,
unsigned int  changed_mask 
)

Definition at line 637 of file tty.c.

void ipwireless_tty_received ( struct ipw_tty tty,
unsigned char data,
unsigned int  length 
)

Definition at line 160 of file tty.c.

void ipwireless_tty_release ( void  )

Definition at line 620 of file tty.c.

Variable Documentation