Linux Kernel
3.7.1
|
#include "csr_result.h"
Go to the source code of this file.
Data Structures | |
struct | CsrSdioFunctionId |
struct | CsrSdioFunction |
struct | CsrSdioFunctionDriver |
Macros | |
#define | CSR_SDIO_RESULT_INVALID_VALUE ((CsrResult) 1) /* Invalid argument value */ |
#define | CSR_SDIO_RESULT_NO_DEVICE ((CsrResult) 2) /* The specified device is no longer present */ |
#define | CSR_SDIO_RESULT_CRC_ERROR ((CsrResult) 3) /* The transmitted/received data or command response contained a CRC error */ |
#define | CSR_SDIO_RESULT_TIMEOUT ((CsrResult) 4) /* No command response or data received from device, or function enable/disable did not succeed within timeout period */ |
#define | CSR_SDIO_RESULT_NOT_RESET ((CsrResult) 5) /* The device was not reset */ |
#define | CSR_SDIO_FEATURE_BYTE_MODE 0x00000001 /* Transfer sizes do not have to be a multiple of block size */ |
#define | CSR_SDIO_FEATURE_DMA_CAPABLE_MEM_REQUIRED 0x00000002 /* Bulk operations require DMA friendly memory */ |
#define | CSR_SDIO_ANY_MANF_ID 0xFFFF |
#define | CSR_SDIO_ANY_CARD_ID 0xFFFF |
#define | CSR_SDIO_ANY_SDIO_FUNCTION 0xFF |
#define | CSR_SDIO_ANY_SDIO_INTERFACE 0xFF |
Typedefs | |
typedef void(* | CsrSdioInsertedCallback )(CsrSdioFunction *function) |
typedef void(* | CsrSdioRemovedCallback )(CsrSdioFunction *function) |
typedef void(* | CsrSdioInterruptDsrCallback )(CsrSdioFunction *function) |
typedef CsrSdioInterruptDsrCallback(* | CsrSdioInterruptCallback )(CsrSdioFunction *function) |
typedef void(* | CsrSdioSuspendCallback )(CsrSdioFunction *function) |
typedef void(* | CsrSdioResumeCallback )(CsrSdioFunction *function) |
typedef void(* | CsrSdioAsyncDsrCallback )(CsrSdioFunction *function, CsrResult result) |
typedef CsrSdioAsyncDsrCallback(* | CsrSdioAsyncCallback )(CsrSdioFunction *function, CsrResult result) |
#define CSR_SDIO_ANY_CARD_ID 0xFFFF |
Definition at line 32 of file csr_sdio.h.
#define CSR_SDIO_ANY_MANF_ID 0xFFFF |
Definition at line 31 of file csr_sdio.h.
#define CSR_SDIO_ANY_SDIO_FUNCTION 0xFF |
Definition at line 33 of file csr_sdio.h.
#define CSR_SDIO_ANY_SDIO_INTERFACE 0xFF |
Definition at line 34 of file csr_sdio.h.
#define CSR_SDIO_FEATURE_BYTE_MODE 0x00000001 /* Transfer sizes do not have to be a multiple of block size */ |
Definition at line 27 of file csr_sdio.h.
#define CSR_SDIO_FEATURE_DMA_CAPABLE_MEM_REQUIRED 0x00000002 /* Bulk operations require DMA friendly memory */ |
Definition at line 28 of file csr_sdio.h.
#define CSR_SDIO_RESULT_CRC_ERROR ((CsrResult) 3) /* The transmitted/received data or command response contained a CRC error */ |
Definition at line 22 of file csr_sdio.h.
Definition at line 20 of file csr_sdio.h.
Definition at line 21 of file csr_sdio.h.
Definition at line 24 of file csr_sdio.h.
#define CSR_SDIO_RESULT_TIMEOUT ((CsrResult) 4) /* No command response or data received from device, or function enable/disable did not succeed within timeout period */ |
Definition at line 23 of file csr_sdio.h.
typedef CsrSdioAsyncDsrCallback(* CsrSdioAsyncCallback)(CsrSdioFunction *function, CsrResult result) |
Definition at line 175 of file csr_sdio.h.
typedef void(* CsrSdioAsyncDsrCallback)(CsrSdioFunction *function, CsrResult result) |
Definition at line 174 of file csr_sdio.h.
typedef void(* CsrSdioInsertedCallback)(CsrSdioFunction *function) |
Definition at line 111 of file csr_sdio.h.
typedef CsrSdioInterruptDsrCallback(* CsrSdioInterruptCallback)(CsrSdioFunction *function) |
Definition at line 133 of file csr_sdio.h.
typedef void(* CsrSdioInterruptDsrCallback)(CsrSdioFunction *function) |
Definition at line 132 of file csr_sdio.h.
typedef void(* CsrSdioRemovedCallback)(CsrSdioFunction *function) |
Definition at line 112 of file csr_sdio.h.
typedef void(* CsrSdioResumeCallback)(CsrSdioFunction *function) |
Definition at line 152 of file csr_sdio.h.
typedef void(* CsrSdioSuspendCallback)(CsrSdioFunction *function) |
Definition at line 151 of file csr_sdio.h.
CsrResult CsrSdioBlockSizeSet | ( | CsrSdioFunction * | function, |
u16 | blockSize | ||
) |
Definition at line 713 of file sdio_mmc.c.
CsrResult CsrSdioF0Read8 | ( | CsrSdioFunction * | function, |
u32 | address, | ||
u8 * | data | ||
) |
Definition at line 235 of file sdio_mmc.c.
void CsrSdioF0Read8Async | ( | CsrSdioFunction * | function, |
u32 | address, | ||
u8 * | data, | ||
CsrSdioAsyncCallback | callback | ||
) |
CsrResult CsrSdioF0Write8 | ( | CsrSdioFunction * | function, |
u32 | address, | ||
u8 | data | ||
) |
Definition at line 257 of file sdio_mmc.c.
void CsrSdioF0Write8Async | ( | CsrSdioFunction * | function, |
u32 | address, | ||
u8 | data, | ||
CsrSdioAsyncCallback | callback | ||
) |
void CsrSdioFunctionActive | ( | CsrSdioFunction * | function | ) |
Definition at line 605 of file sdio_mmc.c.
CsrResult CsrSdioFunctionDisable | ( | CsrSdioFunction * | function | ) |
Definition at line 573 of file sdio_mmc.c.
CsrResult CsrSdioFunctionDriverRegister | ( | CsrSdioFunctionDriver * | functionDriver | ) |
Definition at line 1264 of file sdio_mmc.c.
void CsrSdioFunctionDriverUnregister | ( | CsrSdioFunctionDriver * | functionDriver | ) |
Definition at line 1305 of file sdio_mmc.c.
CsrResult CsrSdioFunctionEnable | ( | CsrSdioFunction * | function | ) |
Definition at line 539 of file sdio_mmc.c.
void CsrSdioFunctionIdle | ( | CsrSdioFunction * | function | ) |
Definition at line 620 of file sdio_mmc.c.
CsrResult CsrSdioHardReset | ( | CsrSdioFunction * | function | ) |
Definition at line 761 of file sdio_mmc.c.
void CsrSdioInsertedAcknowledge | ( | CsrSdioFunction * | function, |
CsrResult | result | ||
) |
void CsrSdioInterruptAcknowledge | ( | CsrSdioFunction * | function | ) |
Definition at line 520 of file sdio_mmc.c.
CsrResult CsrSdioInterruptDisable | ( | CsrSdioFunction * | function | ) |
Definition at line 493 of file sdio_mmc.c.
CsrResult CsrSdioInterruptEnable | ( | CsrSdioFunction * | function | ) |
Definition at line 466 of file sdio_mmc.c.
CsrResult CsrSdioMaxBusClockFrequencySet | ( | CsrSdioFunction * | function, |
u32 | maxFrequency | ||
) |
Definition at line 405 of file sdio_mmc.c.
void CsrSdioPowerOff | ( | CsrSdioFunction * | function | ) |
Definition at line 664 of file sdio_mmc.c.
CsrResult CsrSdioPowerOn | ( | CsrSdioFunction * | function | ) |
Definition at line 636 of file sdio_mmc.c.
CsrResult CsrSdioRead | ( | CsrSdioFunction * | function, |
u32 | address, | ||
void * | data, | ||
u32 | length | ||
) |
Definition at line 280 of file sdio_mmc.c.
CsrResult CsrSdioRead16 | ( | CsrSdioFunction * | function, |
u32 | address, | ||
u16 * | data | ||
) |
Definition at line 181 of file sdio_mmc.c.
void CsrSdioRead16Async | ( | CsrSdioFunction * | function, |
u32 | address, | ||
u16 * | data, | ||
CsrSdioAsyncCallback | callback | ||
) |
CsrResult CsrSdioRead8 | ( | CsrSdioFunction * | function, |
u32 | address, | ||
u8 * | data | ||
) |
Definition at line 145 of file sdio_mmc.c.
void CsrSdioRead8Async | ( | CsrSdioFunction * | function, |
u32 | address, | ||
u8 * | data, | ||
CsrSdioAsyncCallback | callback | ||
) |
void CsrSdioReadAsync | ( | CsrSdioFunction * | function, |
u32 | address, | ||
void * | data, | ||
u32 | length, | ||
CsrSdioAsyncCallback | callback | ||
) |
void CsrSdioRemovedAcknowledge | ( | CsrSdioFunction * | function | ) |
void CsrSdioResumeAcknowledge | ( | CsrSdioFunction * | function, |
CsrResult | result | ||
) |
void CsrSdioSuspendAcknowledge | ( | CsrSdioFunction * | function, |
CsrResult | result | ||
) |
Definition at line 298 of file sdio_mmc.c.
CsrResult CsrSdioWrite16 | ( | CsrSdioFunction * | function, |
u32 | address, | ||
u16 | data | ||
) |
Definition at line 208 of file sdio_mmc.c.
void CsrSdioWrite16Async | ( | CsrSdioFunction * | function, |
u32 | address, | ||
u16 | data, | ||
CsrSdioAsyncCallback | callback | ||
) |
CsrResult CsrSdioWrite8 | ( | CsrSdioFunction * | function, |
u32 | address, | ||
u8 | data | ||
) |
Definition at line 163 of file sdio_mmc.c.
void CsrSdioWrite8Async | ( | CsrSdioFunction * | function, |
u32 | address, | ||
u8 | data, | ||
CsrSdioAsyncCallback | callback | ||
) |
void CsrSdioWriteAsync | ( | CsrSdioFunction * | function, |
u32 | address, | ||
const void * | data, | ||
u32 | length, | ||
CsrSdioAsyncCallback | callback | ||
) |