Home
last modified time | relevance | path

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

/sound/soc/intel/atom/sst/
Dsst_loader.c185 int ret_val = 0; in sst_parse_module_memcpy() local
219 ret_val = sst_fill_memcpy_list(memcpy_list, in sst_parse_module_memcpy()
222 if (ret_val) in sst_parse_module_memcpy()
223 return ret_val; in sst_parse_module_memcpy()
244 int ret_val; in sst_parse_fw_memcpy() local
246 ret_val = sst_validate_fw_image(ctx, size, &module, &num_modules); in sst_parse_fw_memcpy()
247 if (ret_val) in sst_parse_fw_memcpy()
248 return ret_val; in sst_parse_fw_memcpy()
251 ret_val = sst_parse_module_memcpy(ctx, module, fw_list); in sst_parse_fw_memcpy()
252 if (ret_val) in sst_parse_fw_memcpy()
[all …]
Dsst_drv_interface.c672 int ret_val = 0; in sst_send_byte_stream() local
677 ret_val = pm_runtime_get_sync(ctx->dev); in sst_send_byte_stream()
678 if (ret_val < 0) { in sst_send_byte_stream()
680 return ret_val; in sst_send_byte_stream()
683 ret_val = sst_send_byte_stream_mrfld(ctx, bytes); in sst_send_byte_stream()
686 return ret_val; in sst_send_byte_stream()
733 int ret_val; in sst_register() local
736 ret_val = sst_register_dsp(&sst_dsp_device); in sst_register()
737 if (ret_val) in sst_register()
740 return ret_val; in sst_register()
/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c238 int ret_val = 0; in sst_platform_alloc_stream() local
250 ret_val = sst_fill_stream_params(substream, ctx, &str_params, false); in sst_platform_alloc_stream()
251 if (ret_val < 0) in sst_platform_alloc_stream()
252 return ret_val; in sst_platform_alloc_stream()
256 ret_val = stream->ops->open(sst->dev, &str_params); in sst_platform_alloc_stream()
257 if (ret_val <= 0) in sst_platform_alloc_stream()
258 return ret_val; in sst_platform_alloc_stream()
261 return ret_val; in sst_platform_alloc_stream()
286 int ret_val; in sst_platform_init_stream() local
294 ret_val = stream->ops->stream_init(sst->dev, &stream->stream_info); in sst_platform_init_stream()
[all …]
Dsst-mfld-platform-compress.c53 int ret_val = 0; in sst_platform_compr_open() local
66 ret_val = -ENODEV; in sst_platform_compr_open()
80 return ret_val; in sst_platform_compr_open()
86 int ret_val = 0, str_id; in sst_platform_compr_free() local
95 ret_val = stream->compr_ops->close(sst->dev, str_id); in sst_platform_compr_free()
98 pr_debug("%s: %d\n", __func__, ret_val); in sst_platform_compr_free()
/sound/soc/intel/boards/
Dmfld_machine.c244 int ret_val; in mfld_init() local
258 ret_val = snd_soc_card_jack_new(runtime->card, in mfld_init()
262 if (ret_val) { in mfld_init()
264 return ret_val; in mfld_init()
267 ret_val = snd_soc_jack_add_zones(&mfld_jack, in mfld_init()
269 if (ret_val) { in mfld_init()
271 return ret_val; in mfld_init()
280 return ret_val; in mfld_init()
367 int ret_val = 0, irq; in snd_mfld_mc_probe() local
395 ret_val = devm_request_threaded_irq(&pdev->dev, irq, in snd_mfld_mc_probe()
[all …]
Dbyt-max98090.c152 int ret_val; in byt_max98090_probe() local
160 ret_val = devm_acpi_dev_add_driver_gpios(dev->parent, acpi_byt_max98090_gpios); in byt_max98090_probe()
161 if (ret_val) in byt_max98090_probe()
166 ret_val = devm_snd_soc_register_card(&pdev->dev, &byt_max98090_card); in byt_max98090_probe()
167 if (ret_val) { in byt_max98090_probe()
169 "snd_soc_register_card failed %d\n", ret_val); in byt_max98090_probe()
170 return ret_val; in byt_max98090_probe()
Dbytcht_nocodec.c181 int ret_val = 0; in snd_bytcht_nocodec_mc_probe() local
186 ret_val = devm_snd_soc_register_card(&pdev->dev, &bytcht_nocodec_card); in snd_bytcht_nocodec_mc_probe()
188 if (ret_val) { in snd_bytcht_nocodec_mc_probe()
190 ret_val); in snd_bytcht_nocodec_mc_probe()
191 return ret_val; in snd_bytcht_nocodec_mc_probe()
194 return ret_val; in snd_bytcht_nocodec_mc_probe()
Dbytcht_da7213.c234 int ret_val = 0; in bytcht_da7213_probe() local
262 ret_val = devm_snd_soc_register_card(&pdev->dev, card); in bytcht_da7213_probe()
263 if (ret_val) { in bytcht_da7213_probe()
265 "snd_soc_register_card failed %d\n", ret_val); in bytcht_da7213_probe()
266 return ret_val; in bytcht_da7213_probe()
269 return ret_val; in bytcht_da7213_probe()
Dbytcr_rt5651.c301 int ret_val = 0; in snd_byt_rt5651_mc_probe() local
306 ret_val = devm_snd_soc_register_card(&pdev->dev, &byt_rt5651_card); in snd_byt_rt5651_mc_probe()
308 if (ret_val) { in snd_byt_rt5651_mc_probe()
310 ret_val); in snd_byt_rt5651_mc_probe()
311 return ret_val; in snd_byt_rt5651_mc_probe()
314 return ret_val; in snd_byt_rt5651_mc_probe()
Dcht_bsw_max98090_ti.c297 int ret_val = 0; in snd_cht_mc_probe() local
314 ret_val = devm_snd_soc_register_card(&pdev->dev, &snd_soc_card_cht); in snd_cht_mc_probe()
315 if (ret_val) { in snd_cht_mc_probe()
317 "snd_soc_register_card failed %d\n", ret_val); in snd_cht_mc_probe()
318 return ret_val; in snd_cht_mc_probe()
321 return ret_val; in snd_cht_mc_probe()
Dbytcr_rt5640.c761 int ret_val = 0; in snd_byt_rt5640_mc_probe() local
897 ret_val = PTR_ERR(priv->mclk); in snd_byt_rt5640_mc_probe()
901 ret_val); in snd_byt_rt5640_mc_probe()
908 if (ret_val != -ENOENT) in snd_byt_rt5640_mc_probe()
909 return ret_val; in snd_byt_rt5640_mc_probe()
914 ret_val = devm_snd_soc_register_card(&pdev->dev, &byt_rt5640_card); in snd_byt_rt5640_mc_probe()
916 if (ret_val) { in snd_byt_rt5640_mc_probe()
918 ret_val); in snd_byt_rt5640_mc_probe()
919 return ret_val; in snd_byt_rt5640_mc_probe()
922 return ret_val; in snd_byt_rt5640_mc_probe()
Dcht_bsw_rt5672.c413 int ret_val = 0; in snd_cht_mc_probe() local
455 ret_val = devm_snd_soc_register_card(&pdev->dev, &snd_soc_card_cht); in snd_cht_mc_probe()
456 if (ret_val) { in snd_cht_mc_probe()
458 "snd_soc_register_card failed %d\n", ret_val); in snd_cht_mc_probe()
459 return ret_val; in snd_cht_mc_probe()
462 return ret_val; in snd_cht_mc_probe()
Dcht_bsw_rt5645.c555 int ret_val = 0; in snd_cht_mc_probe() local
703 ret_val = devm_snd_soc_register_card(&pdev->dev, card); in snd_cht_mc_probe()
704 if (ret_val) { in snd_cht_mc_probe()
706 "snd_soc_register_card failed %d\n", ret_val); in snd_cht_mc_probe()
707 return ret_val; in snd_cht_mc_probe()
710 return ret_val; in snd_cht_mc_probe()