Lines Matching defs:dev
774 dev_dbg(cm->card->dev, "cannot set dac channels\n");
805 /* dev_dbg(cm->card->dev, "functrl0 = %08x\n", cm->ctrl); */
828 dev_dbg(cm->card->dev, "functrl1 = %08x\n", val);
844 dev_dbg(cm->card->dev, "chformat = %08x\n", val);
882 dev_dbg(cm->card->dev, "functrl0 = %08x\n", cm->ctrl);
930 dev_err(cm->card->dev, "invalid PCM pointer: %#x\n", rem);
1883 &cm->pci->dev, 64*1024, 128*1024);
1905 &cm->pci->dev, 64*1024, 128*1024);
1928 &cm->pci->dev, 64*1024, 128*1024);
2826 static int snd_cmipci_create_gameport(struct cmipci *cm, int dev)
2833 if (joystick_port[dev] == 0)
2836 if (joystick_port[dev] == 1) { /* auto-detect */
2844 io_port = joystick_port[dev];
2849 dev_warn(cm->card->dev, "cannot reserve joystick ports\n");
2855 dev_err(cm->card->dev, "cannot allocate memory for gameport\n");
2861 gameport_set_dev_parent(gp, &cm->pci->dev);
2885 static inline int snd_cmipci_create_gameport(struct cmipci *cm, int dev) { return -ENOSYS; }
2955 dev_err(cm->card->dev,
2962 dev_err(cm->card->dev, "cannot create OPL3 hwdep\n");
2974 int dev, struct cmipci **rcmipci)
3021 dev_err(card->dev, "unable to grab IRQ %d\n", pci->irq);
3036 cm->do_soft_ac3 = soft_ac3[dev];
3134 if (mpu_port[dev])
3141 iomidi = mpu_port[dev];
3155 dev_err(cm->card->dev,
3166 err = snd_cmipci_create_fm(cm, fm_port[dev]);
3201 dev_err(cm->card->dev,
3216 if (snd_cmipci_create_gameport(cm, dev) < 0)
3231 static int dev;
3236 if (dev >= SNDRV_CARDS)
3238 if (! enable[dev]) {
3239 dev++;
3243 err = snd_card_new(&pci->dev, index[dev], id[dev], THIS_MODULE,
3262 err = snd_cmipci_create(card, pci, dev, &cm);
3273 dev++;
3310 static int snd_cmipci_suspend(struct device *dev)
3312 struct snd_card *card = dev_get_drvdata(dev);
3329 static int snd_cmipci_resume(struct device *dev)
3331 struct snd_card *card = dev_get_drvdata(dev);