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
mmc
sdhci-pci-data.h
Go to the documentation of this file.
1
#ifndef LINUX_MMC_SDHCI_PCI_DATA_H
2
#define LINUX_MMC_SDHCI_PCI_DATA_H
3
4
struct
pci_dev
;
5
6
struct
sdhci_pci_data
{
7
struct
pci_dev
*
pdev
;
8
int
slotno
;
9
int
rst_n_gpio
;
/* Set to -EINVAL if unused */
10
int
cd_gpio
;
/* Set to -EINVAL if unused */
11
int
(*
setup
)(
struct
sdhci_pci_data
*
data
);
12
void
(*
cleanup
)(
struct
sdhci_pci_data
*
data
);
13
};
14
15
extern
struct
sdhci_pci_data
*(*sdhci_pci_get_data)(
struct
pci_dev
*
pdev
,
16
int
slotno);
17
18
#endif
Generated on Thu Jan 10 2013 14:51:59 for Linux Kernel by
1.8.2