Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptpf_ucode.c410 size_t tar_offs = 0; in load_tar_archive() local
444 if (tar_offs + cur_size > tar_size || in load_tar_archive()
445 tar_offs + 2*TAR_BLOCK_LEN > tar_size) { in load_tar_archive()
450 tar_offs += TAR_BLOCK_LEN; in load_tar_archive()
455 &tar_arch->fw->data[tar_offs], in load_tar_archive()
461 tar_offs += (cur_size/TAR_BLOCK_LEN) * TAR_BLOCK_LEN; in load_tar_archive()
463 tar_offs += TAR_BLOCK_LEN; in load_tar_archive()
466 if (tar_offs + 2*TAR_BLOCK_LEN > tar_size) { in load_tar_archive()
471 if (is_mem_zero(&tar_arch->fw->data[tar_offs], in load_tar_archive()
476 tar_blk = (struct tar_blk_t *) &tar_arch->fw->data[tar_offs]; in load_tar_archive()