Home
last modified time | relevance | path

Searched refs:mach_dev (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/sound/soc/amd/ps/
Dpci-ps.c353 adata->mach_dev = platform_device_register_data(dev, mach->drv_name, in acp63_machine_register()
356 if (IS_ERR(adata->mach_dev)) { in acp63_machine_register()
359 return PTR_ERR(adata->mach_dev); in acp63_machine_register()
364 adata->mach_dev = platform_device_register_data(dev, "acp_ps_mach", in acp63_machine_register()
366 if (IS_ERR(adata->mach_dev)) { in acp63_machine_register()
368 return PTR_ERR(adata->mach_dev); in acp63_machine_register()
720 if (adata->mach_dev) in snd_acp63_remove()
721 platform_device_unregister(adata->mach_dev); in snd_acp63_remove()
Dacp63.h244 struct platform_device *mach_dev; member
/linux-6.12.1/sound/soc/amd/acp/
Dacp-platform.c118 adata->mach_dev = platform_device_register_data(adata->dev, "acp-pdm-mach", in acp_machine_select()
128 adata->mach_dev = platform_device_register_data(adata->dev, mach->drv_name, in acp_machine_select()
131 if (IS_ERR(adata->mach_dev)) in acp_machine_select()
425 if (adata->mach_dev) in acp_platform_unregister()
426 platform_device_unregister(adata->mach_dev); in acp_platform_unregister()
Damd.h196 struct platform_device *mach_dev; member