Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
gpmi-nand.c File Reference
#include <linux/clk.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/module.h>
#include <linux/mtd/gpmi-nand.h>
#include <linux/mtd/partitions.h>
#include <linux/pinctrl/consumer.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/of_mtd.h>
#include "gpmi-nand.h"

Go to the source code of this file.

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 

Functions

int common_nfc_set_geometry (struct gpmi_nand_data *this)
 
struct dma_changet_dma_chan (struct gpmi_nand_data *this)
 
void prepare_data_dma (struct gpmi_nand_data *this, enum dma_data_direction dr)
 
int start_dma_without_bch_irq (struct gpmi_nand_data *this, struct dma_async_tx_descriptor *desc)
 
int start_dma_with_bch_irq (struct gpmi_nand_data *this, struct dma_async_tx_descriptor *desc)
 
 MODULE_DEVICE_TABLE (of, gpmi_nand_id_table)
 
 module_platform_driver (gpmi_nand_driver)
 
 MODULE_AUTHOR ("Freescale Semiconductor, Inc.")
 
 MODULE_DESCRIPTION ("i.MX GPMI NAND Flash Controller Driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 22 of file gpmi-nand.c.

Function Documentation

int common_nfc_set_geometry ( struct gpmi_nand_data this)

Definition at line 92 of file gpmi-nand.c.

struct dma_chan* get_dma_chan ( struct gpmi_nand_data this)
read

Definition at line 197 of file gpmi-nand.c.

MODULE_AUTHOR ( "Freescale  Semiconductor,
Inc."   
)
MODULE_DESCRIPTION ( "i.MX GPMI NAND Flash Controller Driver"  )
MODULE_DEVICE_TABLE ( of  ,
gpmi_nand_id_table   
)
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( gpmi_nand_driver  )
void prepare_data_dma ( struct gpmi_nand_data this,
enum dma_data_direction  dr 
)

Definition at line 205 of file gpmi-nand.c.

int start_dma_with_bch_irq ( struct gpmi_nand_data this,
struct dma_async_tx_descriptor desc 
)

Definition at line 295 of file gpmi-nand.c.

int start_dma_without_bch_irq ( struct gpmi_nand_data this,
struct dma_async_tx_descriptor desc 
)

Definition at line 265 of file gpmi-nand.c.