sh_mobile_sdhi.h 492 B

1234567891011121314151617181920
  1. #ifndef LINUX_MMC_SH_MOBILE_SDHI_H
  2. #define LINUX_MMC_SH_MOBILE_SDHI_H
  3. #include <linux/types.h>
  4. struct platform_device;
  5. struct tmio_mmc_data;
  6. struct sh_mobile_sdhi_info {
  7. int dma_slave_tx;
  8. int dma_slave_rx;
  9. unsigned long tmio_flags;
  10. unsigned long tmio_caps;
  11. u32 tmio_ocr_mask; /* available MMC voltages */
  12. struct tmio_mmc_data *pdata;
  13. void (*set_pwr)(struct platform_device *pdev, int state);
  14. int (*get_cd)(struct platform_device *pdev);
  15. };
  16. #endif /* LINUX_MMC_SH_MOBILE_SDHI_H */