Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
sh_mobile_sdhi.h
Go to the documentation of this file.
1 #ifndef LINUX_MMC_SH_MOBILE_SDHI_H
2 #define LINUX_MMC_SH_MOBILE_SDHI_H
3 
4 #include <linux/types.h>
5 
6 struct platform_device;
7 struct tmio_mmc_data;
8 
9 #define SH_MOBILE_SDHI_IRQ_CARD_DETECT "card_detect"
10 #define SH_MOBILE_SDHI_IRQ_SDCARD "sdcard"
11 #define SH_MOBILE_SDHI_IRQ_SDIO "sdio"
12 
18  void (*cd_wakeup)(const struct platform_device *pdev);
19 };
20 
24  unsigned long tmio_flags;
25  unsigned long tmio_caps;
26  unsigned long tmio_caps2;
27  u32 tmio_ocr_mask; /* available MMC voltages */
28  unsigned int cd_gpio;
32 
33  /* callbacks for board specific setup code */
35  const struct sh_mobile_sdhi_ops *ops);
37 };
38 
39 #endif /* LINUX_MMC_SH_MOBILE_SDHI_H */