Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/crypto/marvell/octeontx2/
Dotx2_cpt_reqmgr.h30 #define SG_COMPS_MAX 4 macro
236 components = buf_count / SG_COMPS_MAX; in setup_sgio_components()
239 sg_ptr->len0 = cpu_to_be16(list[i * SG_COMPS_MAX + 0].size); in setup_sgio_components()
240 sg_ptr->len1 = cpu_to_be16(list[i * SG_COMPS_MAX + 1].size); in setup_sgio_components()
241 sg_ptr->len2 = cpu_to_be16(list[i * SG_COMPS_MAX + 2].size); in setup_sgio_components()
242 sg_ptr->len3 = cpu_to_be16(list[i * SG_COMPS_MAX + 3].size); in setup_sgio_components()
243 sg_ptr->ptr0 = cpu_to_be64(list[i * SG_COMPS_MAX + 0].dma_addr); in setup_sgio_components()
244 sg_ptr->ptr1 = cpu_to_be64(list[i * SG_COMPS_MAX + 1].dma_addr); in setup_sgio_components()
245 sg_ptr->ptr2 = cpu_to_be64(list[i * SG_COMPS_MAX + 2].dma_addr); in setup_sgio_components()
246 sg_ptr->ptr3 = cpu_to_be64(list[i * SG_COMPS_MAX + 3].dma_addr); in setup_sgio_components()
[all …]