Home
last modified time | relevance | path

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

/linux/sound/soc/amd/ps/
H A Dpci-ps.c382 adata->mach_dev = platform_device_register_data(dev, mach->drv_name, in acp63_machine_register()
385 if (IS_ERR(adata->mach_dev)) { in acp63_machine_register()
388 return PTR_ERR(adata->mach_dev); in acp63_machine_register()
393 adata->mach_dev = platform_device_register_data(dev, "acp_ps_mach", in acp63_machine_register()
395 if (IS_ERR(adata->mach_dev)) { in acp63_machine_register()
397 return PTR_ERR(adata->mach_dev); in get_acp63_device_config()
719 if (adata->mach_dev) in snd_acp63_remove()
720 platform_device_unregister(adata->mach_dev);
H A Dacp63.h323 * @mach_dev: platform device for machine driver to support ACP PDM/SoundWire configuration
357 struct platform_device *mach_dev; member
/linux/sound/soc/amd/acp/
H A Dacp-pci.c271 if (chip->mach_dev) in acp_pci_remove()
272 platform_device_unregister(chip->mach_dev); in acp_pci_remove()
H A Dacp-legacy-common.c474 chip->mach_dev = platform_device_register_data(chip->dev, "acp-pdm-mach", in acp_machine_select()
485 chip->mach_dev = platform_device_register_data(chip->dev, mach->drv_name, in acp_machine_select()
488 if (IS_ERR(chip->mach_dev)) in acp_machine_select()
H A Damd.h157 struct platform_device *mach_dev; member