summaryrefslogtreecommitdiffstats
path: root/kernel-headers/linux/bventry.h
blob: 272c0e673d90340464e032f40d05d845678133ad (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
35
36
37
38
/*
 * bventry.h
 *
 * Copyright (C) 2011 Texas Instruments, Inc.
 *
 * This package 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.
 *
 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#ifndef BVENTRY_H
#define BVENTRY_H

/* Forward declarations */
struct bvbuffdesc;
struct bvbltparams;
struct bvcopparams;
/*
 * BLTsville interface definition.
 */
typedef enum bverror (*BVFN_MAP) (struct bvbuffdesc *buffdesc);
typedef enum bverror (*BVFN_UNMAP) (struct bvbuffdesc *buffdesc);
typedef enum bverror (*BVFN_BLT) (struct bvbltparams *bltparams);
typedef enum bverror (*BVFN_CACHE)(struct bvcopparams *copparams);

struct bventry {
	unsigned int structsize;	/* used to identify struct version */
	BVFN_MAP bv_map;
	BVFN_UNMAP bv_unmap;
	BVFN_BLT bv_blt;
	BVFN_CACHE bv_cache;
};

#endif /* BVENTRY_H */