Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tmio_mmc.h File Reference
#include <linux/highmem.h>
#include <linux/mmc/tmio.h>
#include <linux/mutex.h>
#include <linux/pagemap.h>
#include <linux/scatterlist.h>
#include <linux/spinlock.h>

Go to the source code of this file.

Data Structures

struct  tmio_mmc_host
 

Macros

#define TMIO_SDIO_STAT_IOIRQ   0x0001
 
#define TMIO_SDIO_STAT_EXPUB52   0x4000
 
#define TMIO_SDIO_STAT_EXWT   0x8000
 
#define TMIO_SDIO_MASK_ALL   0xc007
 
#define TMIO_MASK_ALL   0x837f031d
 
#define TMIO_MASK_READOP   (TMIO_STAT_RXRDY | TMIO_STAT_DATAEND)
 
#define TMIO_MASK_WRITEOP   (TMIO_STAT_TXRQ | TMIO_STAT_DATAEND)
 
#define TMIO_MASK_CMD
 
#define TMIO_MASK_IRQ   (TMIO_MASK_READOP | TMIO_MASK_WRITEOP | TMIO_MASK_CMD)
 
#define tmio_mmc_host_suspend   NULL
 
#define tmio_mmc_host_resume   NULL
 

Functions

int tmio_mmc_host_probe (struct tmio_mmc_host **host, struct platform_device *pdev, struct tmio_mmc_data *pdata)
 
void tmio_mmc_host_remove (struct tmio_mmc_host *host)
 
void tmio_mmc_do_data_irq (struct tmio_mmc_host *host)
 
void tmio_mmc_enable_mmc_irqs (struct tmio_mmc_host *host, u32 i)
 
void tmio_mmc_disable_mmc_irqs (struct tmio_mmc_host *host, u32 i)
 
irqreturn_t tmio_mmc_irq (int irq, void *devid)
 
irqreturn_t tmio_mmc_sdcard_irq (int irq, void *devid)
 
irqreturn_t tmio_mmc_card_detect_irq (int irq, void *devid)
 
irqreturn_t tmio_mmc_sdio_irq (int irq, void *devid)
 
int tmio_mmc_host_runtime_suspend (struct device *dev)
 
int tmio_mmc_host_runtime_resume (struct device *dev)
 

Macro Definition Documentation

#define TMIO_MASK_ALL   0x837f031d

Definition at line 34 of file tmio_mmc.h.

#define TMIO_MASK_CMD
Value:

Definition at line 37 of file tmio_mmc.h.

#define TMIO_MASK_IRQ   (TMIO_MASK_READOP | TMIO_MASK_WRITEOP | TMIO_MASK_CMD)

Definition at line 39 of file tmio_mmc.h.

#define TMIO_MASK_READOP   (TMIO_STAT_RXRDY | TMIO_STAT_DATAEND)

Definition at line 35 of file tmio_mmc.h.

#define TMIO_MASK_WRITEOP   (TMIO_STAT_TXRQ | TMIO_STAT_DATAEND)

Definition at line 36 of file tmio_mmc.h.

#define tmio_mmc_host_resume   NULL

Definition at line 154 of file tmio_mmc.h.

#define tmio_mmc_host_suspend   NULL

Definition at line 153 of file tmio_mmc.h.

#define TMIO_SDIO_MASK_ALL   0xc007

Definition at line 30 of file tmio_mmc.h.

#define TMIO_SDIO_STAT_EXPUB52   0x4000

Definition at line 28 of file tmio_mmc.h.

#define TMIO_SDIO_STAT_EXWT   0x8000

Definition at line 29 of file tmio_mmc.h.

#define TMIO_SDIO_STAT_IOIRQ   0x0001

Definition at line 27 of file tmio_mmc.h.

Function Documentation

irqreturn_t tmio_mmc_card_detect_irq ( int  irq,
void devid 
)

Definition at line 585 of file tmio_mmc_pio.c.

void tmio_mmc_disable_mmc_irqs ( struct tmio_mmc_host host,
u32  i 
)

Definition at line 58 of file tmio_mmc_pio.c.

void tmio_mmc_do_data_irq ( struct tmio_mmc_host host)

Definition at line 412 of file tmio_mmc_pio.c.

void tmio_mmc_enable_mmc_irqs ( struct tmio_mmc_host host,
u32  i 
)

Definition at line 52 of file tmio_mmc_pio.c.

int tmio_mmc_host_probe ( struct tmio_mmc_host **  host,
struct platform_device pdev,
struct tmio_mmc_data pdata 
)

Definition at line 921 of file tmio_mmc_pio.c.

void tmio_mmc_host_remove ( struct tmio_mmc_host host)

Definition at line 1060 of file tmio_mmc_pio.c.

int tmio_mmc_host_runtime_resume ( struct device dev)

Definition at line 1126 of file tmio_mmc_pio.c.

int tmio_mmc_host_runtime_suspend ( struct device dev)

Definition at line 1120 of file tmio_mmc_pio.c.

irqreturn_t tmio_mmc_irq ( int  irq,
void devid 
)

Definition at line 660 of file tmio_mmc_pio.c.

irqreturn_t tmio_mmc_sdcard_irq ( int  irq,
void devid 
)

Definition at line 626 of file tmio_mmc_pio.c.

irqreturn_t tmio_mmc_sdio_irq ( int  irq,
void devid 
)

Definition at line 638 of file tmio_mmc_pio.c.