Searched refs:xz_ret (Results 1 – 2 of 2) sorted by relevance
371 static int fw_decompress_xz_error(struct device *dev, enum xz_ret xz_ret) in fw_decompress_xz_error() argument373 if (xz_ret != XZ_STREAM_END) { in fw_decompress_xz_error()374 dev_warn(dev, "xz decompression failed (xz_ret=%d)\n", xz_ret); in fw_decompress_xz_error()375 return xz_ret == XZ_MEM_ERROR ? -ENOMEM : -EINVAL; in fw_decompress_xz_error()386 enum xz_ret xz_ret; in fw_decompress_xz_single() local399 xz_ret = xz_dec_run(xz_dec, &xz_buf); in fw_decompress_xz_single()403 return fw_decompress_xz_error(dev, xz_ret); in fw_decompress_xz_single()412 enum xz_ret xz_ret; in fw_decompress_xz_pages() local437 xz_ret = xz_dec_run(xz_dec, &xz_buf); in fw_decompress_xz_pages()443 } while (xz_ret == XZ_OK); in fw_decompress_xz_pages()[all …]
393 enum xz_ret xz_ret; in mlxfw_mfa2_xz_dec_run() local395 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()