#include <linux/moduleparam.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/errno.h>
#include <linux/hdreg.h>
#include <linux/kdev_t.h>
#include <linux/blkdev.h>
#include <linux/mutex.h>
#include <linux/scatterlist.h>
#include <linux/string_helpers.h>
#include <linux/delay.h>
#include <linux/capability.h>
#include <linux/compat.h>
#include <linux/mmc/ioctl.h>
#include <linux/mmc/card.h>
#include <linux/mmc/host.h>
#include <linux/mmc/mmc.h>
#include <linux/mmc/sd.h>
#include <asm/uaccess.h>
#include "queue.h"
Go to the source code of this file.
#define CID_MANFID_MICRON 0x13 |
#define CID_MANFID_SAMSUNG 0x15 |
#define CID_MANFID_SANDISK 0x2 |
#define CID_MANFID_TOSHIBA 0x11 |
Value:
R1_ADDRESS_ERROR | \
R1_BLOCK_LEN_ERROR | \
R1_WP_VIOLATION | \
R1_CC_ERROR | \
R1_ERROR)
Definition at line 978 of file block.c.
#define INAND_CMD38_ARG_ERASE 0x00 |
#define INAND_CMD38_ARG_EXT_CSD 113 |
#define INAND_CMD38_ARG_SECERASE 0x80 |
#define INAND_CMD38_ARG_SECTRIM1 0x81 |
#define INAND_CMD38_ARG_SECTRIM2 0x88 |
#define INAND_CMD38_ARG_TRIM 0x01 |
#define MMC_BLK_CMD23 (1 << 0) /* Can do SET_BLOCK_COUNT for multiblock */ |
#define MMC_BLK_DISCARD BIT(2) |
#define MMC_BLK_READ BIT(0) |
#define mmc_blk_resume NULL |
#define MMC_BLK_SECDISCARD BIT(3) |
#define mmc_blk_suspend NULL |
#define MMC_BLK_WRITE BIT(1) |
#define MODULE_PARAM_PREFIX "mmcblk." |
- Enumerator:
MMC_BLK_SUCCESS |
|
MMC_BLK_PARTIAL |
|
MMC_BLK_CMD_ERR |
|
MMC_BLK_RETRY |
|
MMC_BLK_ABORT |
|
MMC_BLK_DATA_ERR |
|
MMC_BLK_ECC_ERR |
|
MMC_BLK_NOMEDIUM |
|
Definition at line 115 of file block.c.
MODULE_ALIAS |
( |
"mmc:block" |
| ) |
|
module_exit |
( |
mmc_blk_exit |
| ) |
|
module_init |
( |
mmc_blk_init |
| ) |
|
module_param |
( |
perdev_minors |
, |
|
|
int |
, |
|
|
0444 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
perdev_minors |
, |
|
|
"Minors numbers to allocate per device" |
|
|
) |
| |