Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
slot-gpio.c File Reference
#include <linux/err.h>
#include <linux/gpio.h>
#include <linux/interrupt.h>
#include <linux/jiffies.h>
#include <linux/mmc/host.h>
#include <linux/mmc/slot-gpio.h>
#include <linux/module.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  mmc_gpio
 

Functions

int mmc_gpio_get_ro (struct mmc_host *host)
 
 EXPORT_SYMBOL (mmc_gpio_get_ro)
 
int mmc_gpio_get_cd (struct mmc_host *host)
 
 EXPORT_SYMBOL (mmc_gpio_get_cd)
 
int mmc_gpio_request_ro (struct mmc_host *host, unsigned int gpio)
 
 EXPORT_SYMBOL (mmc_gpio_request_ro)
 
int mmc_gpio_request_cd (struct mmc_host *host, unsigned int gpio)
 
 EXPORT_SYMBOL (mmc_gpio_request_cd)
 
void mmc_gpio_free_ro (struct mmc_host *host)
 
 EXPORT_SYMBOL (mmc_gpio_free_ro)
 
void mmc_gpio_free_cd (struct mmc_host *host)
 
 EXPORT_SYMBOL (mmc_gpio_free_cd)
 

Function Documentation

EXPORT_SYMBOL ( mmc_gpio_get_ro  )
EXPORT_SYMBOL ( mmc_gpio_get_cd  )
EXPORT_SYMBOL ( mmc_gpio_request_ro  )
EXPORT_SYMBOL ( mmc_gpio_request_cd  )
EXPORT_SYMBOL ( mmc_gpio_free_ro  )
EXPORT_SYMBOL ( mmc_gpio_free_cd  )
void mmc_gpio_free_cd ( struct mmc_host host)

Definition at line 176 of file slot-gpio.c.

void mmc_gpio_free_ro ( struct mmc_host host)

Definition at line 161 of file slot-gpio.c.

int mmc_gpio_get_cd ( struct mmc_host host)

Definition at line 77 of file slot-gpio.c.

int mmc_gpio_get_ro ( struct mmc_host host)

Definition at line 65 of file slot-gpio.c.

int mmc_gpio_request_cd ( struct mmc_host host,
unsigned int  gpio 
)

Definition at line 113 of file slot-gpio.c.

int mmc_gpio_request_ro ( struct mmc_host host,
unsigned int  gpio 
)

Definition at line 89 of file slot-gpio.c.