diff options
author | Olof Johansson <olof@lixom.net> | 2008-03-05 13:25:45 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2008-03-05 13:26:35 -0500 |
commit | f37203b5ccaf6d58cb5ca6b1840e40f3b587109c (patch) | |
tree | 9f598d9e951c9927220a7fbc27d45d58b2d4d2c1 /include/asm-powerpc/pasemi_dma.h | |
parent | afea3278f73c14271ee60ca7593ad74b7a946486 (diff) |
[POWERPC] pasemi: Add flag management functions to dma_lib
Add functions to manage the channel syncronization flags to dma_lib
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'include/asm-powerpc/pasemi_dma.h')
-rw-r--r-- | include/asm-powerpc/pasemi_dma.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-powerpc/pasemi_dma.h b/include/asm-powerpc/pasemi_dma.h index 35577b6dec41..ffd413d7dfb0 100644 --- a/include/asm-powerpc/pasemi_dma.h +++ b/include/asm-powerpc/pasemi_dma.h | |||
@@ -466,6 +466,12 @@ extern void *pasemi_dma_alloc_buf(struct pasemi_dmachan *chan, int size, | |||
466 | extern void pasemi_dma_free_buf(struct pasemi_dmachan *chan, int size, | 466 | extern void pasemi_dma_free_buf(struct pasemi_dmachan *chan, int size, |
467 | dma_addr_t *handle); | 467 | dma_addr_t *handle); |
468 | 468 | ||
469 | /* Routines to allocate flags (events) for channel syncronization */ | ||
470 | extern int pasemi_dma_alloc_flag(void); | ||
471 | extern void pasemi_dma_free_flag(int flag); | ||
472 | extern void pasemi_dma_set_flag(int flag); | ||
473 | extern void pasemi_dma_clear_flag(int flag); | ||
474 | |||
469 | /* Initialize the library, must be called before any other functions */ | 475 | /* Initialize the library, must be called before any other functions */ |
470 | extern int pasemi_dma_init(void); | 476 | extern int pasemi_dma_init(void); |
471 | 477 | ||