Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
mmc_test.c File Reference
#include <linux/mmc/core.h>
#include <linux/mmc/card.h>
#include <linux/mmc/host.h>
#include <linux/mmc/mmc.h>
#include <linux/slab.h>
#include <linux/scatterlist.h>
#include <linux/swap.h>
#include <linux/list.h>
#include <linux/debugfs.h>
#include <linux/uaccess.h>
#include <linux/seq_file.h>
#include <linux/module.h>

Go to the source code of this file.

Data Structures

struct  mmc_test_pages
 
struct  mmc_test_mem
 
struct  mmc_test_area
 
struct  mmc_test_transfer_result
 
struct  mmc_test_general_result
 
struct  mmc_test_dbgfs_file
 
struct  mmc_test_card
 
struct  mmc_test_multiple_rw
 
struct  mmc_test_async_req
 
struct  mmc_test_case
 

Macros

#define RESULT_OK   0
 
#define RESULT_FAIL   1
 
#define RESULT_UNSUP_HOST   2
 
#define RESULT_UNSUP_CARD   3
 
#define BUFFER_ORDER   2
 
#define BUFFER_SIZE   (PAGE_SIZE << BUFFER_ORDER)
 
#define TEST_AREA_MAX_SIZE   (128 * 1024 * 1024)
 

Enumerations

enum  mmc_test_prep_media { MMC_TEST_PREP_NONE = 0, MMC_TEST_PREP_WRITE_FULL = 1 << 0, MMC_TEST_PREP_ERASE = 1 << 1 }
 

Functions

 module_init (mmc_test_init)
 
 module_exit (mmc_test_exit)
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("Multimedia Card (MMC) host test driver")
 
 MODULE_AUTHOR ("Pierre Ossman")
 

Macro Definition Documentation

#define BUFFER_ORDER   2

Definition at line 32 of file mmc_test.c.

#define BUFFER_SIZE   (PAGE_SIZE << BUFFER_ORDER)

Definition at line 33 of file mmc_test.c.

#define RESULT_FAIL   1

Definition at line 28 of file mmc_test.c.

#define RESULT_OK   0

Definition at line 27 of file mmc_test.c.

#define RESULT_UNSUP_CARD   3

Definition at line 30 of file mmc_test.c.

#define RESULT_UNSUP_HOST   2

Definition at line 29 of file mmc_test.c.

#define TEST_AREA_MAX_SIZE   (128 * 1024 * 1024)

Definition at line 39 of file mmc_test.c.

Enumeration Type Documentation

Enumerator:
MMC_TEST_PREP_NONE 
MMC_TEST_PREP_WRITE_FULL 
MMC_TEST_PREP_ERASE 

Definition at line 152 of file mmc_test.c.

Function Documentation

MODULE_AUTHOR ( "Pierre Ossman"  )
MODULE_DESCRIPTION ( "Multimedia Card (MMC) host test driver )
module_exit ( mmc_test_exit  )
module_init ( mmc_test_init  )
MODULE_LICENSE ( "GPL"  )