Home
last modified time | relevance | path

Searched refs:dmic_dev (Results 1 – 8 of 8) sorted by relevance

/linux-6.3-rc2/sound/soc/sof/amd/
A Dpci-rmb.c29 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()
A Dpci-rn.c29 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()
/linux-6.3-rc2/sound/soc/amd/acp/
A Dacp-pci.c29 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.3-rc2/sound/soc/amd/ps/
A Dpci-ps.c140 struct acpi_device *dmic_dev; in get_acp63_device_config() local
144 dmic_dev = acpi_find_child_device(ACPI_COMPANION(&pci->dev), ACP63_DMIC_ADDR, 0); in get_acp63_device_config()
145 if (dmic_dev) { in get_acp63_device_config()
146 if (!acpi_dev_get_property(dmic_dev, "acp-audio-device-type", in get_acp63_device_config()
/linux-6.3-rc2/sound/soc/sof/intel/
A Dhda.c1089 hdev->dmic_dev = platform_device_register_data(sdev->dev, "dmic-codec", in hda_dsp_probe()
1092 if (IS_ERR(hdev->dmic_dev)) { in hda_dsp_probe()
1094 return PTR_ERR(hdev->dmic_dev); in hda_dsp_probe()
1213 platform_device_unregister(hdev->dmic_dev); in hda_dsp_probe()
1238 if (!IS_ERR_OR_NULL(hda->dmic_dev)) in hda_dsp_remove()
1239 platform_device_unregister(hda->dmic_dev); in hda_dsp_remove()
A Dhda.h508 struct platform_device *dmic_dev; member
/linux-6.3-rc2/sound/soc/intel/skylake/
A Dskl.h64 struct platform_device *dmic_dev; member
A Dskl.c579 skl->dmic_dev = pdev; in skl_dmic_device_register()
586 if (skl->dmic_dev) in skl_dmic_device_unregister()
587 platform_device_unregister(skl->dmic_dev); in skl_dmic_device_unregister()

Completed in 16 milliseconds