Searched refs:xz_ret (Results 1 – 2 of 2) sorted by relevance
375 static int fw_decompress_xz_error(struct device *dev, enum xz_ret xz_ret) in fw_decompress_xz_error() argument377 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() local403 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() local441 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 …]
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()