Home
last modified time | relevance | path

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

/sound/soc/intel/atom/sst/
Dsst_loader.c178 int ret_val = 0; in sst_parse_module_memcpy() local
212 ret_val = sst_fill_memcpy_list(memcpy_list, in sst_parse_module_memcpy()
215 if (ret_val) in sst_parse_module_memcpy()
216 return ret_val; in sst_parse_module_memcpy()
237 int ret_val; in sst_parse_fw_memcpy() local
239 ret_val = sst_validate_fw_image(ctx, size, &module, &num_modules); in sst_parse_fw_memcpy()
240 if (ret_val) in sst_parse_fw_memcpy()
241 return ret_val; in sst_parse_fw_memcpy()
244 ret_val = sst_parse_module_memcpy(ctx, module, fw_list); in sst_parse_fw_memcpy()
245 if (ret_val) in sst_parse_fw_memcpy()
[all …]
Dsst_drv_interface.c643 int ret_val = 0; in sst_send_byte_stream() local
648 ret_val = pm_runtime_get_sync(ctx->dev); in sst_send_byte_stream()
649 if (ret_val < 0) { in sst_send_byte_stream()
651 return ret_val; in sst_send_byte_stream()
654 ret_val = sst_send_byte_stream_mrfld(ctx, bytes); in sst_send_byte_stream()
657 return ret_val; in sst_send_byte_stream()
704 int ret_val; in sst_register() local
707 ret_val = sst_register_dsp(&sst_dsp_device); in sst_register()
708 if (ret_val) in sst_register()
711 return ret_val; in sst_register()
/sound/soc/intel/atom/
Dsst-mfld-platform-pcm.c230 int ret_val = 0; in sst_platform_alloc_stream() local
241 ret_val = sst_fill_stream_params(substream, ctx, &str_params, false); in sst_platform_alloc_stream()
242 if (ret_val < 0) in sst_platform_alloc_stream()
243 return ret_val; in sst_platform_alloc_stream()
247 ret_val = stream->ops->open(sst->dev, &str_params); in sst_platform_alloc_stream()
248 if (ret_val <= 0) in sst_platform_alloc_stream()
249 return ret_val; in sst_platform_alloc_stream()
252 return ret_val; in sst_platform_alloc_stream()
277 int ret_val; in sst_platform_init_stream() local
285 ret_val = stream->ops->stream_init(sst->dev, &stream->stream_info); in sst_platform_init_stream()
[all …]
Dsst-mfld-platform-compress.c45 int ret_val; in sst_platform_compr_open() local
58 ret_val = -ENODEV; in sst_platform_compr_open()
72 return ret_val; in sst_platform_compr_open()
79 int ret_val = 0, str_id; in sst_platform_compr_free() local
88 ret_val = stream->compr_ops->close(sst->dev, str_id); in sst_platform_compr_free()
91 pr_debug("%s: %d\n", __func__, ret_val); in sst_platform_compr_free()
/sound/soc/intel/boards/
Dcht_bsw_max98090_ti.c534 int ret_val = 0; in snd_cht_mc_probe() local
555 ret_val = devm_acpi_dev_add_driver_gpios(dev->parent, in snd_cht_mc_probe()
557 if (ret_val) in snd_cht_mc_probe()
566 ret_val = snd_soc_fixup_dai_links_platform_name(&snd_soc_card_cht, in snd_cht_mc_probe()
568 if (ret_val) in snd_cht_mc_probe()
569 return ret_val; in snd_cht_mc_probe()
595 ret_val = clk_prepare_enable(drv->mclk); in snd_cht_mc_probe()
596 if (ret_val < 0) { in snd_cht_mc_probe()
597 dev_err(&pdev->dev, "MCLK enable error: %d\n", ret_val); in snd_cht_mc_probe()
598 return ret_val; in snd_cht_mc_probe()
[all …]
Dbytcht_da7213.c239 int ret_val = 0; in bytcht_da7213_probe() local
266 ret_val = snd_soc_fixup_dai_links_platform_name(card, platform_name); in bytcht_da7213_probe()
267 if (ret_val) in bytcht_da7213_probe()
268 return ret_val; in bytcht_da7213_probe()
285 ret_val = devm_snd_soc_register_card(&pdev->dev, card); in bytcht_da7213_probe()
286 if (ret_val) { in bytcht_da7213_probe()
288 "snd_soc_register_card failed %d\n", ret_val); in bytcht_da7213_probe()
289 return ret_val; in bytcht_da7213_probe()
292 return ret_val; in bytcht_da7213_probe()
Dcht_bsw_nau8824.c253 int ret_val; in snd_cht_mc_probe() local
265 ret_val = snd_soc_fixup_dai_links_platform_name(&snd_soc_card_cht, in snd_cht_mc_probe()
267 if (ret_val) in snd_cht_mc_probe()
268 return ret_val; in snd_cht_mc_probe()
286 ret_val = devm_snd_soc_register_card(&pdev->dev, &snd_soc_card_cht); in snd_cht_mc_probe()
287 if (ret_val) { in snd_cht_mc_probe()
289 "snd_soc_register_card failed %d\n", ret_val); in snd_cht_mc_probe()
290 return ret_val; in snd_cht_mc_probe()
294 return ret_val; in snd_cht_mc_probe()
Dbytcht_nocodec.c170 int ret_val = 0; in snd_bytcht_nocodec_mc_probe() local
175 ret_val = devm_snd_soc_register_card(&pdev->dev, &bytcht_nocodec_card); in snd_bytcht_nocodec_mc_probe()
177 if (ret_val) { in snd_bytcht_nocodec_mc_probe()
179 ret_val); in snd_bytcht_nocodec_mc_probe()
180 return ret_val; in snd_bytcht_nocodec_mc_probe()
183 return ret_val; in snd_bytcht_nocodec_mc_probe()
Dbytcr_rt5651.c905 int ret_val = 0; in snd_byt_rt5651_mc_probe() local
1011 ret_val = byt_rt5651_add_codec_device_props(codec_dev, priv); in snd_byt_rt5651_mc_probe()
1012 if (ret_val) in snd_byt_rt5651_mc_probe()
1027 ret_val = PTR_ERR(priv->ext_amp_gpio); in snd_byt_rt5651_mc_probe()
1028 switch (ret_val) { in snd_byt_rt5651_mc_probe()
1034 ret_val); in snd_byt_rt5651_mc_probe()
1046 ret_val = PTR_ERR(priv->hp_detect); in snd_byt_rt5651_mc_probe()
1047 switch (ret_val) { in snd_byt_rt5651_mc_probe()
1053 ret_val); in snd_byt_rt5651_mc_probe()
1074 ret_val = PTR_ERR(priv->mclk); in snd_byt_rt5651_mc_probe()
[all …]
Dcht_bsw_rt5672.c448 int ret_val = 0; in snd_cht_mc_probe() local
490 ret_val = snd_soc_fixup_dai_links_platform_name(&snd_soc_card_cht, in snd_cht_mc_probe()
492 if (ret_val) in snd_cht_mc_probe()
493 return ret_val; in snd_cht_mc_probe()
522 ret_val = devm_snd_soc_register_card(&pdev->dev, &snd_soc_card_cht); in snd_cht_mc_probe()
523 if (ret_val) { in snd_cht_mc_probe()
525 "snd_soc_register_card failed %d\n", ret_val); in snd_cht_mc_probe()
526 return ret_val; in snd_cht_mc_probe()
529 return ret_val; in snd_cht_mc_probe()
Dcht_bsw_rt5645.c541 int ret_val = 0; in snd_cht_mc_probe() local
659 ret_val = snd_soc_fixup_dai_links_platform_name(card, in snd_cht_mc_probe()
661 if (ret_val) in snd_cht_mc_probe()
662 return ret_val; in snd_cht_mc_probe()
697 ret_val = devm_snd_soc_register_card(&pdev->dev, card); in snd_cht_mc_probe()
698 if (ret_val) { in snd_cht_mc_probe()
700 "snd_soc_register_card failed %d\n", ret_val); in snd_cht_mc_probe()
701 return ret_val; in snd_cht_mc_probe()
704 return ret_val; in snd_cht_mc_probe()
Dbytcr_rt5640.c1559 int ret_val = 0; in snd_byt_rt5640_mc_probe() local
1682 ret_val = PTR_ERR(priv->hsmic_detect); in snd_byt_rt5640_mc_probe()
1683 dev_err_probe(&pdev->dev, ret_val, "getting hsmic-detect GPIO\n"); in snd_byt_rt5640_mc_probe()
1689 ret_val = byt_rt5640_add_codec_device_props(codec_dev, priv); in snd_byt_rt5640_mc_probe()
1690 if (ret_val) in snd_byt_rt5640_mc_probe()
1710 ret_val = PTR_ERR(priv->mclk); in snd_byt_rt5640_mc_probe()
1714 ret_val); in snd_byt_rt5640_mc_probe()
1721 if (ret_val != -ENOENT) in snd_byt_rt5640_mc_probe()
1763 ret_val = snd_soc_fixup_dai_links_platform_name(&byt_rt5640_card, in snd_byt_rt5640_mc_probe()
1765 if (ret_val) in snd_byt_rt5640_mc_probe()
[all …]