Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
sdio_irq.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/kthread.h>
#include <linux/export.h>
#include <linux/wait.h>
#include <linux/delay.h>
#include <linux/mmc/core.h>
#include <linux/mmc/host.h>
#include <linux/mmc/card.h>
#include <linux/mmc/sdio.h>
#include <linux/mmc/sdio_func.h>
#include "sdio_ops.h"

Go to the source code of this file.

Functions

int sdio_claim_irq (struct sdio_func *func, sdio_irq_handler_t *handler)
 
 EXPORT_SYMBOL_GPL (sdio_claim_irq)
 
int sdio_release_irq (struct sdio_func *func)
 
 EXPORT_SYMBOL_GPL (sdio_release_irq)
 

Function Documentation

EXPORT_SYMBOL_GPL ( sdio_claim_irq  )
EXPORT_SYMBOL_GPL ( sdio_release_irq  )
int sdio_claim_irq ( struct sdio_func func,
sdio_irq_handler_t handler 
)

sdio_claim_irq - claim the IRQ for a SDIO function : SDIO function : IRQ handler callback

Claim and activate the IRQ for the given SDIO function. The provided handler will be called when that IRQ is asserted. The host is always claimed already when the handler is called so the handler must not call sdio_claim_host() nor sdio_release_host().

Definition at line 238 of file sdio_irq.c.

int sdio_release_irq ( struct sdio_func func)

sdio_release_irq - release the IRQ for a SDIO function : SDIO function

Disable and release the IRQ for the given SDIO function.

Definition at line 281 of file sdio_irq.c.