GUI: Fix Tomato RAF theme for all builds. Compilation typo.
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / drivers / staging / tidspbridge / include / dspbridge / strmdefs.h
blobb363f794de3337bbae354a52406a859bac6ea088
1 /*
2 * strmdefs.h
4 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
6 * Global STRM constants and types.
8 * Copyright (C) 2005-2006 Texas Instruments, Inc.
10 * This package is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
14 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
19 #ifndef STRMDEFS_
20 #define STRMDEFS_
22 #define STRM_MAXEVTNAMELEN 32
24 struct strm_mgr;
26 struct strm_object;
28 struct strm_attr {
29 void *user_event;
30 char *pstr_event_name;
31 void *virt_base; /* Process virtual base address of
32 * mapped SM */
33 u32 ul_virt_size; /* Size of virtual space in bytes */
34 struct dsp_streamattrin *stream_attr_in;
37 struct stream_info {
38 enum dsp_strmmode strm_mode; /* transport mode of
39 * stream(DMA, ZEROCOPY..) */
40 u32 segment_id; /* Segment strm allocs from. 0 is local mem */
41 void *virt_base; /* " " Stream'process virt base */
42 struct dsp_streaminfo *user_strm; /* User's stream information
43 * returned */
46 #endif /* STRMDEFS_ */