Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
chnldefs.h File Reference

Go to the source code of this file.

Data Structures

struct  chnl_attr
 
struct  chnl_ioc
 

Macros

#define CHNL_PICKFREE   (~0UL) /* Let manager pick a free channel. */
 
#define CHNL_MODETODSP   0 /* Data streaming to the DSP. */
 
#define CHNL_MODEFROMDSP   1 /* Data streaming from the DSP. */
 
#define CHNL_IOCINFINITE   0xffffffff /* Wait forever for IO completion. */
 
#define CHNL_IOCNOWAIT   0x0 /* Dequeue an IOC, if available. */
 
#define CHNL_IOCSTATCOMPLETE   0x0000 /* IO Completed. */
 
#define CHNL_IOCSTATCANCEL   0x0002 /* IO was cancelled */
 
#define CHNL_IOCSTATTIMEOUT   0x0008 /* Wait for IOC timed out. */
 
#define CHNL_IOCSTATEOS   0x8000 /* End Of Stream reached. */
 
#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)
 

Macro Definition Documentation

#define CHNL_IOCINFINITE   0xffffffff /* Wait forever for IO completion. */

Definition at line 30 of file chnldefs.h.

#define CHNL_IOCNOWAIT   0x0 /* Dequeue an IOC, if available. */

Definition at line 31 of file chnldefs.h.

#define CHNL_IOCSTATCANCEL   0x0002 /* IO was cancelled */

Definition at line 35 of file chnldefs.h.

#define CHNL_IOCSTATCOMPLETE   0x0000 /* IO Completed. */

Definition at line 34 of file chnldefs.h.

#define CHNL_IOCSTATEOS   0x8000 /* End Of Stream reached. */

Definition at line 37 of file chnldefs.h.

#define CHNL_IOCSTATTIMEOUT   0x0008 /* Wait for IOC timed out. */

Definition at line 36 of file chnldefs.h.

#define CHNL_IS_IO_CANCELLED (   ioc)    (ioc.status & CHNL_IOCSTATCANCEL)

Definition at line 41 of file chnldefs.h.

#define CHNL_IS_IO_COMPLETE (   ioc)    (!(ioc.status & ~CHNL_IOCSTATEOS))

Definition at line 40 of file chnldefs.h.

#define CHNL_IS_TIMED_OUT (   ioc)    (ioc.status & CHNL_IOCSTATTIMEOUT)

Definition at line 42 of file chnldefs.h.

#define CHNL_MODEFROMDSP   1 /* Data streaming from the DSP. */

Definition at line 27 of file chnldefs.h.

#define CHNL_MODETODSP   0 /* Data streaming to the DSP. */

Definition at line 26 of file chnldefs.h.

#define CHNL_PICKFREE   (~0UL) /* Let manager pick a free channel. */

Definition at line 23 of file chnldefs.h.