Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337295
b: refs/heads/master
c: 7f7a252
h: refs/heads/master
i:
  337293: e6097ec
  337291: e47fb7f
  337287: 158f8dd
  337279: 0bc01fe
v: v3
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Oct 26, 2012
1 parent 90867d3 commit 457ef99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 83 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: 4c956106d483a2186c6ea97ae93cd88b2cdbea53
refs/heads/master: 7f7a252cd0dc65565f0fd62a8364670dac77e21b
82 changes: 0 additions & 82 deletions trunk/drivers/staging/csr/csr_framework_ext.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,88 +34,6 @@ extern "C" {

#define CSR_EVENT_WAIT_INFINITE ((u16) 0xFFFF)

/*----------------------------------------------------------------------------*
* NAME
* CsrEventCreate
*
* DESCRIPTION
* Creates an event and returns a handle to the created event.
*
* RETURNS
* Possible values:
* CSR_RESULT_SUCCESS in case of success
* CSR_FE_RESULT_NO_MORE_EVENTS in case of out of event resources
* CSR_FE_RESULT_INVALID_POINTER in case the eventHandle pointer is invalid
*
*----------------------------------------------------------------------------*/
CsrResult CsrEventCreate(CsrEventHandle *eventHandle);

/*----------------------------------------------------------------------------*
* NAME
* CsrEventWait
*
* DESCRIPTION
* Wait fore one or more of the event bits to be set.
*
* RETURNS
* Possible values:
* CSR_RESULT_SUCCESS in case of success
* CSR_FE_RESULT_TIMEOUT in case of timeout
* CSR_FE_RESULT_INVALID_HANDLE in case the eventHandle is invalid
* CSR_FE_RESULT_INVALID_POINTER in case the eventBits pointer is invalid
*
*----------------------------------------------------------------------------*/
CsrResult CsrEventWait(CsrEventHandle *eventHandle, u16 timeoutInMs, u32 *eventBits);

/*----------------------------------------------------------------------------*
* NAME
* CsrEventSet
*
* DESCRIPTION
* Set an event.
*
* RETURNS
* Possible values:
* CSR_RESULT_SUCCESS in case of success
* CSR_FE_RESULT_INVALID_HANDLE in case the eventHandle is invalid
*
*----------------------------------------------------------------------------*/
CsrResult CsrEventSet(CsrEventHandle *eventHandle, u32 eventBits);

/*----------------------------------------------------------------------------*
* NAME
* CsrEventDestroy
*
* DESCRIPTION
* Destroy the event associated.
*
* RETURNS
* void
*
*----------------------------------------------------------------------------*/
void CsrEventDestroy(CsrEventHandle *eventHandle);

/*----------------------------------------------------------------------------*
* NAME
* CsrGlobalMutexUnlock
*
* DESCRIPTION
* Unlock the global mutex.
*
*----------------------------------------------------------------------------*/
void CsrGlobalMutexUnlock(void);

/*----------------------------------------------------------------------------*
* NAME
* CsrThreadSleep
*
* DESCRIPTION
* Sleep for a given period.
*
* RETURNS
* void
*
*----------------------------------------------------------------------------*/
void CsrThreadSleep(u16 sleepTimeInMs);

#ifdef __cplusplus
Expand Down

0 comments on commit 457ef99

Please sign in to comment.