Home
last modified time | relevance | path

Searched refs:amd_ctx (Results 1 – 2 of 2) sorted by relevance

/linux/sound/soc/amd/acp/
H A Dacp-sdw-legacy-mach.c70 struct amd_mc_ctx *amd_ctx = (struct amd_mc_ctx *)ctx->private; in create_sdw_dailink() local
118 switch (amd_ctx->acp_rev) { in create_sdw_dailink()
213 struct amd_mc_ctx *amd_ctx = (struct amd_mc_ctx *)ctx->private; in create_sdw_dailinks() local
222 switch (amd_ctx->acp_rev) { in create_sdw_dailinks()
254 struct amd_mc_ctx *amd_ctx = (struct amd_mc_ctx *)ctx->private; in create_dmic_dailinks() local
267 switch (amd_ctx->acp_rev) { in create_dmic_dailinks()
379 struct amd_mc_ctx *amd_ctx; in mc_probe() local
384 amd_ctx = devm_kzalloc(&pdev->dev, sizeof(*amd_ctx), GFP_KERNEL); in mc_probe()
385 if (!amd_ctx) in mc_probe()
388 amd_ctx->acp_rev = mach->mach_params.subsystem_rev; in mc_probe()
[all …]
H A Dacp-sdw-sof-mach.c76 struct amd_mc_ctx *amd_ctx = (struct amd_mc_ctx *)ctx->private; in create_sdw_dailink() local
124 switch (amd_ctx->acp_rev) { in create_sdw_dailink()
348 struct amd_mc_ctx *amd_ctx; in mc_probe() local
353 amd_ctx = devm_kzalloc(&pdev->dev, sizeof(*amd_ctx), GFP_KERNEL); in mc_probe()
354 if (!amd_ctx) in mc_probe()
357 amd_ctx->acp_rev = mach->mach_params.subsystem_rev; in mc_probe()
358 amd_ctx->max_sdw_links = ACP63_SDW_MAX_LINKS; in mc_probe()
363 ctx->private = amd_ctx; in mc_probe()