drivers/block/sdmmc.c File Reference

SD/MMC block device. More...

#include <assert.h>
#include <bitops.h>
#include <debug.h>
#include <malloc.h>
#include <status-codes.h>
#include <string.h>
#include <workqueue.h>
#include <sdmmc/sdmmc.h>
#include <block/device.h>
#include <block/sdmmc.h>

Include dependency graph for sdmmc.c:

Go to the source code of this file.

Functions

struct block_devicesdmmc_blkdev_init_new (struct sdmmc_slot *slot, void(*event)(struct block_device *blkdev, void *context), void *context)
 Initialize a SD/MMC block device.


Detailed Description

SD/MMC block device.

This is the block device interfaces against the SD/MMC driver

Author:
Atmel Corporation: http://www.atmel.com
Support and FAQ: http://support.atmel.no/

Definition in file sdmmc.c.


Function Documentation

struct block_device* sdmmc_blkdev_init_new ( struct sdmmc_slot slot,
void(*)(struct block_device *blkdev, void *context)  event,
void *  context 
) [read]

Initialize a SD/MMC block device.

Parameters:
slot SD/MMC slot structure
Returns:
A new block device, or NULL if insufficient memory is available.

Definition at line 218 of file sdmmc.c.

References memset(), and sdmmc_probe_init().

Here is the call graph for this function:


Generated on Tue Sep 15 10:19:15 2009 for libavr32 by  doxygen 1.5.8