Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
wavefront_fx.c File Reference
#include <asm/io.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/wait.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/firmware.h>
#include <sound/core.h>
#include <sound/snd_wavefront.h>
#include <sound/initval.h>

Go to the source code of this file.

Macros

#define FX_LSB_TRANSFER   0x01 /* transfer after DSP LSB byte written */
 
#define FX_MSB_TRANSFER   0x02 /* transfer after DSP MSB byte written */
 
#define FX_AUTO_INCR   0x04 /* auto-increment DSP address after transfer */
 
#define WAIT_IDLE   0xff
 

Functions

int snd_wavefront_fx_detect (snd_wavefront_t *dev)
 
int snd_wavefront_fx_open (struct snd_hwdep *hw, struct file *file)
 
int snd_wavefront_fx_release (struct snd_hwdep *hw, struct file *file)
 
int snd_wavefront_fx_ioctl (struct snd_hwdep *sdev, struct file *file, unsigned int cmd, unsigned long arg)
 
int __devinit snd_wavefront_fx_start (snd_wavefront_t *dev)
 
 MODULE_FIRMWARE ("yamaha/yss225_registers.bin")
 

Macro Definition Documentation

#define FX_AUTO_INCR   0x04 /* auto-increment DSP address after transfer */

Definition at line 35 of file wavefront_fx.c.

#define FX_LSB_TRANSFER   0x01 /* transfer after DSP LSB byte written */

Definition at line 33 of file wavefront_fx.c.

#define FX_MSB_TRANSFER   0x02 /* transfer after DSP MSB byte written */

Definition at line 34 of file wavefront_fx.c.

#define WAIT_IDLE   0xff

Definition at line 37 of file wavefront_fx.c.

Function Documentation

MODULE_FIRMWARE ( "yamaha/yss225_registers.bin"  )
int snd_wavefront_fx_detect ( snd_wavefront_t dev)

Definition at line 129 of file wavefront_fx.c.

int snd_wavefront_fx_ioctl ( struct snd_hwdep sdev,
struct file file,
unsigned int  cmd,
unsigned long  arg 
)

Definition at line 165 of file wavefront_fx.c.

int snd_wavefront_fx_open ( struct snd_hwdep hw,
struct file file 
)

Definition at line 147 of file wavefront_fx.c.

int snd_wavefront_fx_release ( struct snd_hwdep hw,
struct file file 
)

Definition at line 157 of file wavefront_fx.c.

int __devinit snd_wavefront_fx_start ( snd_wavefront_t dev)

Definition at line 244 of file wavefront_fx.c.