Home
last modified time | relevance | path

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

/drivers/base/firmware_loader/
Dmain.c371 static int fw_decompress_xz_error(struct device *dev, enum xz_ret xz_ret) in fw_decompress_xz_error() argument
373 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() local
399 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() local
437 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 …]
/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()