struct _snd_wavefront { unsignedlong irq; /* "you were one, one of the few ..." */ unsignedlong base; /* low i/o port address */ struct resource *res_base; /* i/o port resource allocation */
#define mpu_data_port base #define mpu_command_port base + 1 /* write semantics */ #define mpu_status_port base + 1 /* read semantics */ #define data_port base + 2 #define status_port base + 3 /* read semantics */ #define control_port base + 3 /* write semantics */ #define block_port base + 4 /* 16 bit, writeonly */ #define last_block_port base + 6 /* 16 bit, writeonly */
/* FX ports. These are mapped through the ICS2115 to the YS225. The ICS2115 takes care of flipping the relevant pins on the YS225 so that access to each of these ports does the right thing. Note: these are NOT documented by Turtle Beach.
*/
#define fx_status base + 8 #define fx_op base + 8 #define fx_lcr base + 9 #define fx_dsp_addr base + 0xa #define fx_dsp_page base + 0xb #define fx_dsp_lsb base + 0xc #define fx_dsp_msb base + 0xd #define fx_mod_addr base + 0xe #define fx_mod_data base + 0xf
volatileint irq_ok; /* set by interrupt handler */ volatileint irq_cnt; /* ditto */ char debug; /* debugging flags */ int freemem; /* installed RAM, in bytes */
char fw_version[2]; /* major = [0], minor = [1] */ char hw_version[2]; /* major = [0], minor = [1] */ char israw; /* needs Motorola microcode */ char has_fx; /* has FX processor (Tropez+) */ char fx_initialized; /* FX's register pages initialized */ char prog_status[WF_MAX_PROGRAM]; /* WF_SLOT_* */ char patch_status[WF_MAX_PATCH]; /* WF_SLOT_* */ char sample_status[WF_MAX_SAMPLE]; /* WF_ST_* | WF_SLOT_* */ int samples_used; /* how many */ char interrupts_are_midi; /* h/w MPU interrupts enabled ? */ char rom_samples_rdonly; /* can we write on ROM samples */
spinlock_t irq_lock;
wait_queue_head_t interrupt_sleeper;
snd_wavefront_midi_t midi; /* ICS2115 MIDI interface */ struct snd_card *card;
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.