Lines Matching refs:prtd
56 struct atmel_pcm_dma_params *prtd; in atmel_pcm_dma_irq() local
58 prtd = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in atmel_pcm_dma_irq()
60 if (ssc_sr & prtd->mask->ssc_error) { in atmel_pcm_dma_irq()
64 ? "underrun" : "overrun", prtd->name, in atmel_pcm_dma_irq()
68 ssc_writex(prtd->ssc->regs, SSC_CR, prtd->mask->ssc_disable); in atmel_pcm_dma_irq()
72 ssc_readx(prtd->ssc->regs, SSC_RHR); in atmel_pcm_dma_irq()
73 ssc_readx(prtd->ssc->regs, SSC_SR); in atmel_pcm_dma_irq()
81 struct atmel_pcm_dma_params *prtd; in atmel_pcm_configure_dma() local
85 prtd = snd_soc_dai_get_dma_data(asoc_rtd_to_cpu(rtd, 0), substream); in atmel_pcm_configure_dma()
86 ssc = prtd->ssc; in atmel_pcm_configure_dma()
100 prtd->dma_intr_handler = atmel_pcm_dma_irq; in atmel_pcm_configure_dma()