Home
last modified time | relevance | path

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

/sound/soc/intel/boards/
Dsof_sdw_rt711_sdca.c27 struct device *sdw_dev; in rt711_sdca_add_codec_device_props() local
30 sdw_dev = bus_find_device_by_name(&sdw_bus_type, NULL, sdw_dev_name); in rt711_sdca_add_codec_device_props()
31 if (!sdw_dev) in rt711_sdca_add_codec_device_props()
39 ret = device_add_properties(sdw_dev, props); in rt711_sdca_add_codec_device_props()
40 put_device(sdw_dev); in rt711_sdca_add_codec_device_props()
140 struct device *sdw_dev; in sof_sdw_rt711_sdca_exit() local
142 sdw_dev = bus_find_device_by_name(&sdw_bus_type, NULL, in sof_sdw_rt711_sdca_exit()
144 if (!sdw_dev) in sof_sdw_rt711_sdca_exit()
147 device_remove_properties(sdw_dev); in sof_sdw_rt711_sdca_exit()
148 put_device(sdw_dev); in sof_sdw_rt711_sdca_exit()
Dsof_sdw_rt711.c27 struct device *sdw_dev; in rt711_add_codec_device_props() local
30 sdw_dev = bus_find_device_by_name(&sdw_bus_type, NULL, sdw_dev_name); in rt711_add_codec_device_props()
31 if (!sdw_dev) in rt711_add_codec_device_props()
39 ret = device_add_properties(sdw_dev, props); in rt711_add_codec_device_props()
40 put_device(sdw_dev); in rt711_add_codec_device_props()
140 struct device *sdw_dev; in sof_sdw_rt711_exit() local
142 sdw_dev = bus_find_device_by_name(&sdw_bus_type, NULL, in sof_sdw_rt711_exit()
144 if (!sdw_dev) in sof_sdw_rt711_exit()
147 device_remove_properties(sdw_dev); in sof_sdw_rt711_exit()
148 put_device(sdw_dev); in sof_sdw_rt711_exit()