Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
s3c_sdhci_platdata Struct Reference

#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)
 

Detailed Description

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.

Definition at line 60 of file sdhci.h.

Field Documentation

enum cd_types cd_type

Definition at line 65 of file sdhci.h.

Definition at line 74 of file sdhci.h.

int(* ext_cd_cleanup)(void(*notify_func)(struct platform_device *,int state))

Definition at line 71 of file sdhci.h.

int ext_cd_gpio

Definition at line 67 of file sdhci.h.

bool ext_cd_gpio_invert

Definition at line 68 of file sdhci.h.

int(* ext_cd_init)(void(*notify_func)(struct platform_device *,int state))

Definition at line 69 of file sdhci.h.

unsigned int host_caps

Definition at line 62 of file sdhci.h.

unsigned int host_caps2

Definition at line 63 of file sdhci.h.

unsigned int max_width

Definition at line 61 of file sdhci.h.

unsigned int pm_caps

Definition at line 64 of file sdhci.h.


The documentation for this struct was generated from the following file: