Lines Matching defs:omap_mmc_slot_data
91 struct omap_mmc_slot_data { struct
97 u8 wires; /* Used for the MMC driver on omap1 and 2420 */
98 u32 caps; /* Used for the MMC driver on 2430 and later */
99 u32 pm_caps; /* PM capabilities of the mmc */
105 unsigned nomux:1;
108 unsigned cover:1;
111 unsigned internal_clock:1;
114 unsigned nonremovable:1;
117 unsigned power_saving:1;
120 unsigned no_off:1;
123 unsigned no_regulator_off_init:1;
126 unsigned vcc_aux_disable_is_sleep:1;
131 unsigned features;
133 int switch_pin; /* gpio (card detect) */
134 int gpio_wp; /* gpio (write protect) */
136 int (*set_bus_mode)(struct device *dev, int slot, int bus_mode);
137 int (*set_power)(struct device *dev, int slot,
139 int (*get_ro)(struct device *dev, int slot);
140 int (*set_sleep)(struct device *dev, int slot, int sleep,
142 void (*remux)(struct device *dev, int slot, int power_on);
144 void (*before_set_reg)(struct device *dev, int slot,
147 void (*after_set_reg)(struct device *dev, int slot,
150 void (*init_card)(struct mmc_card *card);
158 int (*get_cover_state)(struct device *dev, int slot);
160 const char *name;
161 u32 ocr_mask;
164 int card_detect_irq;
165 int (*card_detect)(struct device *dev, int slot);
167 unsigned int ban_openended:1;