Guennadi Liakhovetski | 42051e8 | 2011-03-14 09:52:33 +0100 | [diff] [blame] | 1 | #ifndef __SH_MOBILE_SDHI_H__ |
| 2 | #define __SH_MOBILE_SDHI_H__ |
| 3 | |
| 4 | #include <linux/types.h> |
| 5 | |
Guennadi Liakhovetski | 2595880 | 2011-05-11 16:51:15 +0000 | [diff] [blame] | 6 | struct platform_device; |
| 7 | struct tmio_mmc_data; |
| 8 | |
Guennadi Liakhovetski | 42051e8 | 2011-03-14 09:52:33 +0100 | [diff] [blame] | 9 | struct sh_mobile_sdhi_info { |
| 10 | int dma_slave_tx; |
| 11 | int dma_slave_rx; |
| 12 | unsigned long tmio_flags; |
| 13 | unsigned long tmio_caps; |
| 14 | u32 tmio_ocr_mask; /* available MMC voltages */ |
Guennadi Liakhovetski | 2595880 | 2011-05-11 16:51:15 +0000 | [diff] [blame] | 15 | struct tmio_mmc_data *pdata; |
Guennadi Liakhovetski | 42051e8 | 2011-03-14 09:52:33 +0100 | [diff] [blame] | 16 | void (*set_pwr)(struct platform_device *pdev, int state); |
| 17 | int (*get_cd)(struct platform_device *pdev); |
| 18 | }; |
| 19 | |
| 20 | #endif /* __SH_MOBILE_SDHI_H__ */ |