mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 13:55:32 +00:00
![Adrian Hunter](/assets/img/avatar_default.png)
Implement the select_drive_strength callback to provide drive strength selection for Intel SPT. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
20 lines
485 B
C
20 lines
485 B
C
#ifndef LINUX_MMC_SDHCI_PCI_DATA_H
|
|
#define LINUX_MMC_SDHCI_PCI_DATA_H
|
|
|
|
struct pci_dev;
|
|
|
|
struct sdhci_pci_data {
|
|
struct pci_dev *pdev;
|
|
int slotno;
|
|
int rst_n_gpio; /* Set to -EINVAL if unused */
|
|
int cd_gpio; /* Set to -EINVAL if unused */
|
|
int (*setup)(struct sdhci_pci_data *data);
|
|
void (*cleanup)(struct sdhci_pci_data *data);
|
|
};
|
|
|
|
extern struct sdhci_pci_data *(*sdhci_pci_get_data)(struct pci_dev *pdev,
|
|
int slotno);
|
|
|
|
extern int sdhci_pci_spt_drive_strength;
|
|
|
|
#endif
|