/linux-6.6.21/sound/soc/intel/boards/ |
D | sof_ssp_amp.c | 199 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local 202 links = devm_kcalloc(dev, sof_ssp_amp_card.num_links, in sof_card_dai_links_create() 206 if (!links || !cpus) in sof_card_dai_links_create() 220 links[id].cpus = &cpus[id]; in sof_card_dai_links_create() 221 links[id].cpus->dai_name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 223 if (!links[id].cpus->dai_name) in sof_card_dai_links_create() 225 links[id].name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-HDMI", port); in sof_card_dai_links_create() 226 if (!links[id].name) in sof_card_dai_links_create() 228 links[id].id = id; in sof_card_dai_links_create() 229 links[id].codecs = &asoc_dummy_dlc; in sof_card_dai_links_create() [all …]
|
D | sof_cs42l42.c | 300 struct snd_soc_dai_link *links, in create_spk_amp_dai_links() argument 310 links[*id].name = devm_kasprintf(dev, GFP_KERNEL, "SSP%d-Codec", in create_spk_amp_dai_links() 312 if (!links[*id].name) { in create_spk_amp_dai_links() 317 links[*id].id = *id; in create_spk_amp_dai_links() 320 max_98357a_dai_link(&links[*id]); in create_spk_amp_dai_links() 322 max_98360a_dai_link(&links[*id]); in create_spk_amp_dai_links() 329 links[*id].platforms = platform_component; in create_spk_amp_dai_links() 330 links[*id].num_platforms = ARRAY_SIZE(platform_component); in create_spk_amp_dai_links() 331 links[*id].dpcm_playback = 1; in create_spk_amp_dai_links() 333 links[*id].dpcm_capture = 1; in create_spk_amp_dai_links() [all …]
|
D | sof_nau8825.c | 357 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local 360 links = devm_kcalloc(dev, sof_audio_card_nau8825.num_links, in sof_card_dai_links_create() 364 if (!links || !cpus) in sof_card_dai_links_create() 368 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 370 if (!links[id].name) in sof_card_dai_links_create() 373 links[id].id = id; in sof_card_dai_links_create() 374 links[id].codecs = nau8825_component; in sof_card_dai_links_create() 375 links[id].num_codecs = ARRAY_SIZE(nau8825_component); in sof_card_dai_links_create() 376 links[id].platforms = platform_component; in sof_card_dai_links_create() 377 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create() [all …]
|
D | sof_pcm512x.c | 226 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local 229 links = devm_kcalloc(dev, sof_audio_card_pcm512x.num_links, in sof_card_dai_links_create() 233 if (!links || !cpus) in sof_card_dai_links_create() 237 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 239 if (!links[id].name) in sof_card_dai_links_create() 242 links[id].id = id; in sof_card_dai_links_create() 243 links[id].codecs = pcm512x_component; in sof_card_dai_links_create() 244 links[id].num_codecs = ARRAY_SIZE(pcm512x_component); in sof_card_dai_links_create() 245 links[id].platforms = platform_component; in sof_card_dai_links_create() 246 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create() [all …]
|
D | sof_rt5682.c | 676 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local 680 links = devm_kcalloc(dev, sof_audio_card_rt5682.num_links, in sof_card_dai_links_create() 684 if (!links || !cpus) in sof_card_dai_links_create() 688 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 690 if (!links[id].name) in sof_card_dai_links_create() 693 links[id].id = id; in sof_card_dai_links_create() 695 links[id].codecs = rt5682s_component; in sof_card_dai_links_create() 696 links[id].num_codecs = ARRAY_SIZE(rt5682s_component); in sof_card_dai_links_create() 698 links[id].codecs = &rt5650_components[0]; in sof_card_dai_links_create() 699 links[id].num_codecs = 1; in sof_card_dai_links_create() [all …]
|
D | sof_es8336.c | 430 struct snd_soc_dai_link *links; in sof_card_dai_links_create() local 436 links = devm_kcalloc(dev, sof_es8336_card.num_links, in sof_card_dai_links_create() 440 if (!links || !cpus) in sof_card_dai_links_create() 444 links[id].name = devm_kasprintf(dev, GFP_KERNEL, in sof_card_dai_links_create() 446 if (!links[id].name) in sof_card_dai_links_create() 449 links[id].id = id; in sof_card_dai_links_create() 450 links[id].codecs = es8336_codec; in sof_card_dai_links_create() 451 links[id].num_codecs = ARRAY_SIZE(es8336_codec); in sof_card_dai_links_create() 452 links[id].platforms = platform_component; in sof_card_dai_links_create() 453 links[id].num_platforms = ARRAY_SIZE(platform_component); in sof_card_dai_links_create() [all …]
|
/linux-6.6.21/sound/soc/amd/acp/ |
D | acp-mach-common.c | 1332 struct snd_soc_dai_link *links; in acp_sofdsp_dai_links_create() local 1344 links = devm_kcalloc(dev, num_links, sizeof(struct snd_soc_dai_link), GFP_KERNEL); in acp_sofdsp_dai_links_create() 1345 if (!links) in acp_sofdsp_dai_links_create() 1349 links[i].name = "acp-headset-codec"; in acp_sofdsp_dai_links_create() 1350 links[i].id = HEADSET_BE_ID; in acp_sofdsp_dai_links_create() 1351 links[i].cpus = sof_sp; in acp_sofdsp_dai_links_create() 1352 links[i].num_cpus = ARRAY_SIZE(sof_sp); in acp_sofdsp_dai_links_create() 1353 links[i].platforms = sof_component; in acp_sofdsp_dai_links_create() 1354 links[i].num_platforms = ARRAY_SIZE(sof_component); in acp_sofdsp_dai_links_create() 1355 links[i].dpcm_playback = 1; in acp_sofdsp_dai_links_create() [all …]
|
/linux-6.6.21/sound/soc/sof/ |
D | nocodec.c | 24 struct snd_soc_dai_link *links, in sof_nocodec_bes_setup() argument 30 if (!drv || !links || !card) in sof_nocodec_bes_setup() 39 links[i].name = devm_kasprintf(dev, GFP_KERNEL, in sof_nocodec_bes_setup() 41 if (!links[i].name) in sof_nocodec_bes_setup() 44 links[i].stream_name = links[i].name; in sof_nocodec_bes_setup() 46 links[i].cpus = &dlc[0]; in sof_nocodec_bes_setup() 47 links[i].codecs = &asoc_dummy_dlc; in sof_nocodec_bes_setup() 48 links[i].platforms = &dlc[1]; in sof_nocodec_bes_setup() 50 links[i].num_cpus = 1; in sof_nocodec_bes_setup() 51 links[i].num_codecs = 1; in sof_nocodec_bes_setup() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/ |
D | attach_probe.c | 62 skel->links.handle_kprobe = kprobe_link; in test_attach_probe_manual() 70 skel->links.handle_kretprobe = kretprobe_link; in test_attach_probe_manual() 83 skel->links.handle_uprobe = uprobe_link; in test_attach_probe_manual() 92 skel->links.handle_uretprobe = uretprobe_link; in test_attach_probe_manual() 98 skel->links.handle_uprobe_byname = in test_attach_probe_manual() 103 if (!ASSERT_OK_PTR(skel->links.handle_uprobe_byname, "attach_uprobe_byname")) in test_attach_probe_manual() 130 skel->links.handle_kprobe_auto = bpf_program__attach(skel->progs.handle_kprobe_auto); in test_attach_probe_auto() 131 ASSERT_OK_PTR(skel->links.handle_kprobe_auto, "attach_kprobe_auto"); in test_attach_probe_auto() 133 skel->links.handle_kretprobe_auto = bpf_program__attach(skel->progs.handle_kretprobe_auto); in test_attach_probe_auto() 134 ASSERT_OK_PTR(skel->links.handle_kretprobe_auto, "attach_kretprobe_auto"); in test_attach_probe_auto() [all …]
|
D | cgroup_link.c | 40 struct bpf_link *links[ARRAY_SIZE(cgs)] = {}, *tmp_link; in serial_test_cgroup_link() local 66 links[i] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link() 68 if (!ASSERT_OK_PTR(links[i], "cg_attach")) in serial_test_cgroup_link() 106 bpf_link__destroy(links[last_cg]); in serial_test_cgroup_link() 107 links[last_cg] = NULL; in serial_test_cgroup_link() 118 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link() 120 if (!ASSERT_OK_PTR(links[last_cg], "cg_attach")) in serial_test_cgroup_link() 126 bpf_link__destroy(links[last_cg]); in serial_test_cgroup_link() 127 links[last_cg] = NULL; in serial_test_cgroup_link() 161 links[last_cg] = bpf_program__attach_cgroup(skel->progs.egress, in serial_test_cgroup_link() [all …]
|
/linux-6.6.21/drivers/interconnect/qcom/ |
D | sm8450.c | 27 .links = { SM8450_SLAVE_A1NOC_SNOC }, 36 .links = { SM8450_SLAVE_A1NOC_SNOC }, 45 .links = { SM8450_SLAVE_SERVICE_A1NOC }, 54 .links = { SM8450_SLAVE_A1NOC_SNOC }, 63 .links = { SM8450_SLAVE_A1NOC_SNOC }, 72 .links = { SM8450_SLAVE_A1NOC_SNOC }, 81 .links = { SM8450_SLAVE_A2NOC_SNOC }, 90 .links = { SM8450_SLAVE_A2NOC_SNOC }, 99 .links = { SM8450_SLAVE_A2NOC_SNOC }, 108 .links = { SM8450_SLAVE_SERVICE_A2NOC }, [all …]
|
D | sm8550.c | 29 .links = { SM8550_SLAVE_A1NOC_SNOC }, 38 .links = { SM8550_SLAVE_A1NOC_SNOC }, 47 .links = { SM8550_SLAVE_A1NOC_SNOC }, 56 .links = { SM8550_SLAVE_A1NOC_SNOC }, 65 .links = { SM8550_SLAVE_A1NOC_SNOC }, 74 .links = { SM8550_SLAVE_A2NOC_SNOC }, 83 .links = { SM8550_SLAVE_A2NOC_SNOC }, 92 .links = { SM8550_SLAVE_A2NOC_SNOC }, 101 .links = { SM8550_SLAVE_A2NOC_SNOC }, 110 .links = { SM8550_SLAVE_A2NOC_SNOC }, [all …]
|
D | sm8250.c | 25 .links = { SM8250_SLAVE_SERVICE_A1NOC }, 34 .links = { SM8250_A1NOC_SNOC_SLV }, 43 .links = { SM8250_A1NOC_SNOC_SLV }, 52 .links = { SM8250_A1NOC_SNOC_SLV }, 61 .links = { SM8250_A1NOC_SNOC_SLV }, 70 .links = { SM8250_SLAVE_ANOC_PCIE_GEM_NOC_1 }, 79 .links = { SM8250_A1NOC_SNOC_SLV }, 88 .links = { SM8250_A1NOC_SNOC_SLV }, 97 .links = { SM8250_A1NOC_SNOC_SLV }, 106 .links = { SM8250_A1NOC_SNOC_SLV }, [all …]
|
D | sc8280xp.c | 25 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 34 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 43 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 51 .links = { SC8280XP_SLAVE_SERVICE_A1NOC }, 60 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 69 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 78 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 87 .links = { SC8280XP_SLAVE_A1NOC_SNOC }, 96 .links = { SC8280XP_SLAVE_USB_NOC_SNOC }, 105 .links = { SC8280XP_SLAVE_USB_NOC_SNOC }, [all …]
|
D | sdm845.c | 25 .links = { SDM845_SLAVE_SERVICE_A1NOC }, 34 .links = { SDM845_SLAVE_A1NOC_SNOC }, 43 .links = { SDM845_SLAVE_A1NOC_SNOC }, 52 .links = { SDM845_SLAVE_A1NOC_SNOC }, 61 .links = { SDM845_SLAVE_A1NOC_SNOC }, 70 .links = { SDM845_SLAVE_A1NOC_SNOC }, 79 .links = { SDM845_SLAVE_A1NOC_SNOC }, 88 .links = { SDM845_SLAVE_ANOC_PCIE_A1NOC_SNOC }, 97 .links = { SDM845_SLAVE_SERVICE_A2NOC }, 106 .links = { SDM845_SLAVE_A2NOC_SNOC }, [all …]
|
D | sdm670.c | 24 .links = { SDM670_SLAVE_SERVICE_A1NOC }, 33 .links = { SDM670_SLAVE_A1NOC_SNOC }, 42 .links = { SDM670_SLAVE_A1NOC_SNOC }, 51 .links = { SDM670_SLAVE_A1NOC_SNOC }, 60 .links = { SDM670_SLAVE_A1NOC_SNOC }, 69 .links = { SDM670_SLAVE_A1NOC_SNOC }, 78 .links = { SDM670_SLAVE_A1NOC_SNOC }, 87 .links = { SDM670_SLAVE_SERVICE_A2NOC }, 96 .links = { SDM670_SLAVE_A2NOC_SNOC }, 105 .links = { SDM670_SLAVE_A2NOC_SNOC }, [all …]
|
D | sc8180x.c | 25 .links = { SC8180X_SLAVE_SERVICE_A1NOC } 34 .links = { SC8180X_A1NOC_SNOC_SLV } 43 .links = { SC8180X_A1NOC_SNOC_SLV } 52 .links = { SC8180X_A1NOC_SNOC_SLV } 61 .links = { SC8180X_A1NOC_SNOC_SLV } 70 .links = { SC8180X_A1NOC_SNOC_SLV } 79 .links = { SC8180X_A1NOC_SNOC_SLV } 88 .links = { SC8180X_SLAVE_SERVICE_A2NOC } 97 .links = { SC8180X_A2NOC_SNOC_SLV } 106 .links = { SC8180X_A2NOC_SNOC_SLV } [all …]
|
D | sm8150.c | 25 .links = { SM8150_SLAVE_SERVICE_A1NOC }, 34 .links = { SM8150_A1NOC_SNOC_SLV }, 43 .links = { SM8150_A1NOC_SNOC_SLV }, 52 .links = { SM8150_A1NOC_SNOC_SLV }, 61 .links = { SM8150_A1NOC_SNOC_SLV }, 70 .links = { SM8150_A1NOC_SNOC_SLV }, 79 .links = { SM8150_SLAVE_SERVICE_A2NOC }, 88 .links = { SM8150_A2NOC_SNOC_SLV }, 97 .links = { SM8150_A2NOC_SNOC_SLV }, 106 .links = { SM8150_A2NOC_SNOC_SLV }, [all …]
|
D | sc7280.c | 25 .links = { SC7280_SLAVE_A1NOC_SNOC }, 34 .links = { SC7280_SLAVE_A1NOC_SNOC }, 43 .links = { SC7280_SLAVE_A1NOC_SNOC }, 52 .links = { SC7280_SLAVE_SERVICE_A1NOC }, 61 .links = { SC7280_SLAVE_A1NOC_SNOC }, 70 .links = { SC7280_SLAVE_A1NOC_SNOC }, 79 .links = { SC7280_SLAVE_A1NOC_SNOC }, 88 .links = { SC7280_SLAVE_A1NOC_SNOC }, 97 .links = { SC7280_SLAVE_A1NOC_SNOC }, 106 .links = { SC7280_SLAVE_A1NOC_SNOC }, [all …]
|
D | qdu1000.c | 26 .links = { QDU1000_SLAVE_QUP_CORE_0 }, 35 .links = { QDU1000_SLAVE_QUP_CORE_1 }, 44 .links = { QDU1000_SLAVE_GEM_NOC_CNOC, QDU1000_SLAVE_LLCC }, 53 .links = { QDU1000_SLAVE_GEM_NOC_CNOC, QDU1000_SLAVE_LLCC, 64 .links = { QDU1000_SLAVE_GEM_NOC_CNOC, QDU1000_SLAVE_LLCC }, 73 .links = { QDU1000_SLAVE_GEM_NOC_CNOC, QDU1000_SLAVE_LLCC }, 82 .links = { QDU1000_SLAVE_GEM_NOC_CNOC, QDU1000_SLAVE_LLCC, 93 .links = { QDU1000_SLAVE_LLCC }, 102 .links = { QDU1000_SLAVE_GEM_NOC_CNOC, QDU1000_SLAVE_LLCC, 113 .links = { QDU1000_SLAVE_GEM_NOC_CNOC, QDU1000_SLAVE_LLCC, [all …]
|
D | sm6350.c | 24 .links = { SM6350_SLAVE_SERVICE_A1NOC }, 33 .links = { SM6350_A1NOC_SNOC_SLV }, 42 .links = { SM6350_A1NOC_SNOC_SLV }, 51 .links = { SM6350_A1NOC_SNOC_SLV }, 60 .links = { SM6350_SLAVE_SERVICE_A2NOC }, 69 .links = { SM6350_A2NOC_SNOC_SLV }, 78 .links = { SM6350_A2NOC_SNOC_SLV }, 87 .links = { SM6350_A2NOC_SNOC_SLV }, 96 .links = { SM6350_A2NOC_SNOC_SLV }, 105 .links = { SM6350_A2NOC_SNOC_SLV }, [all …]
|
D | sm8350.c | 24 .links = { SM8350_SLAVE_A1NOC_SNOC }, 33 .links = { SM8350_SLAVE_A2NOC_SNOC }, 42 .links = { SM8350_SLAVE_A1NOC_SNOC }, 51 .links = { SM8350_SLAVE_A2NOC_SNOC }, 60 .links = { SM8350_SLAVE_SERVICE_A1NOC }, 69 .links = { SM8350_SLAVE_A1NOC_SNOC }, 78 .links = { SM8350_SLAVE_A1NOC_SNOC }, 87 .links = { SM8350_SLAVE_A1NOC_SNOC }, 96 .links = { SM8350_SLAVE_A1NOC_SNOC }, 105 .links = { SM8350_SLAVE_A2NOC_SNOC }, [all …]
|
D | qcs404.c | 105 .links = mas_apps_proc_links, 120 .links = mas_oxili_links, 135 .links = mas_mdp_links, 149 .links = mas_snoc_bimc_1_links, 164 .links = mas_tcu_0_links, 178 .links = mas_spdm_links, 192 .links = mas_blsp_1_links, 206 .links = mas_blsp_2_links, 220 .links = mas_xi_usb_hs1_links, 235 .links = mas_crypto_links, [all …]
|
D | sa8775p.c | 218 .links = { SA8775P_SLAVE_A1NOC_SNOC }, 227 .links = { SA8775P_SLAVE_A1NOC_SNOC }, 236 .links = { SA8775P_SLAVE_A1NOC_SNOC }, 245 .links = { SA8775P_SLAVE_A1NOC_SNOC }, 254 .links = { SA8775P_SLAVE_A1NOC_SNOC }, 263 .links = { SA8775P_SLAVE_A1NOC_SNOC }, 272 .links = { SA8775P_SLAVE_A1NOC_SNOC }, 281 .links = { SA8775P_SLAVE_A1NOC_SNOC }, 290 .links = { SA8775P_SLAVE_A2NOC_SNOC }, 299 .links = { SA8775P_SLAVE_A2NOC_SNOC }, [all …]
|
D | sc7180.c | 25 .links = { SC7180_SLAVE_SERVICE_A1NOC }, 34 .links = { SC7180_SLAVE_A1NOC_SNOC }, 43 .links = { SC7180_SLAVE_A1NOC_SNOC }, 52 .links = { SC7180_SLAVE_A1NOC_SNOC }, 61 .links = { SC7180_SLAVE_A1NOC_SNOC }, 70 .links = { SC7180_SLAVE_A1NOC_SNOC }, 79 .links = { SC7180_SLAVE_SERVICE_A2NOC }, 88 .links = { SC7180_SLAVE_A2NOC_SNOC }, 97 .links = { SC7180_SLAVE_A2NOC_SNOC }, 106 .links = { SC7180_SLAVE_A2NOC_SNOC }, [all …]
|