Lines Matching defs:device

253 #define CM_REG_DEV		0x20		/* read: hardware device version */
383 * flags to check device open/close
444 unsigned int device; /* device ID */
1286 /* playback (via device #2) - enable spdif always */
1379 /* capture with spdif (via device #2) */
1584 * check device open/close
1590 /* FIXME: a file should wait until the device becomes free
1873 static int snd_cmipci_pcm_new(struct cmipci *cm, int device)
1878 err = snd_pcm_new(cm->card, cm->card->driver, device, 1, 1, &pcm);
1896 static int snd_cmipci_pcm2_new(struct cmipci *cm, int device)
1901 err = snd_pcm_new(cm->card, cm->card->driver, device, 1, 0, &pcm);
1918 static int snd_cmipci_pcm_spdif_new(struct cmipci *cm, int device)
1923 err = snd_pcm_new(cm->card, cm->card->driver, device, 1, 1, &pcm);
2409 #if 0 /* these will be controlled in pcm device */
2594 #if 0 /* controlled in pcm device */
2681 if (cm->device == PCI_DEVICE_ID_CMEDIA_CM8738 ||
2682 cm->device == PCI_DEVICE_ID_CMEDIA_CM8738B) {
2691 kctl->id.device = pcm_spdif_device;
2696 kctl->id.device = pcm_spdif_device;
2701 kctl->id.device = pcm_spdif_device;
2952 "no OPL device at %#lx, skipping...\n",
2991 cm->device = pci->device;
3023 if (pci->device != PCI_DEVICE_ID_CMEDIA_CM8338A &&
3024 pci->device != PCI_DEVICE_ID_CMEDIA_CM8338B)
3066 switch (pci->device) {
3077 val = pci->device < 0x110 ? 8338 : 8738;
3189 "no UART401 device at 0x%lx\n", iomidi);
3232 switch (pci->device) {
3286 static int snd_cmipci_suspend(struct device *dev)
3305 static int snd_cmipci_resume(struct device *dev)