Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
msm_smd_pkt.c File Reference
#include <linux/slab.h>
#include <linux/cdev.h>
#include <linux/module.h>
#include <linux/fs.h>
#include <linux/device.h>
#include <linux/sched.h>
#include <linux/mutex.h>
#include <linux/delay.h>
#include <linux/uaccess.h>
#include <linux/workqueue.h>
#include <linux/poll.h>
#include <mach/msm_smd.h>

Go to the source code of this file.

Data Structures

struct  smd_pkt_dev
 

Macros

#define NUM_SMD_PKT_PORTS   9
 
#define DEVICE_NAME   "smdpkt"
 
#define MAX_BUF_SIZE   2048
 
#define D_DUMP_BUFFER(prestr, cnt, buf)   do {} while (0)
 
#define DBG(x...)   do {} while (0)
 

Functions

 module_param_named (debug_enable, msm_smd_pkt_debug_enable, int, S_IRUGO|S_IWUSR|S_IWGRP)
 
 module_init (smd_pkt_init)
 
 module_exit (smd_pkt_cleanup)
 
 MODULE_DESCRIPTION ("MSM Shared Memory Packet Port")
 
 MODULE_LICENSE ("GPL v2")
 

Variables

struct smd_pkt_devsmd_pkt_devp [NUM_SMD_PKT_PORTS]
 
struct classsmd_pkt_classp
 

Macro Definition Documentation

#define D_DUMP_BUFFER (   prestr,
  cnt,
  buf 
)    do {} while (0)

Definition at line 78 of file msm_smd_pkt.c.

#define DBG (   x...)    do {} while (0)

Definition at line 87 of file msm_smd_pkt.c.

#define DEVICE_NAME   "smdpkt"

Definition at line 37 of file msm_smd_pkt.c.

#define MAX_BUF_SIZE   2048

Definition at line 38 of file msm_smd_pkt.c.

#define NUM_SMD_PKT_PORTS   9

Definition at line 36 of file msm_smd_pkt.c.

Function Documentation

MODULE_DESCRIPTION ( "MSM Shared Memory Packet Port"  )
module_exit ( smd_pkt_cleanup  )
module_init ( smd_pkt_init  )
MODULE_LICENSE ( "GPL v2 )
module_param_named ( debug_enable  ,
msm_smd_pkt_debug_enable  ,
int  ,
S_IRUGO|S_IWUSR S_IWGRP 
)

Variable Documentation

struct class* smd_pkt_classp

Definition at line 60 of file msm_smd_pkt.c.