Lines Matching refs:format
316 * The constraints for format/channel is to match with the number of 8bit
324 snd_pcm_format_t format = params_format(params);
327 switch (snd_pcm_format_physical_width(format)) {
341 dev_err(qmc_dai->dev, "format physical width %u not supported\n",
342 snd_pcm_format_physical_width(format));
375 snd_pcm_format_t format;
387 pcm_for_each_format(format) {
388 if (snd_mask_test_format(f_old, format)) {
389 if (snd_pcm_format_physical_width(format) <= slot_width)
390 snd_mask_set_format(&f_new, format);
455 dev_err(dai->dev, "Failed to add format rule (%d)\n", ret);
556 snd_pcm_format_t format;
564 pcm_for_each_format(format) {
566 * Support format other than little-endian (ie big-endian or
569 if (snd_pcm_format_little_endian(format) == 1)
573 format_width = snd_pcm_format_physical_width(format);
584 formats_mask |= pcm_format_to_bits(format);