Lines Matching refs:id
262 pcm->device = runtime->dai_link->id; in sof_hdmi_init()
316 static int sof_es8336_quirk_cb(const struct dmi_system_id *id) in sof_es8336_quirk_cb() argument
318 quirk = (unsigned long)id->driver_data; in sof_es8336_quirk_cb()
440 int id = 0; in sof_card_dai_links_create() local
451 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
453 if (!links[id].name) in sof_card_dai_links_create()
456 links[id].id = id; in sof_card_dai_links_create()
457 links[id].codecs = es8336_codec; in sof_card_dai_links_create()
458 links[id].num_codecs = ARRAY_SIZE(es8336_codec); in sof_card_dai_links_create()
459 links[id].platforms = platform_component; in sof_card_dai_links_create()
460 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create()
461 links[id].init = sof_es8316_init; in sof_card_dai_links_create()
462 links[id].exit = sof_es8316_exit; in sof_card_dai_links_create()
463 links[id].ops = &sof_es8336_ops; in sof_card_dai_links_create()
464 links[id].nonatomic = true; in sof_card_dai_links_create()
465 links[id].dpcm_playback = 1; in sof_card_dai_links_create()
466 links[id].dpcm_capture = 1; in sof_card_dai_links_create()
467 links[id].no_pcm = 1; in sof_card_dai_links_create()
468 links[id].cpus = &cpus[id]; in sof_card_dai_links_create()
469 links[id].num_cpus = 1; in sof_card_dai_links_create()
471 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
474 if (!links[id].cpus->dai_name) in sof_card_dai_links_create()
477 id++; in sof_card_dai_links_create()
482 links[id].name = "dmic01"; in sof_card_dai_links_create()
483 links[id].cpus = &cpus[id]; in sof_card_dai_links_create()
484 links[id].cpus->dai_name = "DMIC01 Pin"; in sof_card_dai_links_create()
485 links[id].init = dmic_init; in sof_card_dai_links_create()
488 links[id + 1].name = "dmic16k"; in sof_card_dai_links_create()
489 links[id + 1].cpus = &cpus[id + 1]; in sof_card_dai_links_create()
490 links[id + 1].cpus->dai_name = "DMIC16k Pin"; in sof_card_dai_links_create()
499 links[id].id = id; in sof_card_dai_links_create()
500 links[id].num_cpus = 1; in sof_card_dai_links_create()
501 links[id].codecs = dmic_component; in sof_card_dai_links_create()
502 links[id].num_codecs = ARRAY_SIZE(dmic_component); in sof_card_dai_links_create()
503 links[id].platforms = platform_component; in sof_card_dai_links_create()
504 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create()
505 links[id].ignore_suspend = 1; in sof_card_dai_links_create()
506 links[id].dpcm_capture = 1; in sof_card_dai_links_create()
507 links[id].no_pcm = 1; in sof_card_dai_links_create()
509 id++; in sof_card_dai_links_create()
523 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
525 if (!links[id].name) in sof_card_dai_links_create()
528 links[id].id = id + hdmi_id_offset; in sof_card_dai_links_create()
529 links[id].cpus = &cpus[id]; in sof_card_dai_links_create()
530 links[id].num_cpus = 1; in sof_card_dai_links_create()
531 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
533 if (!links[id].cpus->dai_name) in sof_card_dai_links_create()
544 links[id].codecs = &idisp_components[i - 1]; in sof_card_dai_links_create()
545 links[id].num_codecs = 1; in sof_card_dai_links_create()
546 links[id].platforms = platform_component; in sof_card_dai_links_create()
547 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create()
548 links[id].init = sof_hdmi_init; in sof_card_dai_links_create()
549 links[id].dpcm_playback = 1; in sof_card_dai_links_create()
550 links[id].no_pcm = 1; in sof_card_dai_links_create()
552 id++; in sof_card_dai_links_create()
566 links[id].cpus = &cpus[id]; in sof_card_dai_links_create()
567 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create()
569 if (!links[id].cpus->dai_name) in sof_card_dai_links_create()
571 links[id].name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-HDMI", port); in sof_card_dai_links_create()
572 if (!links[id].name) in sof_card_dai_links_create()
574 links[id].id = id + hdmi_id_offset; in sof_card_dai_links_create()
575 links[id].codecs = dummy_component; in sof_card_dai_links_create()
576 links[id].num_codecs = ARRAY_SIZE(dummy_component); in sof_card_dai_links_create()
577 links[id].platforms = platform_component; in sof_card_dai_links_create()
578 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create()
579 links[id].dpcm_capture = 1; in sof_card_dai_links_create()
580 links[id].no_pcm = 1; in sof_card_dai_links_create()
581 links[id].num_cpus = 1; in sof_card_dai_links_create()
582 id++; in sof_card_dai_links_create()
680 adev = acpi_dev_get_first_match_dev(mach->id, NULL, -1); in sof_es8336_probe()
687 if (!strncmp(mach->id, "ESSX8326", SND_ACPI_I2C_ID_LEN)) in sof_es8336_probe()
690 dev_err(dev, "Error cannot find '%s' dev\n", mach->id); in sof_es8336_probe()