Home
last modified time | relevance | path

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

/drivers/base/firmware_loader/
Dmain.c375 static int fw_decompress_xz_error(struct device *dev, enum xz_ret xz_ret) in fw_decompress_xz_error() argument
377 if (xz_ret != XZ_STREAM_END) { in fw_decompress_xz_error()
378 dev_warn(dev, "xz decompression failed (xz_ret=%d)\n", xz_ret); in fw_decompress_xz_error()
379 return xz_ret == XZ_MEM_ERROR ? -ENOMEM : -EINVAL; in fw_decompress_xz_error()
390 enum xz_ret xz_ret; in fw_decompress_xz_single() local
403 xz_ret = xz_dec_run(xz_dec, &xz_buf); in fw_decompress_xz_single()
407 return fw_decompress_xz_error(dev, xz_ret); in fw_decompress_xz_single()
416 enum xz_ret xz_ret; in fw_decompress_xz_pages() local
441 xz_ret = xz_dec_run(xz_dec, &xz_buf); in fw_decompress_xz_pages()
447 } while (xz_ret == XZ_OK); in fw_decompress_xz_pages()
[all …]
/drivers/net/ethernet/mellanox/mlxfw/
Dmlxfw_mfa2.c393 enum xz_ret xz_ret; in mlxfw_mfa2_xz_dec_run() local
395 xz_ret = xz_dec_run(xz_dec, xz_buf); in mlxfw_mfa2_xz_dec_run()
397 switch (xz_ret) { in mlxfw_mfa2_xz_dec_run()
420 pr_err("xz error %d\n", xz_ret); in mlxfw_mfa2_xz_dec_run()