Lines Matching defs:format
154 [SOF_IN_AUDIO_FORMAT_TOKENS] = {"IPC4 Input Audio format tokens",
156 [SOF_OUT_AUDIO_FORMAT_TOKENS] = {"IPC4 Output Audio format tokens",
162 [SOF_AUDIO_FMT_NUM_TOKENS] = {"IPC4 Audio format number tokens",
193 /* For non-process modules, base module config format is used for all input pins */
201 * If there are multiple input formats available for a pin, the first available format
236 dev_err(scomp->dev, "Failed to parse audio format token count\n");
1025 /* update hw_params based on the audio stream format */
1111 /* pick the first format if there's only one available or if all formats are the same */
1118 * if there are multiple output formats, then choose the output format that matches
1149 dev_err(sdev->dev, "invalid pcm frame format %d\n", params_format(params));
1198 dev_dbg(sdev->dev, "matched audio format index for %uHz, %ubit, %u channels: %d\n",
1205 dev_err(sdev->dev, "%s: Unsupported audio format: %uHz, %ubit, %u channels\n",
1211 /* copy input format */
1467 /* Set SCS bit for S16_LE format only */
1523 * When there is format conversion within a pipeline, the number of supported
1525 * is no format conversion, the DAI copiers input format must match that of the
1563 /* set the reference params for output format selection */
1602 * if the output format is the same across all available output formats, choose
1620 dev_err(sdev->dev, "Failed to initialize output format for %s",
1626 * Set the output format. Current topology defines pin 0 input and output formats in pairs.
1628 * So pick the output audio format with the same index as the chosen
1629 * input format. This logic will need to be updated when the format definitions
1635 dev_dbg(sdev->dev, "Output audio format for %s\n", swidget->widget->name);
1838 dev_err(sdev->dev, "Failed to initialize output format for %s",
1875 dev_err(sdev->dev, "Failed to initialize output format for %s",
1907 * format, which is restricted to only deal with DAI's with a single format for now.
1916 * SRC does not perform format conversion, so the output channels and valid bit depth must
1934 dev_err(sdev->dev, "Failed to initialize output format for %s",
1961 /* set number of pins, offset of pin format and format list to search based on pin type */
1976 /* Pin 0 audio formats are derived from the base config input/output format */
1990 * is more than one format specified for a pin, this will pick the first available
2003 dev_err(scomp->dev, "%s pin %d format not found for %s\n",
2056 dev_err(sdev->dev, "Failed to initialize output format for %s",
2061 /* copy Pin 0 output format */
2069 /* modify the pipeline params with the pin 0 output format */
2503 struct sof_ipc4_copier_config_set_sink_format format;
2510 dev_dbg(sdev->dev, "%s set copier sink %d format\n",
2523 format.sink_id = sink_id;
2524 memcpy(&format.source_fmt, &src_config->audio_fmt, sizeof(format.source_fmt));
2528 dev_err(sdev->dev, "Unable to get pin %d format for %s",
2533 memcpy(&format.sink_fmt, pin_fmt, sizeof(format.sink_fmt));
2535 msg.data_size = sizeof(format);
2536 msg.data_ptr = &format;
2602 /* Pin 0 format is already set during copier module init */
2607 dev_err(sdev->dev, "failed to set sink format for %s source queue ID %d\n",