Searched refs:cs4270 (Results 1 – 2 of 2) sorted by relevance
242 struct cs4270_private *cs4270 = snd_soc_codec_get_drvdata(codec); in cs4270_set_dai_sysclk() local244 cs4270->mclk = freq; in cs4270_set_dai_sysclk()265 struct cs4270_private *cs4270 = snd_soc_codec_get_drvdata(codec); in cs4270_set_dai_fmt() local271 cs4270->mode = format & SND_SOC_DAIFMT_FORMAT_MASK; in cs4270_set_dai_fmt()281 cs4270->slave_mode = 1; in cs4270_set_dai_fmt()284 cs4270->slave_mode = 0; in cs4270_set_dai_fmt()314 struct cs4270_private *cs4270 = snd_soc_codec_get_drvdata(codec); in cs4270_hw_params() local324 ratio = cs4270->mclk / rate; /* MCLK/LRCK ratio */ in cs4270_hw_params()343 if (cs4270->slave_mode) in cs4270_hw_params()359 switch (cs4270->mode) { in cs4270_hw_params()[all …]
23 snd-soc-cs4270-objs := cs4270.o150 obj-$(CONFIG_SND_SOC_CS4270) += snd-soc-cs4270.o