Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
hvsi_lib.c File Reference
#include <linux/types.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/console.h>
#include <asm/hvsi.h>
#include "hvc_console.h"

Go to the source code of this file.

Functions

int hvsilib_get_chars (struct hvsi_priv *pv, char *buf, int count)
 
int hvsilib_put_chars (struct hvsi_priv *pv, const char *buf, int count)
 
int hvsilib_read_mctrl (struct hvsi_priv *pv)
 
int hvsilib_write_mctrl (struct hvsi_priv *pv, int dtr)
 
void hvsilib_establish (struct hvsi_priv *pv)
 
int hvsilib_open (struct hvsi_priv *pv, struct hvc_struct *hp)
 
void hvsilib_close (struct hvsi_priv *pv, struct hvc_struct *hp)
 
void hvsilib_init (struct hvsi_priv *pv, int(*get_chars)(uint32_t termno, char *buf, int count), int(*put_chars)(uint32_t termno, const char *buf, int count), int termno, int is_console)
 

Function Documentation

void hvsilib_close ( struct hvsi_priv pv,
struct hvc_struct hp 
)

Definition at line 387 of file hvsi_lib.c.

void hvsilib_establish ( struct hvsi_priv pv)

Definition at line 313 of file hvsi_lib.c.

int hvsilib_get_chars ( struct hvsi_priv pv,
char buf,
int  count 
)

Definition at line 181 of file hvsi_lib.c.

void hvsilib_init ( struct hvsi_priv pv,
int(*)(uint32_t termno, char *buf, int count get_chars,
int(*)(uint32_t termno, const char *buf, int count put_chars,
int  termno,
int  is_console 
)

Definition at line 415 of file hvsi_lib.c.

int hvsilib_open ( struct hvsi_priv pv,
struct hvc_struct hp 
)

Definition at line 375 of file hvsi_lib.c.

int hvsilib_put_chars ( struct hvsi_priv pv,
const char buf,
int  count 
)

Definition at line 231 of file hvsi_lib.c.

int hvsilib_read_mctrl ( struct hvsi_priv pv)

Definition at line 257 of file hvsi_lib.c.

int hvsilib_write_mctrl ( struct hvsi_priv pv,
int  dtr 
)

Definition at line 288 of file hvsi_lib.c.