Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/
H A 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()
157 block_index = index / pool->sgl_num_per_block; in acc_get_sgl()
158 offset = index % pool->sgl_num_per_block; in acc_get_sgl()
/kernel/linux/linux-6.6/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()

Completed in 2 milliseconds