#include <linux/acpi.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/mmc/host.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include "sdhci-pltfm.h"
struct sdhci_iproc_data { … };
struct sdhci_iproc_host { … };
#define REG_OFFSET_IN_BITS(reg) …
static inline u32 sdhci_iproc_readl(struct sdhci_host *host, int reg)
{ … }
static u16 sdhci_iproc_readw(struct sdhci_host *host, int reg)
{ … }
static u8 sdhci_iproc_readb(struct sdhci_host *host, int reg)
{ … }
static inline void sdhci_iproc_writel(struct sdhci_host *host, u32 val, int reg)
{ … }
static void sdhci_iproc_writew(struct sdhci_host *host, u16 val, int reg)
{ … }
static void sdhci_iproc_writeb(struct sdhci_host *host, u8 val, int reg)
{ … }
static unsigned int sdhci_iproc_get_max_clock(struct sdhci_host *host)
{ … }
static unsigned int sdhci_iproc_bcm2711_get_min_clock(struct sdhci_host *host)
{ … }
static const struct sdhci_ops sdhci_iproc_ops = …;
static const struct sdhci_ops sdhci_iproc_32only_ops = …;
static const struct sdhci_pltfm_data sdhci_iproc_cygnus_pltfm_data = …;
static const struct sdhci_iproc_data iproc_cygnus_data = …;
static const struct sdhci_pltfm_data sdhci_iproc_pltfm_data = …;
static const struct sdhci_iproc_data iproc_data = …;
static const struct sdhci_pltfm_data sdhci_bcm2835_pltfm_data = …;
static const struct sdhci_iproc_data bcm2835_data = …;
static const struct sdhci_ops sdhci_iproc_bcm2711_ops = …;
static const struct sdhci_pltfm_data sdhci_bcm2711_pltfm_data = …;
static const struct sdhci_iproc_data bcm2711_data = …;
static const struct sdhci_pltfm_data sdhci_bcm7211a0_pltfm_data = …;
#define BCM7211A0_BASE_CLK_MHZ …
static const struct sdhci_iproc_data bcm7211a0_data = …;
static const struct of_device_id sdhci_iproc_of_match[] = …;
MODULE_DEVICE_TABLE(of, sdhci_iproc_of_match);
#ifdef CONFIG_ACPI
static const struct sdhci_pltfm_data sdhci_bcm_arasan_data = …;
static const struct sdhci_iproc_data bcm_arasan_data = …;
static const struct acpi_device_id sdhci_iproc_acpi_ids[] = …;
MODULE_DEVICE_TABLE(acpi, sdhci_iproc_acpi_ids);
#endif
static int sdhci_iproc_probe(struct platform_device *pdev)
{ … }
static void sdhci_iproc_shutdown(struct platform_device *pdev)
{ … }
static struct platform_driver sdhci_iproc_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;