Lines Matching defs:snd_sb
50 struct snd_sb { struct
51 unsigned long port; /* base port of DSP chip */
52 struct resource *res_port;
53 unsigned long mpu_port; /* MPU port for SB DSP 4.0+ */
54 int irq; /* IRQ number of DSP chip */
55 int dma8; /* 8-bit DMA */
56 int dma16; /* 16-bit DMA */
57 unsigned short version; /* version of DSP chip */
58 enum sb_hw_type hardware; /* see to SB_HW_XXXX */
60 unsigned long alt_port; /* alternate port (ALS4000) */
61 struct pci_dev *pci; /* ALS4000 */
63 unsigned int open; /* see to SB_OPEN_XXXX for sb8 */
65 unsigned int mode; /* current mode of stream */
66 unsigned int force_mode16; /* force 16-bit mode of streams */
67 unsigned int locked_rate; /* sb16 duplex */
68 unsigned int playback_format;
69 unsigned int capture_format;
70 struct timer_list midi_timer;
71 unsigned int p_dma_size;
72 unsigned int p_period_size;
73 unsigned int c_dma_size;
74 unsigned int c_period_size;
76 spinlock_t mixer_lock;
78 char name[32];
80 void *csp; /* used only when CONFIG_SND_SB16_CSP is set */
82 struct snd_card *card;
83 struct snd_pcm *pcm;
84 struct snd_pcm_substream *playback_substream;
85 struct snd_pcm_substream *capture_substream;
87 struct snd_rawmidi *rmidi;
88 struct snd_rawmidi_substream *midi_substream_input;
89 struct snd_rawmidi_substream *midi_substream_output;
90 irq_handler_t rmidi_callback;
92 spinlock_t reg_lock;
93 spinlock_t open_lock;
94 spinlock_t midi_input_lock;
96 struct snd_info_entry *proc_entry;
99 unsigned char saved_regs[0x20];