#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/firmware.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/asoundef.h>
#include <sound/info.h>
#include <asm/io.h>
#include <sound/vx_core.h>
#include "vx_cmd.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("Takashi Iwai <[email protected]>") |
|
| MODULE_DESCRIPTION ("Common routines for Digigram VX drivers") |
|
| MODULE_LICENSE ("GPL") |
|
int | snd_vx_check_reg_bit (struct vx_core *chip, int reg, int mask, int bit, int time) |
|
| EXPORT_SYMBOL (snd_vx_check_reg_bit) |
|
int | vx_send_msg_nolock (struct vx_core *chip, struct vx_rmh *rmh) |
|
int | vx_send_msg (struct vx_core *chip, struct vx_rmh *rmh) |
|
int | vx_send_rih_nolock (struct vx_core *chip, int cmd) |
|
int | vx_send_rih (struct vx_core *chip, int cmd) |
|
int | snd_vx_load_boot_image (struct vx_core *chip, const struct firmware *boot) |
|
| EXPORT_SYMBOL (snd_vx_load_boot_image) |
|
irqreturn_t | snd_vx_irq_handler (int irq, void *dev) |
|
| EXPORT_SYMBOL (snd_vx_irq_handler) |
|
int | snd_vx_dsp_boot (struct vx_core *chip, const struct firmware *boot) |
|
| EXPORT_SYMBOL (snd_vx_dsp_boot) |
|
int | snd_vx_dsp_load (struct vx_core *chip, const struct firmware *dsp) |
|
| EXPORT_SYMBOL (snd_vx_dsp_load) |
|
struct vx_core * | snd_vx_create (struct snd_card *card, struct snd_vx_hardware *hw, struct snd_vx_ops *ops, int extra_size) |
|
| EXPORT_SYMBOL (snd_vx_create) |
|
#define END_OF_RESET_WAIT_TIME 500 /* us */ |
#define MASK_1_WORD_COMMAND 0x00ff7fff |
#define MASK_MORE_THAN_1_WORD_COMMAND 0x00008000 |
snd_vx_create - constructor for struct vx_core : hardware specific record
this function allocates the instance and prepare for the hardware initialization.
return the instance pointer if successful, NULL in error.
Definition at line 780 of file vx_core.c.
snd_vx_dsp_boot - load the DSP boot
Definition at line 655 of file vx_core.c.
snd_vx_dsp_load - load the DSP image
Definition at line 675 of file vx_core.c.
snd_vx_irq_handler - interrupt handler
Definition at line 544 of file vx_core.c.
snd_vx_boot_xilinx - boot up the xilinx interface : the boot record to load
Definition at line 424 of file vx_core.c.