Lines Matching refs:psc_dma
41 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(snd_soc_rtd_to_cpu(rtd, 0)); in psc_i2s_hw_params() local
44 dev_dbg(psc_dma->dev, "%s(substream=%p) p_size=%i p_bytes=%i" in psc_i2s_hw_params()
64 dev_dbg(psc_dma->dev, "invalid format\n"); in psc_i2s_hw_params()
67 out_be32(&psc_dma->psc_regs->sicr, psc_dma->sicr | mode); in psc_i2s_hw_params()
89 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(cpu_dai); in psc_i2s_set_sysclk() local
90 dev_dbg(psc_dma->dev, "psc_i2s_set_sysclk(cpu_dai=%p, dir=%i)\n", in psc_i2s_set_sysclk()
108 struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(cpu_dai); in psc_i2s_set_fmt() local
109 dev_dbg(psc_dma->dev, "psc_i2s_set_fmt(cpu_dai=%p, format=%i)\n", in psc_i2s_set_fmt()
162 struct psc_dma *psc_dma; in psc_i2s_of_probe() local
176 psc_dma = dev_get_drvdata(&op->dev); in psc_i2s_of_probe()
177 regs = psc_dma->psc_regs; in psc_i2s_of_probe()
180 psc_dma->sicr = MPC52xx_PSC_SICR_DTS1 | MPC52xx_PSC_SICR_I2S | in psc_i2s_of_probe()
182 out_be32(&psc_dma->psc_regs->sicr, in psc_i2s_of_probe()
183 psc_dma->sicr | MPC52xx_PSC_SICR_SIM_CODEC_8); in psc_i2s_of_probe()
205 out_8(&psc_dma->psc_regs->command, in psc_i2s_of_probe()