Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c49 #define SEC_TOTAL_MAC_SZ (SEC_MAX_MAC_LEN * QM_Q_DEPTH) macro
257 res->out_mac = dma_alloc_coherent(dev, SEC_TOTAL_MAC_SZ << 1, in sec_alloc_mac_resource()
274 dma_free_coherent(dev, SEC_TOTAL_MAC_SZ << 1, in sec_free_mac_resource()
/kernel/linux/linux-6.6/drivers/crypto/hisilicon/sec2/
H A Dsec_crypto.c69 #define SEC_TOTAL_MAC_SZ(depth) (SEC_MAX_MAC_LEN * (depth)) macro
363 res->out_mac = dma_alloc_coherent(dev, SEC_TOTAL_MAC_SZ(q_depth) << 1, in sec_alloc_mac_resource()
380 dma_free_coherent(dev, SEC_TOTAL_MAC_SZ(res->depth) << 1, in sec_free_mac_resource()

Completed in 6 milliseconds