1 /* SPDX-License-Identifier: GPL-2.0 */ << 2 /* 1 /* 3 * include/linux/amba/mmci.h 2 * include/linux/amba/mmci.h 4 */ 3 */ 5 #ifndef AMBA_MMCI_H 4 #ifndef AMBA_MMCI_H 6 #define AMBA_MMCI_H 5 #define AMBA_MMCI_H 7 6 8 #include <linux/mmc/host.h> 7 #include <linux/mmc/host.h> 9 8 10 /** << 11 * struct mmci_platform_data - platform config << 12 * (also known as PL180) block. << 13 * @ocr_mask: available voltages on the 4 pins << 14 * is ignored if a regulator is used, see the << 15 * mmc/host.h << 16 * @status: if no GPIO line was given to the b << 17 * be called to determine whether a card is pr << 18 */ << 19 struct mmci_platform_data { 9 struct mmci_platform_data { 20 unsigned int ocr_mask; !! 10 unsigned int ocr_mask; /* available voltages */ >> 11 u32 (*translate_vdd)(struct device *, unsigned int); 21 unsigned int (*status)(struct device * 12 unsigned int (*status)(struct device *); >> 13 int gpio_wp; >> 14 int gpio_cd; >> 15 unsigned long capabilities; 22 }; 16 }; 23 17 24 #endif 18 #endif 25 19
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.