Lines Matching +full:mmc +full:- +full:slot
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * MMC definitions for OMAP2
13 /* back-link to device */
20 * maximum frequency on the MMC bus */
23 /* initialize board-specific MMC functionality, can be NULL if
42 * need to OR'd all capabilities (ref. linux/mmc/host.h)
44 u8 wires; /* Used for the MMC driver on omap1 and 2420 */
45 u32 caps; /* Used for the MMC driver on 2430 and later */
46 u32 pm_caps; /* PM capabilities of the mmc */
50 * that board-specific code handled it before common init logic.
66 /* If using power_saving and the MMC power is not to go off */
84 int (*set_bus_mode)(struct device *dev, int slot, int bus_mode);
85 int (*set_power)(struct device *dev, int slot,
87 int (*get_ro)(struct device *dev, int slot);
88 void (*remux)(struct device *dev, int slot, int power_on);
90 void (*before_set_reg)(struct device *dev, int slot,
93 void (*after_set_reg)(struct device *dev, int slot,
98 /* return MMC cover switch state, can be NULL if not supported.
101 * 0 - closed
102 * 1 - open
104 int (*get_cover_state)(struct device *dev, int slot);
110 int (*card_detect)(struct device *dev, int slot);
117 extern void omap_mmc_notify_cover_event(struct device *dev, int slot,