linux/drivers/mmc/host/renesas_sdhi.h

/* SPDX-License-Identifier: GPL-2.0 */
/*
 * Renesas Mobile SDHI
 *
 * Copyright (C) 2017 Horms Solutions Ltd., Simon Horman
 * Copyright (C) 2017-19 Renesas Electronics Corporation
 */

#ifndef RENESAS_SDHI_H
#define RENESAS_SDHI_H

#include <linux/dmaengine.h>
#include <linux/platform_device.h>
#include <linux/workqueue.h>
#include "tmio_mmc.h"

struct renesas_sdhi_scc {};

#define SDHI_FLAG_NEED_CLKH_FALLBACK

struct renesas_sdhi_of_data {};

#define SDHI_CALIB_TABLE_MAX

#define sdhi_has_quirk(p, q)

struct renesas_sdhi_quirks {};

struct renesas_sdhi_of_data_with_quirks {};

/* We want both end_flags to be set before we mark DMA as finished */
#define SDHI_DMA_END_FLAG_DMA
#define SDHI_DMA_END_FLAG_ACCESS

struct renesas_sdhi_dma {};

struct renesas_sdhi {};

#define host_to_priv(host)

int renesas_sdhi_probe(struct platform_device *pdev,
		       const struct tmio_mmc_dma_ops *dma_ops,
		       const struct renesas_sdhi_of_data *of_data,
		       const struct renesas_sdhi_quirks *quirks);
void renesas_sdhi_remove(struct platform_device *pdev);
#endif