Lines Matching refs:dai
365 static int adav80x_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt)
367 struct snd_soc_component *component = dai->component;
406 regmap_update_bits(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][0],
409 regmap_write(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][1],
412 adav80x->dai_fmt[dai->id] = fmt & SND_SOC_DAIFMT_FORMAT_MASK;
453 struct snd_soc_dai *dai, struct snd_pcm_hw_params *params)
475 regmap_update_bits(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][0],
482 struct snd_soc_dai *dai, struct snd_pcm_hw_params *params)
487 if (adav80x->dai_fmt[dai->id] != SND_SOC_DAIFMT_RIGHT_J)
507 regmap_update_bits(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][1],
514 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai)
516 struct snd_soc_component *component = dai->component;
524 adav80x_set_playback_pcm_format(component, dai, params);
527 adav80x_set_capture_pcm_format(component, dai, params);
723 struct snd_soc_dai *dai)
725 struct snd_soc_component *component = dai->component;
736 struct snd_soc_dai *dai)
738 struct snd_soc_component *component = dai->component;