Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
bus.c File Reference
#include <linux/export.h>
#include <linux/device.h>
#include <linux/err.h>
#include <linux/slab.h>
#include <linux/stat.h>
#include <linux/pm_runtime.h>
#include <linux/mmc/card.h>
#include <linux/mmc/host.h>
#include "core.h"
#include "sdio_cis.h"
#include "bus.h"

Go to the source code of this file.

Macros

#define to_mmc_driver(d)   container_of(d, struct mmc_driver, drv)
 

Functions

int mmc_register_bus (void)
 
void mmc_unregister_bus (void)
 
int mmc_register_driver (struct mmc_driver *drv)
 
 EXPORT_SYMBOL (mmc_register_driver)
 
void mmc_unregister_driver (struct mmc_driver *drv)
 
 EXPORT_SYMBOL (mmc_unregister_driver)
 
struct mmc_cardmmc_alloc_card (struct mmc_host *host, struct device_type *type)
 
int mmc_add_card (struct mmc_card *card)
 
void mmc_remove_card (struct mmc_card *card)
 

Macro Definition Documentation

#define to_mmc_driver (   d)    container_of(d, struct mmc_driver, drv)

Definition at line 28 of file bus.c.

Function Documentation

EXPORT_SYMBOL ( mmc_register_driver  )
EXPORT_SYMBOL ( mmc_unregister_driver  )
int mmc_add_card ( struct mmc_card card)

Definition at line 260 of file bus.c.

struct mmc_card* mmc_alloc_card ( struct mmc_host host,
struct device_type type 
)
read

Definition at line 237 of file bus.c.

int mmc_register_bus ( void  )

Definition at line 188 of file bus.c.

int mmc_register_driver ( struct mmc_driver drv)

mmc_register_driver - register a media driver : MMC media driver

Definition at line 202 of file bus.c.

void mmc_remove_card ( struct mmc_card card)

Definition at line 339 of file bus.c.

void mmc_unregister_bus ( void  )

Definition at line 193 of file bus.c.

void mmc_unregister_driver ( struct mmc_driver drv)

mmc_unregister_driver - unregister a media driver : MMC media driver

Definition at line 214 of file bus.c.