Lines Matching defs:codec
508 .name = "dmic-codec",
607 dev_err(rtd->dev, "Channels number %d is invalid when codec number = %d\n",
619 * link has more than one codec DAIs. Set codec channel mask and
943 .part_id = 0xaaaa, /* generic codec mockup */
957 .part_id = 0xaa55, /* headset codec mockup */
1009 * A codec info is for all sdw version with the part id if
1010 * version_id is not specified in the codec info.
1081 dev_err(dev, "codec 0x%llx does not have a name prefix\n",
1175 struct snd_soc_dai_link_component *codec,
1194 codec->name = devm_kstrdup(dev,
1199 codec->name = devm_kasprintf(dev, GFP_KERNEL,
1203 codec->name = devm_kasprintf(dev, GFP_KERNEL,
1207 if (!codec->name)
1210 codec->dai_name = codec_info_list[codec_index].dais[dai_index].dai_name;
1224 * Initialize the codec. If codec is part of an aggregated
1238 /* The group_id is > 0 iff the codec is aggregated */
1265 * one sdw BE DAI <---> one-cpu DAI <---> one-codec DAI
1268 * one sdw BE DAI <---> one-cpu DAI <---> multi-codec DAIs
1271 * one sdw BE DAI <---> 1 .. N CPU DAIs <----> 1 .. N codec DAIs
1368 /* generate codec name on different links in the same group */
1407 /* check next link to create codec dai in the processed group */
1411 /* find codec info to create BE DAI */
1511 dev_err(dev, "failed to init codec %d\n", codec_index);
1602 /* allocate codec conf, will be populated when dailinks are created */
1618 * append the codec type to the dai link name to prevent duplicated dai link name.
1623 /* find codec info to get dai_num */
1656 /* find codec info to get dai_num */
1713 /* TODO: support multi codec dai on SSP when it is needed */
1855 /* helper to get the link that the codec DAI is used */
1865 /* Check each codec in a link */
1891 /* Do the .exit function if the codec dai is used in the link */
1895 "codec exit failed %d\n",
1948 * the default amp_num is zero for each codec and