Searched refs:mach_dev (Results 1 – 4 of 4) sorted by relevance
353 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()
244 struct platform_device *mach_dev; member
118 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()
196 struct platform_device *mach_dev; member