Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
sdio_mmc.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/mutex.h>
#include <linux/gfp.h>
#include <linux/version.h>
#include <linux/mmc/core.h>
#include <linux/mmc/card.h>
#include <linux/mmc/host.h>
#include <linux/mmc/sdio_func.h>
#include <linux/mmc/sdio_ids.h>
#include <linux/mmc/sdio.h>
#include <linux/suspend.h>
#include "unifi_priv.h"

Go to the source code of this file.

Macros

#define UNIFI_PM_OPS   NULL
 

Functions

CsrResult CsrSdioRead8 (CsrSdioFunction *function, u32 address, u8 *data)
 
CsrResult CsrSdioWrite8 (CsrSdioFunction *function, u32 address, u8 data)
 
CsrResult CsrSdioRead16 (CsrSdioFunction *function, u32 address, u16 *data)
 
CsrResult CsrSdioWrite16 (CsrSdioFunction *function, u32 address, u16 data)
 
CsrResult CsrSdioF0Read8 (CsrSdioFunction *function, u32 address, u8 *data)
 
CsrResult CsrSdioF0Write8 (CsrSdioFunction *function, u32 address, u8 data)
 
CsrResult CsrSdioRead (CsrSdioFunction *function, u32 address, void *data, u32 length)
 
CsrResult CsrSdioWrite (CsrSdioFunction *function, u32 address, const void *data, u32 length)
 
CsrResult CsrSdioMaxBusClockFrequencySet (CsrSdioFunction *function, u32 maxFrequency)
 
CsrResult CsrSdioInterruptEnable (CsrSdioFunction *function)
 
CsrResult CsrSdioInterruptDisable (CsrSdioFunction *function)
 
void CsrSdioInterruptAcknowledge (CsrSdioFunction *function)
 
CsrResult CsrSdioFunctionEnable (CsrSdioFunction *function)
 
CsrResult CsrSdioFunctionDisable (CsrSdioFunction *function)
 
void CsrSdioFunctionActive (CsrSdioFunction *function)
 
void CsrSdioFunctionIdle (CsrSdioFunction *function)
 
CsrResult CsrSdioPowerOn (CsrSdioFunction *function)
 
void CsrSdioPowerOff (CsrSdioFunction *function)
 
CsrResult CsrSdioBlockSizeSet (CsrSdioFunction *function, u16 blockSize)
 
CsrResult CsrSdioHardReset (CsrSdioFunction *function)
 
int csr_sdio_linux_remove_irq (CsrSdioFunction *function)
 
int csr_sdio_linux_install_irq (CsrSdioFunction *function)
 
 MODULE_DEVICE_TABLE (sdio, unifi_ids)
 
CsrResult CsrSdioFunctionDriverRegister (CsrSdioFunctionDriver *sdio_drv)
 
void CsrSdioFunctionDriverUnregister (CsrSdioFunctionDriver *sdio_drv)
 

Macro Definition Documentation

#define UNIFI_PM_OPS   NULL

Definition at line 1234 of file sdio_mmc.c.

Function Documentation

int csr_sdio_linux_install_irq ( CsrSdioFunction function)

Definition at line 872 of file sdio_mmc.c.

int csr_sdio_linux_remove_irq ( CsrSdioFunction function)

Definition at line 842 of file sdio_mmc.c.

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.

CsrResult CsrSdioF0Write8 ( CsrSdioFunction function,
u32  address,
u8  data 
)

Definition at line 257 of file sdio_mmc.c.

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 sdio_drv)

Definition at line 1264 of file sdio_mmc.c.

void CsrSdioFunctionDriverUnregister ( CsrSdioFunctionDriver sdio_drv)

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 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.

CsrResult CsrSdioRead8 ( CsrSdioFunction function,
u32  address,
u8 data 
)

Definition at line 145 of file sdio_mmc.c.

CsrResult CsrSdioWrite ( CsrSdioFunction function,
u32  address,
const void data,
u32  length 
)

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.

CsrResult CsrSdioWrite8 ( CsrSdioFunction function,
u32  address,
u8  data 
)

Definition at line 163 of file sdio_mmc.c.

MODULE_DEVICE_TABLE ( sdio  ,
unifi_ids   
)