Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
mona.c File Reference
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/pci.h>
#include <linux/module.h>
#include <linux/firmware.h>
#include <linux/slab.h>
#include <sound/core.h>
#include <sound/info.h>
#include <sound/control.h>
#include <sound/tlv.h>
#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/asoundef.h>
#include <sound/initval.h>
#include <asm/io.h>
#include <linux/atomic.h>
#include "echoaudio.h"
#include "mona_dsp.c"
#include "echoaudio_dsp.c"
#include "echoaudio_gml.c"
#include "echoaudio.c"

Go to the source code of this file.

Macros

#define ECHO24_FAMILY
 
#define ECHOCARD_MONA
 
#define ECHOCARD_NAME   "Mona"
 
#define ECHOCARD_HAS_MONITOR
 
#define ECHOCARD_HAS_ASIC
 
#define ECHOCARD_HAS_SUPER_INTERLEAVE
 
#define ECHOCARD_HAS_DIGITAL_IO
 
#define ECHOCARD_HAS_DIGITAL_IN_AUTOMUTE
 
#define ECHOCARD_HAS_DIGITAL_MODE_SWITCH
 
#define ECHOCARD_HAS_EXTERNAL_CLOCK
 
#define ECHOCARD_HAS_ADAT   6
 
#define ECHOCARD_HAS_STEREO_BIG_ENDIAN32
 
#define PX_ANALOG_OUT   0 /* 6 */
 
#define PX_DIGITAL_OUT   6 /* 8 */
 
#define PX_ANALOG_IN   14 /* 4 */
 
#define PX_DIGITAL_IN   18 /* 8 */
 
#define PX_NUM   26
 
#define BX_ANALOG_OUT   0 /* 6 */
 
#define BX_DIGITAL_OUT   6 /* 8 */
 
#define BX_ANALOG_IN   14 /* 4 */
 
#define BX_DIGITAL_IN   18 /* 8 */
 
#define BX_NUM   26
 
#define FW_361_LOADER   0
 
#define FW_MONA_301_DSP   1
 
#define FW_MONA_361_DSP   2
 
#define FW_MONA_301_1_ASIC48   3
 
#define FW_MONA_301_1_ASIC96   4
 
#define FW_MONA_361_1_ASIC48   5
 
#define FW_MONA_361_1_ASIC96   6
 
#define FW_MONA_2_ASIC   7
 

Functions

 MODULE_FIRMWARE ("ea/loader_dsp.fw")
 
 MODULE_FIRMWARE ("ea/mona_301_dsp.fw")
 
 MODULE_FIRMWARE ("ea/mona_361_dsp.fw")
 
 MODULE_FIRMWARE ("ea/mona_301_1_asic_48.fw")
 
 MODULE_FIRMWARE ("ea/mona_301_1_asic_96.fw")
 
 MODULE_FIRMWARE ("ea/mona_361_1_asic_48.fw")
 
 MODULE_FIRMWARE ("ea/mona_361_1_asic_96.fw")
 
 MODULE_FIRMWARE ("ea/mona_2_asic.fw")
 

Macro Definition Documentation

#define BX_ANALOG_IN   14 /* 4 */

Definition at line 42 of file mona.c.

#define BX_ANALOG_OUT   0 /* 6 */

Definition at line 40 of file mona.c.

#define BX_DIGITAL_IN   18 /* 8 */

Definition at line 43 of file mona.c.

#define BX_DIGITAL_OUT   6 /* 8 */

Definition at line 41 of file mona.c.

#define BX_NUM   26

Definition at line 44 of file mona.c.

#define ECHO24_FAMILY

Definition at line 19 of file mona.c.

#define ECHOCARD_HAS_ADAT   6

Definition at line 29 of file mona.c.

#define ECHOCARD_HAS_ASIC

Definition at line 23 of file mona.c.

#define ECHOCARD_HAS_DIGITAL_IN_AUTOMUTE

Definition at line 26 of file mona.c.

#define ECHOCARD_HAS_DIGITAL_IO

Definition at line 25 of file mona.c.

#define ECHOCARD_HAS_DIGITAL_MODE_SWITCH

Definition at line 27 of file mona.c.

#define ECHOCARD_HAS_EXTERNAL_CLOCK

Definition at line 28 of file mona.c.

#define ECHOCARD_HAS_MONITOR

Definition at line 22 of file mona.c.

#define ECHOCARD_HAS_STEREO_BIG_ENDIAN32

Definition at line 30 of file mona.c.

#define ECHOCARD_HAS_SUPER_INTERLEAVE

Definition at line 24 of file mona.c.

#define ECHOCARD_MONA

Definition at line 20 of file mona.c.

#define ECHOCARD_NAME   "Mona"

Definition at line 21 of file mona.c.

#define FW_361_LOADER   0

Definition at line 75 of file mona.c.

#define FW_MONA_2_ASIC   7

Definition at line 82 of file mona.c.

#define FW_MONA_301_1_ASIC48   3

Definition at line 78 of file mona.c.

#define FW_MONA_301_1_ASIC96   4

Definition at line 79 of file mona.c.

#define FW_MONA_301_DSP   1

Definition at line 76 of file mona.c.

#define FW_MONA_361_1_ASIC48   5

Definition at line 80 of file mona.c.

#define FW_MONA_361_1_ASIC96   6

Definition at line 81 of file mona.c.

#define FW_MONA_361_DSP   2

Definition at line 77 of file mona.c.

#define PX_ANALOG_IN   14 /* 4 */

Definition at line 35 of file mona.c.

#define PX_ANALOG_OUT   0 /* 6 */

Definition at line 33 of file mona.c.

#define PX_DIGITAL_IN   18 /* 8 */

Definition at line 36 of file mona.c.

#define PX_DIGITAL_OUT   6 /* 8 */

Definition at line 34 of file mona.c.

#define PX_NUM   26

Definition at line 37 of file mona.c.

Function Documentation

MODULE_FIRMWARE ( "ea/loader_dsp.fw )
MODULE_FIRMWARE ( "ea/mona_301_dsp.fw )
MODULE_FIRMWARE ( "ea/mona_361_dsp.fw )
MODULE_FIRMWARE ( "ea/mona_301_1_asic_48.fw )
MODULE_FIRMWARE ( "ea/mona_301_1_asic_96.fw )
MODULE_FIRMWARE ( "ea/mona_361_1_asic_48.fw )
MODULE_FIRMWARE ( "ea/mona_361_1_asic_96.fw )
MODULE_FIRMWARE ( "ea/mona_2_asic.fw )