Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | hvsi_header |
struct | hvsi_data |
struct | hvsi_control |
struct | hvsi_query |
struct | hvsi_query_response |
struct | hvsi_priv |
Macros | |
#define | VS_DATA_PACKET_HEADER 0xff |
#define | VS_CONTROL_PACKET_HEADER 0xfe |
#define | VS_QUERY_PACKET_HEADER 0xfd |
#define | VS_QUERY_RESPONSE_PACKET_HEADER 0xfc |
#define | VSV_SET_MODEM_CTL 1 /* to service processor only */ |
#define | VSV_MODEM_CTL_UPDATE 2 /* from service processor only */ |
#define | VSV_CLOSE_PROTOCOL 3 |
#define | VSV_SEND_VERSION_NUMBER 1 |
#define | VSV_SEND_MODEM_CTL_STATUS 2 |
#define | HVSI_TSDTR 0x01 |
#define | HVSI_TSCD 0x20 |
#define | HVSI_MAX_OUTGOING_DATA 12 |
#define | HVSI_VERSION 1 |
#define | HVSI_INBUF_SIZE 255 |
Functions | |
struct hvsi_header | __attribute__ ((packed)) |
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) |
int | hvsilib_open (struct hvsi_priv *pv, struct hvc_struct *hp) |
void | hvsilib_close (struct hvsi_priv *pv, struct hvc_struct *hp) |
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_get_chars (struct hvsi_priv *pv, char *buf, int count) |
int | hvsilib_put_chars (struct hvsi_priv *pv, const char *buf, int count) |
|
read |
Definition at line 171 of file esd_usb2.c.
void hvsilib_close | ( | struct hvsi_priv * | pv, |
struct hvc_struct * | hp | ||
) |
Definition at line 387 of file hvsi_lib.c.
Definition at line 313 of file hvsi_lib.c.
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.
Definition at line 231 of file hvsi_lib.c.
Definition at line 257 of file hvsi_lib.c.
Definition at line 288 of file hvsi_lib.c.
union { ... } u |