Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
mmc_slot Struct Reference

#include <host.h>

Data Fields

int cd_irq
 
struct mutex lock
 
voidhandler_priv
 

Detailed Description

struct mmc_slot - MMC slot functions

: MMC/SD-card slot hotplug detection IRQ or -EINVAL : protect the pointer : MMC/SD-card slot context

Some MMC/SD host controllers implement slot-functions like card and write-protect detection natively. However, a large number of controllers leave these functions to the CPU. This struct provides a hook to attach such slot-function drivers.

Definition at line 166 of file host.h.

Field Documentation

int cd_irq

Definition at line 167 of file host.h.

void* handler_priv

Definition at line 169 of file host.h.

struct mutex lock

Definition at line 168 of file host.h.


The documentation for this struct was generated from the following file: