#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/workqueue.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/pci_ids.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <asm/byteorder.h>
#include <linux/sched.h>
#include "sm_common.h"
#include "r852.h"
Go to the source code of this file.
|
| module_param (r852_enable_dma, bool, S_IRUGO) |
|
| MODULE_PARM_DESC (r852_enable_dma,"Enable usage of the DMA (default)") |
|
| module_param (debug, int, S_IRUGO|S_IWUSR) |
|
| MODULE_PARM_DESC (debug,"Debug level (0-2)") |
|
void | r852_write_buf (struct mtd_info *mtd, const uint8_t *buf, int len) |
|
void | r852_read_buf (struct mtd_info *mtd, uint8_t *buf, int len) |
|
void | r852_cmdctl (struct mtd_info *mtd, int dat, unsigned int ctrl) |
|
int | r852_wait (struct mtd_info *mtd, struct nand_chip *chip) |
|
int | r852_ready (struct mtd_info *mtd) |
|
void | r852_ecc_hwctl (struct mtd_info *mtd, int mode) |
|
int | r852_ecc_calculate (struct mtd_info *mtd, const uint8_t *dat, uint8_t *ecc_code) |
|
int | r852_ecc_correct (struct mtd_info *mtd, uint8_t *dat, uint8_t *read_ecc, uint8_t *calc_ecc) |
|
void | r852_engine_enable (struct r852_device *dev) |
|
void | r852_engine_disable (struct r852_device *dev) |
|
void | r852_card_update_present (struct r852_device *dev) |
|
void | r852_update_card_detect (struct r852_device *dev) |
|
ssize_t | r852_media_type_show (struct device *sys_dev, struct device_attribute *attr, char *buf) |
|
| DEVICE_ATTR (media_type, S_IRUGO, r852_media_type_show, NULL) |
|
void | r852_update_media_status (struct r852_device *dev) |
|
int | r852_register_nand_device (struct r852_device *dev) |
|
void | r852_unregister_nand_device (struct r852_device *dev) |
|
void | r852_card_detect_work (struct work_struct *work) |
|
int | r852_probe (struct pci_dev *pci_dev, const struct pci_device_id *id) |
|
void | r852_remove (struct pci_dev *pci_dev) |
|
void | r852_shutdown (struct pci_dev *pci_dev) |
|
| MODULE_DEVICE_TABLE (pci, r852_pci_id_tbl) |
|
| module_pci_driver (r852_pci_driver) |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_AUTHOR ("Maxim Levitsky <[email protected]>") |
|
| MODULE_DESCRIPTION ("Ricoh 85xx xD/smartmedia card reader driver") |
|
#define r852_suspend NULL |
MODULE_DESCRIPTION |
( |
"Ricoh 85xx xD/smartmedia card reader driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
pci |
, |
|
|
r852_pci_id_tbl |
|
|
) |
| |
MODULE_PARM_DESC |
( |
r852_enable_dma |
, |
|
|
"Enable usage of the DMA (default)" |
|
|
) |
| |
module_pci_driver |
( |
r852_pci_driver |
| ) |
|