Home
last modified time | relevance | path

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

/linux/drivers/crypto/hisilicon/
A Dsgl.c40 u32 sgl_num_per_block; member
59 u32 sgl_size, block_size, sgl_num_per_block, block_num, remain_sgl; in hisi_acc_create_sgl_pool() local
76 sgl_num_per_block = block_size / sgl_size; in hisi_acc_create_sgl_pool()
77 block_num = count / sgl_num_per_block; in hisi_acc_create_sgl_pool()
78 remain_sgl = count % sgl_num_per_block; in hisi_acc_create_sgl_pool()
113 pool->sgl_num_per_block = sgl_num_per_block; in hisi_acc_create_sgl_pool()
167 block_index = index / pool->sgl_num_per_block; in acc_get_sgl()
168 offset = index % pool->sgl_num_per_block; in acc_get_sgl()

Completed in 3 milliseconds