Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mon_text.c File Reference
#include <linux/kernel.h>
#include <linux/list.h>
#include <linux/usb.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/export.h>
#include <linux/mutex.h>
#include <linux/debugfs.h>
#include <linux/scatterlist.h>
#include <asm/uaccess.h>
#include "usb_mon.h"

Go to the source code of this file.

Data Structures

struct  mon_iso_desc
 
struct  mon_event_text
 
struct  mon_reader_text
 
struct  mon_text_ptr
 

Macros

#define DATA_MAX   32
 
#define SETUP_MAX   8
 
#define EVENT_MAX   (4*PAGE_SIZE / sizeof(struct mon_event_text))
 
#define ISODESC_MAX   5
 
#define PRINTF_DFL   250 /* with 5 ISOs segs */
 
#define SLAB_NAME_SZ   30
 

Functions

int mon_text_add (struct mon_bus *mbus, const struct usb_bus *ubus)
 
void mon_text_del (struct mon_bus *mbus)
 
int __init mon_text_init (void)
 
void mon_text_exit (void)
 

Macro Definition Documentation

#define DATA_MAX   32

Definition at line 24 of file mon_text.c.

#define EVENT_MAX   (4*PAGE_SIZE / sizeof(struct mon_event_text))

Definition at line 37 of file mon_text.c.

#define ISODESC_MAX   5

Definition at line 43 of file mon_text.c.

#define PRINTF_DFL   250 /* with 5 ISOs segs */

Definition at line 45 of file mon_text.c.

#define SETUP_MAX   8

Definition at line 29 of file mon_text.c.

#define SLAB_NAME_SZ   30

Definition at line 76 of file mon_text.c.

Function Documentation

int mon_text_add ( struct mon_bus mbus,
const struct usb_bus *  ubus 
)

Definition at line 666 of file mon_text.c.

void mon_text_del ( struct mon_bus mbus)

Definition at line 721 of file mon_text.c.

void mon_text_exit ( void  )

Definition at line 758 of file mon_text.c.

int __init mon_text_init ( void  )

Definition at line 741 of file mon_text.c.