Path: blob/master/arch/arm/mach-pxa/include/mach/mmc.h
10820 views
#ifndef ASMARM_ARCH_MMC_H1#define ASMARM_ARCH_MMC_H23#include <linux/mmc/host.h>4#include <linux/interrupt.h>56struct device;7struct mmc_host;89struct pxamci_platform_data {10unsigned int ocr_mask; /* available voltages */11unsigned long detect_delay_ms; /* delay in millisecond before detecting cards after interrupt */12int (*init)(struct device *, irq_handler_t , void *);13int (*get_ro)(struct device *);14void (*setpower)(struct device *, unsigned int);15void (*exit)(struct device *, void *);16int gpio_card_detect; /* gpio detecting card insertion */17int gpio_card_ro; /* gpio detecting read only toggle */18bool gpio_card_ro_invert; /* gpio ro is inverted */19int gpio_power; /* gpio powering up MMC bus */20bool gpio_power_invert; /* gpio power is inverted */21};2223extern void pxa_set_mci_info(struct pxamci_platform_data *info);24extern void pxa3xx_set_mci2_info(struct pxamci_platform_data *info);25extern void pxa3xx_set_mci3_info(struct pxamci_platform_data *info);2627#endif282930