Lines Matching defs:fmt
88 * Queries NHLT for all the fmt configuration for a particular endpoint and
93 struct nhlt_fmt *fmt, u8 id)
111 if (fmt->fmt_count == 0)
114 fmt_cfg = (struct nhlt_fmt_cfg *)fmt->fmt_config;
115 for (i = 0; i < fmt->fmt_count; i++) {
121 channels = wav_fmt->fmt.channels;
122 bps = wav_fmt->fmt.bits_per_sample;
123 fs = wav_fmt->fmt.samples_per_sec;
136 for (j = i; j < fmt->fmt_count; j++) {
140 if ((fs == wav_fmt->fmt.samples_per_sec) &&
141 (bps == wav_fmt->fmt.bits_per_sample)) {
143 wav_fmt->fmt.channels);
166 first_fmt_cfg = (struct nhlt_fmt_cfg *)fmt->fmt_config;
205 struct nhlt_fmt *fmt, u8 id)
214 fmt_cfg = (struct nhlt_fmt_cfg *)fmt->fmt_config;
252 struct nhlt_fmt *fmt;
261 fmt = (struct nhlt_fmt *)(epnt->config.caps
264 skl_get_ssp_clks(skl, ssp_clks, fmt, id);
265 skl_get_mclk(skl, ssp_clks, fmt, id);