Lines Matching defs:dev

297 	dev_dbg(codec->card->dev, "ali_codec_ready: codec is not ready.\n ");
318 dev_err(codec->card->dev, "ali_stimer_read: stimer is not ready.\n");
330 dev_err(codec->card->dev,
362 dev_err(codec->card->dev,
395 dev_dbg(codec->card->dev, "codec_write: reg=%xh data=%xh.\n", reg, val);
411 dev_dbg(codec->card->dev, "codec_read reg=%xh.\n", reg);
452 /* dev_warn(codec->card->dev, "ali5451: reset time out\n"); */
506 dev_dbg(codec->card->dev, "disable_voice_irq channel=%d\n", channel);
519 dev_err(codec->card->dev,
527 dev_dbg(codec->card->dev, "alloc_pcm_channel no. %d.\n", idx);
538 dev_dbg(codec->card->dev,
554 dev_err(codec->card->dev,
569 dev_err(codec->card->dev,
578 dev_err(codec->card->dev, "ali_find_free_channel: no free channels.\n");
586 dev_dbg(codec->card->dev, "free_channel_pcm channel=%d\n", channel);
592 dev_err(codec->card->dev,
606 dev_dbg(codec->card->dev, "stop_voice: channel=%d\n", channel);
647 dev_err(codec->card->dev, "ali_detect_spdif_rate: timeout!\n");
662 dev_err(codec->card->dev, "ali_detect_spdif_rate: timeout!\n");
855 dev_dbg(codec->card->dev,
914 dev_dbg(codec->card->dev, "alloc_voice: type=%d rec=%d\n", type, rec);
921 dev_err(codec->card->dev, "ali_alloc_voice: err.\n");
944 dev_dbg(codec->card->dev, "free_voice: channel=%d\n", pvoice->number);
1125 dev_dbg(codec->card->dev, "trigger: what=%xh whati=%xh\n", what, whati);
1192 dev_dbg(codec->card->dev, "playback_prepare ...\n");
1219 dev_dbg(codec->card->dev, "playback_prepare: eso=%xh count=%xh\n",
1231 dev_dbg(codec->card->dev, "playback_prepare:\n");
1232 dev_dbg(codec->card->dev,
1286 dev_dbg(codec->card->dev, "ali_prepare...\n");
1305 dev_warn(codec->card->dev,
1313 dev_warn(codec->card->dev,
1373 dev_dbg(codec->card->dev, "playback pointer returned cso=%xh.\n", cso);
1631 dev_err(codec->card->dev,
1645 &codec->pci->dev, 64*1024, 128*1024);
1807 dev_err(codec->card->dev,
1828 static int ali_suspend(struct device *dev)
1830 struct snd_card *card = dev_get_drvdata(dev);
1871 static int ali_resume(struct device *dev)
1873 struct snd_card *card = dev_get_drvdata(dev);
1933 dev_dbg(codec->card->dev, "chip initializing ...\n");
1936 dev_err(codec->card->dev, "ali_chip_init: reset 5451 error.\n");
1982 dev_dbg(codec->card->dev, "chip initialize succeed.\n");
2006 dev_dbg(codec->card->dev, "resources allocation ...\n");
2012 if (devm_request_irq(&codec->pci->dev, codec->pci->irq,
2015 dev_err(codec->card->dev, "Unable to request irq.\n");
2020 dev_dbg(codec->card->dev, "resources allocated.\n");
2033 dev_dbg(card->dev, "creating ...\n");
2040 if (dma_set_mask_and_coherent(&pci->dev, DMA_BIT_MASK(31))) {
2041 dev_err(card->dev,
2095 dev_err(card->dev, "cannot find ALi 1533 chip.\n");
2101 dev_err(card->dev, "cannot find ALi 7101 chip.\n");
2111 dev_err(card->dev, "ali create: chip init error.\n");
2116 codec->image = devm_kmalloc(&pci->dev, sizeof(*codec->image),
2119 dev_warn(card->dev, "can't allocate apm buffer\n");
2134 dev_dbg(&pci->dev, "probe ...\n");
2136 err = snd_devm_card_new(&pci->dev, index, id, THIS_MODULE,
2146 dev_dbg(&pci->dev, "mixer building ...\n");
2151 dev_dbg(&pci->dev, "pcm building ...\n");
2164 dev_dbg(&pci->dev, "register card.\n");
2176 return snd_card_free_on_error(&pci->dev, __snd_ali_probe(pci, pci_id));