]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
52c506f0 AH |
2 | #ifndef LINUX_MMC_SDHCI_PCI_DATA_H |
3 | #define LINUX_MMC_SDHCI_PCI_DATA_H | |
4 | ||
5 | struct pci_dev; | |
6 | ||
7 | struct sdhci_pci_data { | |
8 | struct pci_dev *pdev; | |
9 | int slotno; | |
10 | int rst_n_gpio; /* Set to -EINVAL if unused */ | |
11 | int cd_gpio; /* Set to -EINVAL if unused */ | |
12 | int (*setup)(struct sdhci_pci_data *data); | |
13 | void (*cleanup)(struct sdhci_pci_data *data); | |
14 | }; | |
15 | ||
16 | extern struct sdhci_pci_data *(*sdhci_pci_get_data)(struct pci_dev *pdev, | |
17 | int slotno); | |
18 | ||
e1bfad6d AH |
19 | extern int sdhci_pci_spt_drive_strength; |
20 | ||
52c506f0 | 21 | #endif |