Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
Dsgl.c40 u32 sgl_num_per_block; member
59 u32 sgl_size, block_size, sgl_num_per_block, block_num, remain_sgl = 0; in hisi_acc_create_sgl_pool() local
71 sgl_num_per_block = block_size / sgl_size; in hisi_acc_create_sgl_pool()
72 block_num = count / sgl_num_per_block; in hisi_acc_create_sgl_pool()
73 remain_sgl = count % sgl_num_per_block; in hisi_acc_create_sgl_pool()
104 pool->sgl_num_per_block = sgl_num_per_block; in hisi_acc_create_sgl_pool()
158 block_index = index / pool->sgl_num_per_block; in acc_get_sgl()
159 offset = index % pool->sgl_num_per_block; in acc_get_sgl()