Home
last modified time | relevance | path

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

/linux-6.12.1/sound/soc/sdw_utils/
Dsoc_sdw_rt711.c26 static int rt711_add_codec_device_props(struct device *sdw_dev, unsigned long quirk) in rt711_add_codec_device_props() argument
40 ret = device_add_software_node(sdw_dev, to_software_node(fwnode)); in rt711_add_codec_device_props()
137 struct device *sdw_dev; in asoc_sdw_rt711_init() local
147 sdw_dev = bus_find_device_by_name(&sdw_bus_type, NULL, dai_links->codecs[0].name); in asoc_sdw_rt711_init()
148 if (!sdw_dev) in asoc_sdw_rt711_init()
151 ret = rt711_add_codec_device_props(sdw_dev, ctx->mc_quirk); in asoc_sdw_rt711_init()
153 put_device(sdw_dev); in asoc_sdw_rt711_init()
156 ctx->headset_codec_dev = sdw_dev; in asoc_sdw_rt711_init()
Dsoc_sdw_rt_sdca_jack_common.c26 static int rt_sdca_jack_add_codec_device_props(struct device *sdw_dev, unsigned long quirk) in rt_sdca_jack_add_codec_device_props() argument
41 ret = device_add_software_node(sdw_dev, to_software_node(fwnode)); in rt_sdca_jack_add_codec_device_props()
191 struct device *sdw_dev; in asoc_sdw_rt_sdca_jack_init() local
201 sdw_dev = bus_find_device_by_name(&sdw_bus_type, NULL, dai_links->codecs[0].name); in asoc_sdw_rt_sdca_jack_init()
202 if (!sdw_dev) in asoc_sdw_rt_sdca_jack_init()
205 ret = rt_sdca_jack_add_codec_device_props(sdw_dev, ctx->mc_quirk); in asoc_sdw_rt_sdca_jack_init()
207 put_device(sdw_dev); in asoc_sdw_rt_sdca_jack_init()
210 ctx->headset_codec_dev = sdw_dev; in asoc_sdw_rt_sdca_jack_init()
Dsoc_sdw_rt_amp.c106 static int rt_amp_add_device_props(struct device *sdw_dev) in rt_amp_add_device_props() argument
129 ret = device_add_software_node(sdw_dev, to_software_node(fwnode)); in rt_amp_add_device_props()
/linux-6.12.1/sound/soc/amd/ps/
Dpci-ps.c238 struct acpi_device *sdw_dev; in acp_scan_sdw_devices() local
245 sdw_dev = acpi_find_child_device(ACPI_COMPANION(dev), addr, 0); in acp_scan_sdw_devices()
246 if (!sdw_dev) in acp_scan_sdw_devices()
249 acp_data->info.handle = sdw_dev->handle; in acp_scan_sdw_devices()
/linux-6.12.1/sound/soc/sof/amd/
Dacp.c660 struct acpi_device *sdw_dev; in acp_sof_scan_sdw_devices() local
668 sdw_dev = acpi_find_child_device(ACPI_COMPANION(sdev->dev), addr, 0); in acp_sof_scan_sdw_devices()
669 if (!sdw_dev) in acp_sof_scan_sdw_devices()
672 acp_data->info.handle = sdw_dev->handle; in acp_sof_scan_sdw_devices()