Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
message.c File Reference
#include <linux/sched.h>
#include "includes.h"
#include "hardware.h"
#include "message.h"
#include "card.h"

Go to the source code of this file.

Functions

int receivemessage (int card, RspMessage *rspmsg)
 
int sendmessage (int card, unsigned int procid, unsigned int type, unsigned int class, unsigned int code, unsigned int link, unsigned int data_len, unsigned int *data)
 
int send_and_receive (int card, unsigned int procid, unsigned char type, unsigned char class, unsigned char code, unsigned char link, unsigned char data_len, unsigned char *data, RspMessage *mesgdata, int timeout)
 

Function Documentation

int receivemessage ( int  card,
RspMessage rspmsg 
)

Definition at line 28 of file message.c.

int send_and_receive ( int  card,
unsigned int  procid,
unsigned char  type,
unsigned char  class,
unsigned char  code,
unsigned char  link,
unsigned char  data_len,
unsigned char data,
RspMessage mesgdata,
int  timeout 
)

Definition at line 168 of file message.c.

int sendmessage ( int  card,
unsigned int  procid,
unsigned int  type,
unsigned int  class,
unsigned int  code,
unsigned int  link,
unsigned int  data_len,
unsigned int data 
)

Definition at line 83 of file message.c.