Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205986
b: refs/heads/master
c: 14de72b
h: refs/heads/master
v: v3
  • Loading branch information
Armando Uribe authored and Greg Kroah-Hartman committed Jul 26, 2010
1 parent 563dd9e commit 43b8a70
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 53 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: bf968b0a521fc5fd3faf66afa315d8183246c72f
refs/heads/master: 14de72b0aa56e20f24f9ecc1a449da1ed4fd5cda
4 changes: 0 additions & 4 deletions trunk/drivers/staging/tidspbridge/dynload/dload_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -310,10 +310,6 @@ extern uint32_t dload_reverse_checksum16(void *data, unsigned siz);
#endif
#endif

#define IS_DATA_SCN(zzz) (DLOAD_SECTION_TYPE((zzz)->type) != DLOAD_TEXT)
#define IS_DATA_SCN_NUM(zzz) \
(DLOAD_SECT_TYPE(&dlthis->sect_hdrs[(zzz)-1]) != DLOAD_TEXT)

/*
* exported by reloc.c
*/
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/staging/tidspbridge/dynload/getsection.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ int dload_get_section_info(void *minfo, const char *section_name,
}

#define IPH_SIZE (sizeof(struct image_packet_t) - sizeof(u32))
#define REVERSE_REORDER_MAP(rawmap) ((rawmap) ^ 0x3030303)

/**************************************************************************
* Procedure dload_get_section
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
#define CHNL_IOCSTATEOS 0x8000 /* End Of Stream reached. */

/* Macros for checking I/O Completion status: */
#define CHNL_IS_EOS(ioc) (ioc.status & CHNL_IOCSTATEOS)
#define CHNL_IS_IO_COMPLETE(ioc) (!(ioc.status & ~CHNL_IOCSTATEOS))
#define CHNL_IS_IO_CANCELLED(ioc) (ioc.status & CHNL_IOCSTATCANCEL)
#define CHNL_IS_TIMED_OUT(ioc) (ioc.status & CHNL_IOCSTATTIMEOUT)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@
#define CHNL_STATECANCEL 1 /* I/O was cancelled. */
#define CHNL_STATEEOS 2 /* End Of Stream reached. */

/* Determine if user supplied an event for this channel: */
#define CHNL_IS_USER_EVENT(mode) (mode & CHNL_MODEUSEREVENT)

/* Macros for checking mode: */
#define CHNL_IS_INPUT(mode) (mode & CHNL_MODEFROMDSP)
#define CHNL_IS_OUTPUT(mode) (!CHNL_IS_INPUT(mode))
Expand Down
11 changes: 0 additions & 11 deletions trunk/drivers/staging/tidspbridge/include/dspbridge/dbdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -120,17 +120,6 @@ static inline bool is_valid_proc_event(u32 x)
return (x == 0 || (x & VALID_PROC_EVENT && !(x & ~VALID_PROC_EVENT)));
}

#define IS_VALID_NODE_EVENT(x) (((x) == 0) || \
(((x) & (DSP_NODESTATECHANGE | DSP_NODEMESSAGEREADY)) && \
!((x) & ~(DSP_NODESTATECHANGE | DSP_NODEMESSAGEREADY))))

#define IS_VALID_STRM_EVENT(x) (((x) == 0) || (((x) & (DSP_STREAMDONE | \
DSP_STREAMIOCOMPLETION)) && \
!((x) & ~(DSP_STREAMDONE | \
DSP_STREAMIOCOMPLETION))))

#define IS_VALID_NOTIFY_MASK(x) ((x) & DSP_SIGNALEVENT)

/* The Node UUID structure */
struct dsp_uuid {
u32 ul_data1;
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/staging/tidspbridge/include/dspbridge/io_sm.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@
#define IO_SERVICE 2
#define IO_MAXSERVICE IO_SERVICE

#define DSP_FIELD_ADDR(type, field, base, wordsize) \
((((s32)&(((type *)0)->field)) / wordsize) + (u32)base)

#ifdef CONFIG_TIDSPBRIDGE_DVFS
/* The maximum number of OPPs that are supported */
extern s32 dsp_max_opps;
Expand Down
14 changes: 0 additions & 14 deletions trunk/drivers/staging/tidspbridge/include/dspbridge/mbx_sh.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,22 +177,8 @@
#define MBX_PM_OPP2 1
#define MBX_PM_OPP3 2
#define MBX_PM_OPP4 3
#define MBX_OLDOPP_EXTRACT(OPPMSG) ((0x00F0 & (OPPMSG)) >> 4)
#define MBX_NEWOPP_EXTRACT(OPPMSG) (0x000F & (OPPMSG))
#define MBX_PREVOPP_EXTRACT(OPPMSG) ((0x00F0 & (OPPMSG)) >> 4)
#define MBX_CUROPP_EXTRACT(OPPMSG) (0x000F & (OPPMSG))

/* Bridge Debug Commands */
#define MBX_DBG_SYSPRINTF (MBX_DBG_CLASS + 0x0)

/*
* Useful macros
*/
/* DSP-DMA channel */
#define MBX_SETDDMAVAL(x, y) (MBX_DDMA_CLASS | (x << MBX_DDMA_BUFSHIFT) | \
(y << MBX_DDMA_CHNLSHIFT))

/* Zero-Copy channel */
#define MBX_SETZCPYVAL(x) (MBX_ZCPY_CLASS | (x << MBX_ZCPY_CHNLSHIFT))

#endif /* _MBX_SH_H */
2 changes: 0 additions & 2 deletions trunk/drivers/staging/tidspbridge/rmgr/disp.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@

#define CHNLIOREQS 1

#define SWAP_WORD(x) (((u32)(x) >> 16) | ((u32)(x) << 16))

/*
* ======== disp_object ========
*/
Expand Down
13 changes: 0 additions & 13 deletions trunk/drivers/staging/tidspbridge/rmgr/nldr.c
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,6 @@
#define DELETECODEFLAGBIT 5
#define MAXFLAGS 6

#define IS_INTERNAL(nldr_obj, segid) (((segid) <= MAXSEGID && \
nldr_obj->seg_table[(segid)] & DYNM_INTERNAL) || \
(segid) == MEMINTERNALID)

#define IS_EXTERNAL(nldr_obj, segid) (((segid) <= MAXSEGID && \
nldr_obj->seg_table[(segid)] & DYNM_EXTERNAL) || \
(segid) == MEMEXTERNALID)

#define SWAPLONG(x) ((((x) << 24) & 0xFF000000) | (((x) << 8) & 0xFF0000L) | \
(((x) >> 8) & 0xFF00L) | (((x) >> 24) & 0xFF))

#define SWAPWORD(x) ((((x) << 8) & 0xFF00) | (((x) >> 8) & 0xFF))

/*
* These names may be embedded in overlay sections to identify which
* node phase the section should be overlayed.
Expand Down

0 comments on commit 43b8a70

Please sign in to comment.