mmc.h 643 B

1234567891011121314151617181920212223242526
  1. /*
  2. * arch/arm/include/asm/mach/mmc.h
  3. */
  4. #ifndef ASMARM_MACH_MMC_H
  5. #define ASMARM_MACH_MMC_H
  6. #include <linux/mmc/host.h>
  7. #include <linux/mmc/card.h>
  8. #include <linux/mmc/sdio_func.h>
  9. struct embedded_sdio_data {
  10. struct sdio_cis cis;
  11. struct sdio_cccr cccr;
  12. struct sdio_embedded_func *funcs;
  13. int num_funcs;
  14. };
  15. struct msm_mmc_platform_data {
  16. unsigned int ocr_mask; /* available voltages */
  17. u32 (*translate_vdd)(struct device *, unsigned int);
  18. unsigned int (*status)(struct device *);
  19. struct embedded_sdio_data *embedded_sdio;
  20. int (*register_status_notify)(void (*callback)(int card_present, void *dev_id), void *dev_id);
  21. };
  22. #endif