Searched refs:dmic_dev (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/sound/soc/sof/amd/ |
D | pci-rn.c | 29 static struct platform_device *dmic_dev; variable 101 dmic_dev = platform_device_register_data(dev, "dmic-codec", PLATFORM_DEVID_NONE, NULL, 0); in acp_pci_rn_probe() 102 if (IS_ERR(dmic_dev)) { in acp_pci_rn_probe() 105 return PTR_ERR(dmic_dev); in acp_pci_rn_probe() 116 platform_device_unregister(dmic_dev); in acp_pci_rn_probe() 150 platform_device_unregister(dmic_dev); in acp_pci_rn_probe() 159 if (dmic_dev) in acp_pci_rn_remove() 160 platform_device_unregister(dmic_dev); in acp_pci_rn_remove()
|
D | pci-rmb.c | 29 static struct platform_device *dmic_dev; variable 101 dmic_dev = platform_device_register_data(dev, "dmic-codec", PLATFORM_DEVID_NONE, NULL, 0); in acp_pci_rmb_probe() 102 if (IS_ERR(dmic_dev)) { in acp_pci_rmb_probe() 105 return PTR_ERR(dmic_dev); in acp_pci_rmb_probe() 116 platform_device_unregister(dmic_dev); in acp_pci_rmb_probe() 149 platform_device_unregister(dmic_dev); in acp_pci_rmb_probe() 159 if (dmic_dev) in acp_pci_rmb_remove() 160 platform_device_unregister(dmic_dev); in acp_pci_rmb_remove()
|
/linux-6.1.9/sound/soc/amd/acp/ |
D | acp-pci.c | 29 static struct platform_device *dmic_dev; variable 96 dmic_dev = platform_device_register_data(dev, "dmic-codec", PLATFORM_DEVID_NONE, NULL, 0); in acp_pci_probe() 97 if (IS_ERR(dmic_dev)) { in acp_pci_probe() 99 ret = PTR_ERR(dmic_dev); in acp_pci_probe() 147 platform_device_unregister(dmic_dev); in acp_pci_probe() 158 if (dmic_dev) in acp_pci_remove() 159 platform_device_unregister(dmic_dev); in acp_pci_remove()
|
/linux-6.1.9/sound/soc/sof/intel/ |
D | hda.c | 1050 hdev->dmic_dev = platform_device_register_data(sdev->dev, "dmic-codec", in hda_dsp_probe() 1053 if (IS_ERR(hdev->dmic_dev)) { in hda_dsp_probe() 1055 return PTR_ERR(hdev->dmic_dev); in hda_dsp_probe() 1174 platform_device_unregister(hdev->dmic_dev); in hda_dsp_probe() 1202 if (!IS_ERR_OR_NULL(hda->dmic_dev)) in hda_dsp_remove() 1203 platform_device_unregister(hda->dmic_dev); in hda_dsp_remove()
|
D | hda.h | 505 struct platform_device *dmic_dev; member
|
/linux-6.1.9/sound/soc/intel/skylake/ |
D | skl.h | 64 struct platform_device *dmic_dev; member
|
D | skl.c | 588 skl->dmic_dev = pdev; in skl_dmic_device_register() 595 if (skl->dmic_dev) in skl_dmic_device_unregister() 596 platform_device_unregister(skl->dmic_dev); in skl_dmic_device_unregister()
|