d26fec9a0c26843387a7b30e80a00f96bcb58149
1 /*
2 * bventry.h
3 *
4 * Copyright (C) 2011 Texas Instruments, Inc.
5 *
6 * This package is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
11 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
12 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13 */
15 #ifndef BVENTRY_H
16 #define BVENTRY_H
18 /* Forward declarations */
19 struct bvbuffdesc;
20 struct bvbltparams;
22 /*
23 * BLTsville interface definition.
24 */
25 typedef enum bverror (*BVFN_MAP) (struct bvbuffdesc *buffdesc);
26 typedef enum bverror (*BVFN_UNMAP) (struct bvbuffdesc *buffdesc);
27 typedef enum bverror (*BVFN_BLT) (struct bvbltparams *bltparams);
29 struct bventry {
30 BVFN_MAP bv_map;
31 BVFN_UNMAP bv_unmap;
32 BVFN_BLT bv_blt;
33 };
35 #endif /* BVENTRY_H */