#include <linux/ahci_platform.h>
#include <linux/kernel.h>
#include <linux/mbus.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include "ahci.h"
#define DRV_NAME …
#define AHCI_VENDOR_SPECIFIC_0_ADDR …
#define AHCI_VENDOR_SPECIFIC_0_DATA …
#define AHCI_WINDOW_CTRL(win) …
#define AHCI_WINDOW_BASE(win) …
#define AHCI_WINDOW_SIZE(win) …
struct ahci_mvebu_plat_data { … };
static void ahci_mvebu_mbus_config(struct ahci_host_priv *hpriv,
const struct mbus_dram_target_info *dram)
{ … }
static void ahci_mvebu_regret_option(struct ahci_host_priv *hpriv)
{ … }
static int ahci_mvebu_armada_380_config(struct ahci_host_priv *hpriv)
{ … }
static int ahci_mvebu_armada_3700_config(struct ahci_host_priv *hpriv)
{ … }
static int ahci_mvebu_stop_engine(struct ata_port *ap)
{ … }
#ifdef CONFIG_PM_SLEEP
static int ahci_mvebu_suspend(struct platform_device *pdev, pm_message_t state)
{ … }
static int ahci_mvebu_resume(struct platform_device *pdev)
{ … }
#else
#define ahci_mvebu_suspend …
#define ahci_mvebu_resume …
#endif
static const struct ata_port_info ahci_mvebu_port_info = …;
static const struct scsi_host_template ahci_platform_sht = …;
static int ahci_mvebu_probe(struct platform_device *pdev)
{ … }
static const struct ahci_mvebu_plat_data ahci_mvebu_armada_380_plat_data = …;
static const struct ahci_mvebu_plat_data ahci_mvebu_armada_3700_plat_data = …;
static const struct of_device_id ahci_mvebu_of_match[] = …;
MODULE_DEVICE_TABLE(of, ahci_mvebu_of_match);
static struct platform_driver ahci_mvebu_driver = …;
module_platform_driver(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;