• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/staging/tidspbridge/include/dspbridge/
1/*
2 * brddefs.h
3 *
4 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
5 *
6 * Global BRD constants and types, shared between DSP API and Bridge driver.
7 *
8 * Copyright (C) 2005-2006 Texas Instruments, Inc.
9 *
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.
13 *
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.
17 */
18
19#ifndef BRDDEFS_
20#define BRDDEFS_
21
22/* platform status values */
23#define BRD_STOPPED     0x0	/* No Monitor Loaded, Not running. */
24#define BRD_IDLE        0x1	/* Monitor Loaded, but suspended. */
25#define BRD_RUNNING     0x2	/* Monitor loaded, and executing. */
26#define BRD_UNKNOWN     0x3	/* Board state is indeterminate. */
27#define BRD_SYNCINIT    0x4
28#define BRD_LOADED      0x5
29#define BRD_LASTSTATE   BRD_LOADED	/* Set to highest legal board state. */
30#define BRD_SLEEP_TRANSITION 0x6	/* Sleep transition in progress */
31#define BRD_HIBERNATION 0x7	/* MPU initiated hibernation */
32#define BRD_RETENTION     0x8	/* Retention mode */
33#define BRD_DSP_HIBERNATION     0x9	/* DSP initiated hibernation */
34#define BRD_ERROR		0xA	/* Board state is Error */
35
36/* BRD Object */
37struct brd_object;
38
39#endif /* BRDDEFS_ */
40