Linux Kernel
3.7.1
|
#include <sdhci.h>
Data Fields | |
unsigned int | max_width |
unsigned int | host_caps |
unsigned int | host_caps2 |
unsigned int | pm_caps |
enum cd_types | cd_type |
int | ext_cd_gpio |
bool | ext_cd_gpio_invert |
int(* | ext_cd_init )(void(*notify_func)(struct platform_device *, int state)) |
int(* | ext_cd_cleanup )(void(*notify_func)(struct platform_device *, int state)) |
void(* | cfg_gpio )(struct platform_device *dev, int width) |
struct s3c_sdhci_platdata() - Platform device data for Samsung SDHCI : The maximum number of data bits supported. : Standard MMC host capabilities bit field. : The second standard MMC host capabilities bit field. : Type of Card Detection method (see cd_types enum above) : Initialize external card detect subsystem. Called on sdhci-s3c driver probe when cd_type == S3C_SDHCI_CD_EXTERNAL. notify_func argument is a callback to the sdhci-s3c driver that triggers the card detection event. Callback arguments: dev is pointer to platform device of the host controller, state is new state of the card (0 - removed, 1 - inserted). : Cleanup external card detect subsystem. Called on sdhci-s3c driver remove when cd_type == S3C_SDHCI_CD_EXTERNAL. notify_func argument is the same callback as for ext_cd_init. : gpio pin used for external CD line, valid only if cd_type == S3C_SDHCI_CD_GPIO : invert values for external CD gpio line : Configure the GPIO for a specific card bit-width
Initialisation data specific to either the machine or the platform for the device driver to use or call-back when configuring gpio or card speed information.