• Home
  • Raw
  • Download

Lines Matching refs:dai_id

111 	unsigned int dai_id = cpu_dai->driver->id;  in lpass_platform_pcmops_open()  local
113 component->id = dai_id; in lpass_platform_pcmops_open()
122 dma_ch = v->alloc_dma_channel(drvdata, dir, dai_id); in lpass_platform_pcmops_open()
173 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_close() local
176 if (dai_id == LPASS_DP_RX) in lpass_platform_pcmops_close()
181 v->free_dma_channel(drvdata, data->dma_ch, dai_id); in lpass_platform_pcmops_close()
204 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_hw_params() local
208 if (dai_id == LPASS_DP_RX) in lpass_platform_pcmops_hw_params()
237 switch (dai_id) { in lpass_platform_pcmops_hw_params()
273 dev_err(soc_runtime->dev, "%s: invalid interface: %d\n", __func__, dai_id); in lpass_platform_pcmops_hw_params()
305 regval = (dai_id == LPASS_DP_RX ? in lpass_platform_pcmops_hw_params()
310 regval = (dai_id == LPASS_DP_RX ? in lpass_platform_pcmops_hw_params()
315 regval = (dai_id == LPASS_DP_RX ? in lpass_platform_pcmops_hw_params()
320 regval = (dai_id == LPASS_DP_RX ? in lpass_platform_pcmops_hw_params()
358 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_hw_free() local
360 if (dai_id == LPASS_DP_RX) in lpass_platform_pcmops_hw_free()
365 reg = LPAIF_DMACTL_REG(v, pcm_data->dma_ch, substream->stream, dai_id); in lpass_platform_pcmops_hw_free()
387 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_prepare() local
392 if (dai_id == LPASS_DP_RX) { in lpass_platform_pcmops_prepare()
407 ret = regmap_write(map, LPAIF_DMABASE_REG(v, ch, dir, dai_id), in lpass_platform_pcmops_prepare()
415 ret = regmap_write(map, LPAIF_DMABUFF_REG(v, ch, dir, dai_id), in lpass_platform_pcmops_prepare()
423 ret = regmap_write(map, LPAIF_DMAPER_REG(v, ch, dir, dai_id), in lpass_platform_pcmops_prepare()
457 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_trigger() local
462 if (dai_id == LPASS_DP_RX) { in lpass_platform_pcmops_trigger()
486 switch (dai_id) { in lpass_platform_pcmops_trigger()
525 dev_err(soc_runtime->dev, "%s: invalid %d interface\n", __func__, dai_id); in lpass_platform_pcmops_trigger()
550 switch (dai_id) { in lpass_platform_pcmops_trigger()
576 dev_err(soc_runtime->dev, "%s: invalid %d interface\n", __func__, dai_id); in lpass_platform_pcmops_trigger()
605 unsigned int dai_id = cpu_dai->driver->id; in lpass_platform_pcmops_pointer() local
607 if (dai_id == LPASS_DP_RX) in lpass_platform_pcmops_pointer()
615 LPAIF_DMABASE_REG(v, ch, dir, dai_id), &base_addr); in lpass_platform_pcmops_pointer()
623 LPAIF_DMACURR_REG(v, ch, dir, dai_id), &curr_addr); in lpass_platform_pcmops_pointer()
655 unsigned int dai_id = cpu_dai->driver->id; in lpass_dma_interrupt_handler() local
657 switch (dai_id) { in lpass_dma_interrupt_handler()
675 dev_err(soc_runtime->dev, "%s: invalid %d interface\n", __func__, dai_id); in lpass_dma_interrupt_handler()