Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/hisilicon/
H A Dsgl.c41 u32 sgl_num_per_block; member
60 u32 sgl_size, block_size, sgl_num_per_block, block_num, remain_sgl; in hisi_acc_create_sgl_pool() local
78 sgl_num_per_block = block_size / sgl_size; in hisi_acc_create_sgl_pool()
79 block_num = count / sgl_num_per_block; in hisi_acc_create_sgl_pool()
80 remain_sgl = count % sgl_num_per_block; in hisi_acc_create_sgl_pool()
115 pool->sgl_num_per_block = sgl_num_per_block; in hisi_acc_create_sgl_pool()
168 block_index = index / pool->sgl_num_per_block; in acc_get_sgl()
169 offset = index % pool->sgl_num_per_block; in acc_get_sgl()