Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235943
b: refs/heads/master
c: 157bc26
h: refs/heads/master
i:
  235941: 6b6a652
  235939: c44fe8b
  235935: 1d36293
v: v3
  • Loading branch information
Armando Uribe authored and Omar Ramirez Luna committed Feb 5, 2011
1 parent feb1d6d commit fe07f73
Show file tree
Hide file tree
Showing 19 changed files with 52 additions and 171 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 77927240749e7248fd637c5dadb6893f6b0381ab
refs/heads/master: 157bc26dacc2f30ee64fc7eea2babbdc65052803
4 changes: 2 additions & 2 deletions trunk/drivers/staging/tidspbridge/core/tiomap3430_pwr.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,13 @@
/* ----------------------------------- Platform Manager */
#include <dspbridge/brddefs.h>
#include <dspbridge/dev.h>
#include <dspbridge/iodefs.h>
#include <dspbridge/io.h>

/* ------------------------------------ Hardware Abstraction Layer */
#include <hw_defs.h>
#include <hw_mmu.h>

#include <dspbridge/pwr_sh.h>
#include <dspbridge/pwr.h>

/* ----------------------------------- Bridge Driver */
#include <dspbridge/dspdeh.h>
Expand Down
31 changes: 0 additions & 31 deletions trunk/drivers/staging/tidspbridge/include/dspbridge/dehdefs.h

This file was deleted.

4 changes: 2 additions & 2 deletions trunk/drivers/staging/tidspbridge/include/dspbridge/dev.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
#include <dspbridge/chnldefs.h>
#include <dspbridge/cmm.h>
#include <dspbridge/cod.h>
#include <dspbridge/dehdefs.h>
#include <dspbridge/dspdeh.h>
#include <dspbridge/nodedefs.h>
#include <dspbridge/dispdefs.h>
#include <dspbridge/disp.h>
#include <dspbridge/dspdefs.h>
#include <dspbridge/dmm.h>
#include <dspbridge/host_os.h>
Expand Down
15 changes: 14 additions & 1 deletion trunk/drivers/staging/tidspbridge/include/dspbridge/disp.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,20 @@
#include <dspbridge/dbdefs.h>
#include <dspbridge/nodedefs.h>
#include <dspbridge/nodepriv.h>
#include <dspbridge/dispdefs.h>

struct disp_object;

/* Node Dispatcher attributes */
struct disp_attr {
u32 ul_chnl_offset; /* Offset of channel ids reserved for RMS */
/* Size of buffer for sending data to RMS */
u32 ul_chnl_buf_size;
int proc_family; /* eg, 5000 */
int proc_type; /* eg, 5510 */
void *reserved1; /* Reserved for future use. */
u32 reserved2; /* Reserved for future use. */
};


/*
* ======== disp_create ========
Expand Down
35 changes: 0 additions & 35 deletions trunk/drivers/staging/tidspbridge/include/dspbridge/dispdefs.h

This file was deleted.

4 changes: 3 additions & 1 deletion trunk/drivers/staging/tidspbridge/include/dspbridge/drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@

#include <dspbridge/devdefs.h>

#include <dspbridge/drvdefs.h>
#include <linux/idr.h>

/* Bridge Driver Object */
struct drv_object;

/* Provide the DSP Internal memory windows that can be accessed from L3 address
* space */

Expand Down
25 changes: 0 additions & 25 deletions trunk/drivers/staging/tidspbridge/include/dspbridge/drvdefs.h

This file was deleted.

4 changes: 2 additions & 2 deletions trunk/drivers/staging/tidspbridge/include/dspbridge/dspdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@
#include <dspbridge/brddefs.h>
#include <dspbridge/cfgdefs.h>
#include <dspbridge/chnlpriv.h>
#include <dspbridge/dehdefs.h>
#include <dspbridge/dspdeh.h>
#include <dspbridge/devdefs.h>
#include <dspbridge/iodefs.h>
#include <dspbridge/io.h>
#include <dspbridge/msgdefs.h>

/* Handle to Bridge driver's private device context. */
Expand Down
3 changes: 2 additions & 1 deletion trunk/drivers/staging/tidspbridge/include/dspbridge/dspio.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
#define DSPIO_

#include <dspbridge/devdefs.h>
#include <dspbridge/iodefs.h>
#include <dspbridge/io.h>


extern int bridge_io_create(struct io_mgr **io_man,
struct dev_object *hdev_obj,
Expand Down
13 changes: 12 additions & 1 deletion trunk/drivers/staging/tidspbridge/include/dspbridge/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,18 @@
#include <dspbridge/cfgdefs.h>
#include <dspbridge/devdefs.h>

#include <dspbridge/iodefs.h>
/* IO Objects: */
struct io_mgr;

/* IO manager attributes: */
struct io_attrs {
u8 birq; /* Channel's I/O IRQ number. */
bool irq_shared; /* TRUE if the IRQ is shareable. */
u32 word_size; /* DSP Word size. */
u32 shm_base; /* Physical base address of shared memory. */
u32 usm_length; /* Size (in bytes) of shared memory. */
};


/*
* ======== io_create ========
Expand Down
7 changes: 6 additions & 1 deletion trunk/drivers/staging/tidspbridge/include/dspbridge/io_sm.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,12 @@
#include <dspbridge/_chnl_sm.h>
#include <dspbridge/host_os.h>

#include <dspbridge/iodefs.h>
#include <dspbridge/io.h>
#include <dspbridge/mbx_sh.h> /* shared mailbox codes */

/* Magic code used to determine if DSP signaled exception. */
#define DEH_BASE MBX_DEH_BASE
#define DEH_LIMIT MBX_DEH_LIMIT

#define IO_INPUT 0
#define IO_OUTPUT 1
Expand Down
34 changes: 0 additions & 34 deletions trunk/drivers/staging/tidspbridge/include/dspbridge/iodefs.h

This file was deleted.

2 changes: 1 addition & 1 deletion trunk/drivers/staging/tidspbridge/include/dspbridge/node.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#include <dspbridge/procpriv.h>

#include <dspbridge/nodedefs.h>
#include <dspbridge/dispdefs.h>
#include <dspbridge/disp.h>
#include <dspbridge/nldrdefs.h>
#include <dspbridge/drv.h>

Expand Down
8 changes: 7 additions & 1 deletion trunk/drivers/staging/tidspbridge/include/dspbridge/pwr.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@
#define PWR_

#include <dspbridge/dbdefs.h>
#include <dspbridge/pwr_sh.h>
#include <dspbridge/mbx_sh.h>

/* valid sleep command codes that can be sent by GPP via mailbox: */
#define PWR_DEEPSLEEP MBX_PM_DSPIDLE
#define PWR_EMERGENCYDEEPSLEEP MBX_PM_EMERGENCYSLEEP
#define PWR_WAKEUP MBX_PM_DSPWAKEUP


/*
* ======== pwr_sleep_dsp ========
Expand Down
29 changes: 0 additions & 29 deletions trunk/drivers/staging/tidspbridge/include/dspbridge/pwr_sh.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/drivers/staging/tidspbridge/pmgr/io.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

/* ----------------------------------- This */
#include <ioobj.h>
#include <dspbridge/iodefs.h>
#include <dspbridge/io.h>

/* ----------------------------------- Globals */
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/tidspbridge/rmgr/drv_interface.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
#include <dspbridge/chnl.h>
#include <dspbridge/proc.h>
#include <dspbridge/dev.h>
#include <dspbridge/drvdefs.h>
#include <dspbridge/drv.h>

#ifdef CONFIG_TIDSPBRIDGE_DVFS
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/tidspbridge/rmgr/node.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
#include <dspbridge/nldr.h>

#include <dspbridge/drv.h>
#include <dspbridge/drvdefs.h>
#include <dspbridge/resourcecleanup.h>
#include <_tiomap.h>

Expand Down

0 comments on commit fe07f73

Please sign in to comment.