Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
vx_pcm.c File Reference
#include <linux/slab.h>
#include <linux/delay.h>
#include <sound/core.h>
#include <sound/asoundef.h>
#include <sound/pcm.h>
#include <sound/vx_core.h>
#include "vx_cmd.h"

Go to the source code of this file.

Macros

#define MAX_WAIT_FOR_DSP   250
 
#define CAN_START_DELAY   2 /* wait 2ms only before asking if the pipe is ready*/
 
#define WAIT_STATE_DELAY   2 /* wait 2ms after irqA was requested and check if the pipe state toggled*/
 
#define DMA_READ_ALIGN   6 /* hardware alignment for read */
 
#define EVENT_MASK   (END_OF_BUFFER_EVENTS_PENDING|ASYNC_EVENTS_PENDING)
 

Functions

void vx_pcm_update_intr (struct vx_core *chip, unsigned int events)
 
int snd_vx_pcm_new (struct vx_core *chip)
 

Macro Definition Documentation

#define CAN_START_DELAY   2 /* wait 2ms only before asking if the pipe is ready*/

Definition at line 323 of file vx_pcm.c.

#define DMA_READ_ALIGN   6 /* hardware alignment for read */

Definition at line 1030 of file vx_pcm.c.

#define MAX_WAIT_FOR_DSP   250

Definition at line 318 of file vx_pcm.c.

#define WAIT_STATE_DELAY   2 /* wait 2ms after irqA was requested and check if the pipe state toggled*/

Definition at line 324 of file vx_pcm.c.

Function Documentation

int snd_vx_pcm_new ( struct vx_core chip)

Definition at line 1251 of file vx_pcm.c.

void vx_pcm_update_intr ( struct vx_core chip,
unsigned int  events 
)

Definition at line 1136 of file vx_pcm.c.