Lines Matching refs:dai_link
509 struct snd_soc_dai_link *dai_link; in atmel_pdmic_asoc_card_init() local
513 dai_link = devm_kzalloc(dev, sizeof(*dai_link), GFP_KERNEL); in atmel_pdmic_asoc_card_init()
514 if (!dai_link) in atmel_pdmic_asoc_card_init()
521 dai_link->cpus = &comp[0]; in atmel_pdmic_asoc_card_init()
522 dai_link->codecs = &comp[1]; in atmel_pdmic_asoc_card_init()
523 dai_link->platforms = &comp[2]; in atmel_pdmic_asoc_card_init()
525 dai_link->num_cpus = 1; in atmel_pdmic_asoc_card_init()
526 dai_link->num_codecs = 1; in atmel_pdmic_asoc_card_init()
527 dai_link->num_platforms = 1; in atmel_pdmic_asoc_card_init()
529 dai_link->name = "PDMIC"; in atmel_pdmic_asoc_card_init()
530 dai_link->stream_name = "PDMIC PCM"; in atmel_pdmic_asoc_card_init()
531 dai_link->codecs->dai_name = ATMEL_PDMIC_CODEC_DAI_NAME; in atmel_pdmic_asoc_card_init()
532 dai_link->cpus->dai_name = dev_name(dev); in atmel_pdmic_asoc_card_init()
533 dai_link->codecs->name = dev_name(dev); in atmel_pdmic_asoc_card_init()
534 dai_link->platforms->name = dev_name(dev); in atmel_pdmic_asoc_card_init()
536 card->dai_link = dai_link; in atmel_pdmic_asoc_card_init()