Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cpcmd.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/stddef.h>
#include <linux/string.h>
#include <asm/ebcdic.h>
#include <asm/cpcmd.h>
#include <asm/io.h>

Go to the source code of this file.

Macros

#define KMSG_COMPONENT   "cpcmd"
 
#define pr_fmt(fmt)   KMSG_COMPONENT ": " fmt
 

Functions

int __cpcmd (const char *cmd, char *response, int rlen, int *response_code)
 
 EXPORT_SYMBOL (__cpcmd)
 
int cpcmd (const char *cmd, char *response, int rlen, int *response_code)
 
 EXPORT_SYMBOL (cpcmd)
 

Macro Definition Documentation

#define KMSG_COMPONENT   "cpcmd"

Definition at line 8 of file cpcmd.c.

#define pr_fmt (   fmt)    KMSG_COMPONENT ": " fmt

Definition at line 9 of file cpcmd.c.

Function Documentation

int __cpcmd ( const char cmd,
char response,
int  rlen,
int response_code 
)

Definition at line 72 of file cpcmd.c.

int cpcmd ( const char cmd,
char response,
int  rlen,
int response_code 
)

Definition at line 97 of file cpcmd.c.

EXPORT_SYMBOL ( __cpcmd  )
EXPORT_SYMBOL ( cpcmd  )