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

Go to the source code of this file.

Macros

#define SNDRV_OS_MINORS   256
 
#define SNDRV_MINOR_DEVICES   32
 
#define SNDRV_MINOR_CARD(minor)   ((minor) >> 5)
 
#define SNDRV_MINOR_DEVICE(minor)   ((minor) & 0x001f)
 
#define SNDRV_MINOR(card, dev)   (((card) << 5) | (dev))
 
#define SNDRV_MINOR_CONTROL   0 /* 0 */
 
#define SNDRV_MINOR_GLOBAL   1 /* 1 */
 
#define SNDRV_MINOR_SEQUENCER   1 /* SNDRV_MINOR_GLOBAL + 0 * 32 */
 
#define SNDRV_MINOR_TIMER   33 /* SNDRV_MINOR_GLOBAL + 1 * 32 */
 
#define SNDRV_MINOR_COMPRESS   2 /* 2 - 3 */
 
#define SNDRV_MINOR_HWDEP   4 /* 4 - 7 */
 
#define SNDRV_MINOR_RAWMIDI   8 /* 8 - 15 */
 
#define SNDRV_MINOR_PCM_PLAYBACK   16 /* 16 - 23 */
 
#define SNDRV_MINOR_PCM_CAPTURE   24 /* 24 - 31 */
 
#define SNDRV_DEVICE_TYPE_CONTROL   SNDRV_MINOR_CONTROL
 
#define SNDRV_DEVICE_TYPE_HWDEP   SNDRV_MINOR_HWDEP
 
#define SNDRV_DEVICE_TYPE_RAWMIDI   SNDRV_MINOR_RAWMIDI
 
#define SNDRV_DEVICE_TYPE_PCM_PLAYBACK   SNDRV_MINOR_PCM_PLAYBACK
 
#define SNDRV_DEVICE_TYPE_PCM_CAPTURE   SNDRV_MINOR_PCM_CAPTURE
 
#define SNDRV_DEVICE_TYPE_SEQUENCER   SNDRV_MINOR_SEQUENCER
 
#define SNDRV_DEVICE_TYPE_TIMER   SNDRV_MINOR_TIMER
 
#define SNDRV_DEVICE_TYPE_COMPRESS   SNDRV_MINOR_COMPRESS
 
#define SNDRV_MINOR_HWDEPS   4
 
#define SNDRV_MINOR_RAWMIDIS   8
 
#define SNDRV_MINOR_PCMS   8
 

Macro Definition Documentation

#define SNDRV_DEVICE_TYPE_COMPRESS   SNDRV_MINOR_COMPRESS

Definition at line 52 of file minors.h.

#define SNDRV_DEVICE_TYPE_CONTROL   SNDRV_MINOR_CONTROL

Definition at line 45 of file minors.h.

#define SNDRV_DEVICE_TYPE_HWDEP   SNDRV_MINOR_HWDEP

Definition at line 46 of file minors.h.

#define SNDRV_DEVICE_TYPE_PCM_CAPTURE   SNDRV_MINOR_PCM_CAPTURE

Definition at line 49 of file minors.h.

#define SNDRV_DEVICE_TYPE_PCM_PLAYBACK   SNDRV_MINOR_PCM_PLAYBACK

Definition at line 48 of file minors.h.

#define SNDRV_DEVICE_TYPE_RAWMIDI   SNDRV_MINOR_RAWMIDI

Definition at line 47 of file minors.h.

#define SNDRV_DEVICE_TYPE_SEQUENCER   SNDRV_MINOR_SEQUENCER

Definition at line 50 of file minors.h.

#define SNDRV_DEVICE_TYPE_TIMER   SNDRV_MINOR_TIMER

Definition at line 51 of file minors.h.

#define SNDRV_MINOR (   card,
  dev 
)    (((card) << 5) | (dev))

Definition at line 29 of file minors.h.

#define SNDRV_MINOR_CARD (   minor)    ((minor) >> 5)

Definition at line 27 of file minors.h.

#define SNDRV_MINOR_COMPRESS   2 /* 2 - 3 */

Definition at line 38 of file minors.h.

#define SNDRV_MINOR_CONTROL   0 /* 0 */

Definition at line 32 of file minors.h.

#define SNDRV_MINOR_DEVICE (   minor)    ((minor) & 0x001f)

Definition at line 28 of file minors.h.

#define SNDRV_MINOR_DEVICES   32

Definition at line 26 of file minors.h.

#define SNDRV_MINOR_GLOBAL   1 /* 1 */

Definition at line 33 of file minors.h.

#define SNDRV_MINOR_HWDEP   4 /* 4 - 7 */

Definition at line 39 of file minors.h.

#define SNDRV_MINOR_HWDEPS   4

Definition at line 69 of file minors.h.

#define SNDRV_MINOR_PCM_CAPTURE   24 /* 24 - 31 */

Definition at line 42 of file minors.h.

#define SNDRV_MINOR_PCM_PLAYBACK   16 /* 16 - 23 */

Definition at line 41 of file minors.h.

#define SNDRV_MINOR_PCMS   8

Definition at line 71 of file minors.h.

#define SNDRV_MINOR_RAWMIDI   8 /* 8 - 15 */

Definition at line 40 of file minors.h.

#define SNDRV_MINOR_RAWMIDIS   8

Definition at line 70 of file minors.h.

#define SNDRV_MINOR_SEQUENCER   1 /* SNDRV_MINOR_GLOBAL + 0 * 32 */

Definition at line 34 of file minors.h.

#define SNDRV_MINOR_TIMER   33 /* SNDRV_MINOR_GLOBAL + 1 * 32 */

Definition at line 35 of file minors.h.

#define SNDRV_OS_MINORS   256

Definition at line 24 of file minors.h.