Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/intel/boards/
H A Dsof_sdw_rt711.c24 static int rt711_add_codec_device_props(struct device *sdw_dev) in rt711_add_codec_device_props() argument
38 ret = device_add_software_node(sdw_dev, to_software_node(fwnode)); in rt711_add_codec_device_props()
158 struct device *sdw_dev; in sof_sdw_rt711_init() local
168 sdw_dev = bus_find_device_by_name(&sdw_bus_type, NULL, dai_links->codecs[0].name); in sof_sdw_rt711_init()
169 if (!sdw_dev) in sof_sdw_rt711_init()
172 ret = rt711_add_codec_device_props(sdw_dev); in sof_sdw_rt711_init()
174 put_device(sdw_dev); in sof_sdw_rt711_init()
177 ctx->headset_codec_dev = sdw_dev; in sof_sdw_rt711_init()
H A Dsof_sdw_rt_sdca_jack_common.c24 static int rt_sdca_jack_add_codec_device_props(struct device *sdw_dev) in rt_sdca_jack_add_codec_device_props() argument
39 ret = device_add_software_node(sdw_dev, to_software_node(fwnode)); in rt_sdca_jack_add_codec_device_props()
183 struct device *sdw_dev; in sof_sdw_rt_sdca_jack_init() local
193 sdw_dev = bus_find_device_by_name(&sdw_bus_type, NULL, dai_links->codecs[0].name); in sof_sdw_rt_sdca_jack_init()
194 if (!sdw_dev) in sof_sdw_rt_sdca_jack_init()
197 ret = rt_sdca_jack_add_codec_device_props(sdw_dev); in sof_sdw_rt_sdca_jack_init()
199 put_device(sdw_dev); in sof_sdw_rt_sdca_jack_init()
202 ctx->headset_codec_dev = sdw_dev; in sof_sdw_rt_sdca_jack_init()
H A Dsof_sdw_rt_amp.c104 static int rt_amp_add_device_props(struct device *sdw_dev) in rt_amp_add_device_props() argument
127 ret = device_add_software_node(sdw_dev, to_software_node(fwnode)); in rt_amp_add_device_props()
/openbmc/linux/sound/soc/amd/ps/
H A Dpci-ps.c304 struct acpi_device *sdw_dev; in get_acp63_device_config() local
319 sdw_dev = acpi_find_child_device(ACPI_COMPANION(&pci->dev), ACP63_SDW_ADDR, 0); in get_acp63_device_config()
320 if (sdw_dev) { in get_acp63_device_config()
321 acp_data->sdw_fw_node = acpi_fwnode_handle(sdw_dev); in get_acp63_device_config()