Searched refs:sdw_dev (Results 1 – 4 of 4) sorted by relevance
24 static int rt711_add_codec_device_props(struct device *sdw_dev) in rt711_add_codec_device_props() argument38 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() local168 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()
24 static int rt_sdca_jack_add_codec_device_props(struct device *sdw_dev) in rt_sdca_jack_add_codec_device_props() argument39 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() local193 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()
104 static int rt_amp_add_device_props(struct device *sdw_dev) in rt_amp_add_device_props() argument127 ret = device_add_software_node(sdw_dev, to_software_node(fwnode)); in rt_amp_add_device_props()
304 struct acpi_device *sdw_dev; in get_acp63_device_config() local319 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()