summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/dma-rcar-audmapp.h
blob: 471fffebbeb4cdbe48ab2b76a4c45cf556a136b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * This is for Renesas R-Car Audio-DMAC-peri-peri.
 *
 * Copyright (C) 2014 Renesas Electronics Corporation
 * Copyright (C) 2014 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
 *
 * This file is based on the include/linux/sh_dma.h
 *
 * Header for the new SH dmaengine driver
 *
 * Copyright (C) 2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
#ifndef SH_AUDMAPP_H
#define SH_AUDMAPP_H

#include <linux/dmaengine.h>

struct audmapp_slave_config {
	int		slave_id;
	dma_addr_t	src;
	dma_addr_t	dst;
	u32		chcr;
};

struct audmapp_pdata {
	struct audmapp_slave_config *slave;
	int slave_num;
};

#endif /* SH_AUDMAPP_H */
OpenPOWER on IntegriCloud