blob: 4fccef03830e602c5d1ccafa2950f00510ad0116 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* Copyright (C) ST-Ericsson SA 2010
* License terms: GNU General Public License (GPL), version 2, with
* user space exemption described in the top-level COPYING file in
* the Linux kernel source tree.
*/
#ifndef __CMDMA_H
#define __CMDMA_H
#include "cmioctl.h"
int cmdma_setup_relink_area(
unsigned int mem_addr,
unsigned int per_addr,
unsigned int segments,
unsigned int segmentsize,
unsigned int LOS,
enum cmdma_type type);
void cmdma_stop_dma(void);
int cmdma_init(void);
void cmdma_destroy(void);
#endif
|