linux/drivers/mmc/host/renesas_sdhi_sys_dmac.c

// SPDX-License-Identifier: GPL-2.0
/*
 * DMA support use of SYS DMAC with SDHI SD/SDIO controller
 *
 * Copyright (C) 2016-19 Renesas Electronics Corporation
 * Copyright (C) 2016-19 Sang Engineering, Wolfram Sang
 * Copyright (C) 2017 Horms Solutions, Simon Horman
 * Copyright (C) 2010-2011 Guennadi Liakhovetski
 */

#include <linux/device.h>
#include <linux/dma-mapping.h>
#include <linux/dmaengine.h>
#include <linux/mmc/host.h>
#include <linux/mod_devicetable.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/pagemap.h>
#include <linux/platform_data/tmio.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/scatterlist.h>
#include <linux/sys_soc.h>

#include "renesas_sdhi.h"
#include "tmio_mmc.h"

#define TMIO_MMC_MIN_DMA_LEN

static const struct renesas_sdhi_of_data of_default_cfg =;

static const struct renesas_sdhi_of_data of_rz_compatible =;

static const struct renesas_sdhi_of_data of_rcar_gen1_compatible =;

/* Definitions for sampling clocks */
static struct renesas_sdhi_scc rcar_gen2_scc_taps[] =;

static const struct renesas_sdhi_of_data of_rcar_gen2_compatible =;

static const struct of_device_id renesas_sdhi_sys_dmac_of_match[] =;
MODULE_DEVICE_TABLE(of, renesas_sdhi_sys_dmac_of_match);

static void renesas_sdhi_sys_dmac_enable_dma(struct tmio_mmc_host *host,
					     bool enable)
{}

static void renesas_sdhi_sys_dmac_abort_dma(struct tmio_mmc_host *host)
{}

static void renesas_sdhi_sys_dmac_dataend_dma(struct tmio_mmc_host *host)
{}

static void renesas_sdhi_sys_dmac_dma_callback(void *arg)
{}

static void renesas_sdhi_sys_dmac_start_dma_rx(struct tmio_mmc_host *host)
{}

static void renesas_sdhi_sys_dmac_start_dma_tx(struct tmio_mmc_host *host)
{}

static void renesas_sdhi_sys_dmac_start_dma(struct tmio_mmc_host *host,
					    struct mmc_data *data)
{}

static void renesas_sdhi_sys_dmac_issue_work_fn(struct work_struct *work)
{}

static void renesas_sdhi_sys_dmac_request_dma(struct tmio_mmc_host *host,
					      struct tmio_mmc_data *pdata)
{}

static void renesas_sdhi_sys_dmac_release_dma(struct tmio_mmc_host *host)
{}

static const struct tmio_mmc_dma_ops renesas_sdhi_sys_dmac_dma_ops =;

static int renesas_sdhi_sys_dmac_probe(struct platform_device *pdev)
{}

static const struct dev_pm_ops renesas_sdhi_sys_dmac_dev_pm_ops =;

static struct platform_driver renesas_sys_dmac_sdhi_driver =;

module_platform_driver();

MODULE_DESCRIPTION();
MODULE_AUTHOR();
MODULE_LICENSE();
MODULE_ALIAS();