Lines Matching refs:clk_id
950 int clk_id, int freq) in cpcap_set_sysclk() argument
977 if (clk_id < 0 || clk_id > 1) { in cpcap_set_sysclk()
978 dev_err(cpcap->component->dev, "invalid clk id %d", clk_id); in cpcap_set_sysclk()
982 clk_id ? BIT(clkidshift) : 0); in cpcap_set_sysclk()
1028 cpcap->codec_clk_id = clk_id; in cpcap_set_sysclk()
1126 static int cpcap_hifi_set_dai_sysclk(struct snd_soc_dai *codec_dai, int clk_id, in cpcap_hifi_set_dai_sysclk() argument
1133 dev_dbg(dev, "HiFi setup sysclk: clk_id=%u, freq=%u", clk_id, freq); in cpcap_hifi_set_dai_sysclk()
1134 return cpcap_set_sysclk(cpcap, CPCAP_DAI_HIFI, clk_id, freq); in cpcap_hifi_set_dai_sysclk()
1283 static int cpcap_voice_set_dai_sysclk(struct snd_soc_dai *codec_dai, int clk_id, in cpcap_voice_set_dai_sysclk() argument
1290 clk_id, freq); in cpcap_voice_set_dai_sysclk()
1291 return cpcap_set_sysclk(cpcap, CPCAP_DAI_VOICE, clk_id, freq); in cpcap_voice_set_dai_sysclk()