Home
last modified time | relevance | path

Searched refs:wfmt (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/sound/soc/intel/skylake/
Dskl-nhlt.c21 struct wav_fmt *wfmt; in skl_get_specific_cfg() local
28 wfmt = &fmt_config->fmt_ext.fmt; in skl_get_specific_cfg()
29 dev_dbg(dev, "ch=%d fmt=%d s_rate=%d\n", wfmt->channels, in skl_get_specific_cfg()
30 wfmt->bits_per_sample, wfmt->samples_per_sec); in skl_get_specific_cfg()
31 if (wfmt->channels == no_ch && wfmt->bits_per_sample == bps) { in skl_get_specific_cfg()
40 if (wfmt->samples_per_sec == rate) in skl_get_specific_cfg()
Dskl-ssp-clk.c78 struct wav_fmt *wfmt; in skl_fill_clk_ipc() local
86 wfmt = &fmt_cfg->fmt_ext.fmt; in skl_fill_clk_ipc()
91 ipc->sclk_fs.sampling_frequency = wfmt->samples_per_sec; in skl_fill_clk_ipc()
92 ipc->sclk_fs.bit_depth = wfmt->bits_per_sample; in skl_fill_clk_ipc()
95 ipc->sclk_fs.number_of_channels = wfmt->channels; in skl_fill_clk_ipc()