Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
platform_data
mmc-msm_sdcc.h
Go to the documentation of this file.
1
/*
2
* arch/arm/include/asm/mach/mmc.h
3
*/
4
#ifndef ASMARM_MACH_MMC_H
5
#define ASMARM_MACH_MMC_H
6
7
#include <
linux/mmc/host.h
>
8
#include <
linux/mmc/card.h
>
9
#include <
linux/mmc/sdio_func.h
>
10
11
struct
msm_mmc_gpio
{
12
unsigned
no
;
13
const
char
*
name
;
14
};
15
16
struct
msm_mmc_gpio_data
{
17
struct
msm_mmc_gpio
*
gpio
;
18
u8
size
;
19
};
20
21
struct
msm_mmc_platform_data
{
22
unsigned
int
ocr_mask
;
/* available voltages */
23
u32
(*
translate_vdd
)(
struct
device
*,
unsigned
int
);
24
unsigned
int
(*
status
)(
struct
device
*);
25
int
(*
register_status_notify
)(
void
(*
callback
)(
int
card_present,
void
*
dev_id
),
void
*
dev_id
);
26
struct
msm_mmc_gpio_data
*
gpio_data
;
27
void
(*
init_card
)(
struct
mmc_card
*
card
);
28
};
29
30
#endif
Generated on Thu Jan 10 2013 14:52:20 for Linux Kernel by
1.8.2