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;
407 regmap_update_bits(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][0],
410 regmap_write(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][1],
413 adav80x->dai_fmt[dai->id] = fmt & SND_SOC_DAIFMT_FORMAT_MASK;
454 struct snd_soc_dai *dai, struct snd_pcm_hw_params *params)
476 regmap_update_bits(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][0],
483 struct snd_soc_dai *dai, struct snd_pcm_hw_params *params)
488 if (adav80x->dai_fmt[dai->id] != SND_SOC_DAIFMT_RIGHT_J)
508 regmap_update_bits(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][1],
515 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai)
517 struct snd_soc_component *component = dai->component;
525 adav80x_set_playback_pcm_format(component, dai, params);
528 adav80x_set_capture_pcm_format(component, dai, params);
724 struct snd_soc_dai *dai)
726 struct snd_soc_component *component = dai->component;
737 struct snd_soc_dai *dai)
739 struct snd_soc_component *component = dai->component;