Lines Matching defs:cm_state
338 struct cm_state { struct
340 unsigned int magic;
343 struct list_head devs;
346 struct pci_dev *dev;
348 int dev_audio; /* soundcore stuff */
349 int dev_mixer;
350 int dev_midi;
351 int dev_dmfm;
353 unsigned int iosb, iobase, iosynth,
354 iomidi, iogame, irq; /* hardware resources */
355 unsigned short deviceid; /* pci_id */
357 struct { /* mixer stuff */
360 } mix;
362 unsigned int rateadc, ratedac; /* wave stuff */
363 unsigned char fmt, enable;
365 spinlock_t lock;
366 struct semaphore open_sem;
367 mode_t open_mode;
368 wait_queue_head_t open_wait;
370 struct dmabuf {
393 } dma_dac, dma_adc;
395 struct { /* midi stuff */
403 } midi;
405 struct gameport gameport;
407 int chip_version;
408 int max_channels;
409 int curr_channels;
410 int speakers; /* number of speakers */
411 int capability; /* HW capability, various for chip versions */
413 int status; /* HW or SW state */
415 int spdif_counter; /* spdif frame counter */