• 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/drivers/staging/tidspbridge/include/dspbridge/
1/*
2 * dspio.h
3 *
4 * DSP-BIOS Bridge driver support functions for TI OMAP processors.
5 *
6 * Declares the upper edge IO functions required by all Bridge driver /DSP API
7 * interface tables.
8 *
9 * Notes:
10 *   Function comment headers reside in dspdefs.h.
11 *
12 * Copyright (C) 2005-2006 Texas Instruments, Inc.
13 *
14 * This package is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License version 2 as
16 * published by the Free Software Foundation.
17 *
18 * THIS PACKAGE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
19 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
20 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
21 */
22
23#ifndef DSPIO_
24#define DSPIO_
25
26#include <dspbridge/devdefs.h>
27#include <dspbridge/iodefs.h>
28
29extern int bridge_io_create(struct io_mgr **io_man,
30				   struct dev_object *hdev_obj,
31				   const struct io_attrs *mgr_attrts);
32
33extern int bridge_io_destroy(struct io_mgr *hio_mgr);
34
35extern int bridge_io_on_loaded(struct io_mgr *hio_mgr);
36
37extern int iva_io_on_loaded(struct io_mgr *hio_mgr);
38extern int bridge_io_get_proc_load(struct io_mgr *hio_mgr,
39				       struct dsp_procloadstat *proc_lstat);
40
41#endif /* DSPIO_ */
42