Home
last modified time | relevance | path

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

/openbmc/linux/sound/soc/codecs/
H A Dsdw-mockup.c60 struct sdw_mockup_priv *sdw_mockup = snd_soc_component_get_drvdata(component); in sdw_mockup_pcm_hw_params() local
69 if (!sdw_mockup->slave) in sdw_mockup_pcm_hw_params()
80 ret = sdw_stream_add_slave(sdw_mockup->slave, &stream_config, in sdw_mockup_pcm_hw_params()
92 struct sdw_mockup_priv *sdw_mockup = snd_soc_component_get_drvdata(component); in sdw_mockup_pcm_hw_free() local
95 if (!sdw_mockup->slave) in sdw_mockup_pcm_hw_free()
98 sdw_stream_remove_slave(sdw_mockup->slave, sdw_stream); in sdw_mockup_pcm_hw_free()
220 struct sdw_mockup_priv *sdw_mockup; in sdw_mockup_sdw_probe() local
223 sdw_mockup = devm_kzalloc(dev, sizeof(*sdw_mockup), GFP_KERNEL); in sdw_mockup_sdw_probe()
224 if (!sdw_mockup) in sdw_mockup_sdw_probe()
227 dev_set_drvdata(dev, sdw_mockup); in sdw_mockup_sdw_probe()
[all …]