#include <linux/bitops.h>
#include <linux/of.h>
#include <linux/of_dma.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/soc/renesas/r9a06g032-sysctrl.h>
#include <linux/types.h>
#define RNZ1_DMAMUX_NCELLS …
#define RZN1_DMAMUX_MAX_LINES …
#define RZN1_DMAMUX_LINES_PER_CTLR …
struct rzn1_dmamux_data { … };
struct rzn1_dmamux_map { … };
static void rzn1_dmamux_free(struct device *dev, void *route_data)
{ … }
static void *rzn1_dmamux_route_allocate(struct of_phandle_args *dma_spec,
struct of_dma *ofdma)
{ … }
#ifdef CONFIG_OF
static const struct of_device_id rzn1_dmac_match[] = …;
#endif
static int rzn1_dmamux_probe(struct platform_device *pdev)
{ … }
static const struct of_device_id rzn1_dmamux_match[] = …;
MODULE_DEVICE_TABLE(of, rzn1_dmamux_match);
static struct platform_driver rzn1_dmamux_driver = …;
module_platform_driver(…) …;
MODULE_LICENSE(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;