Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/crypto/qat/qat_common/
Dadf_transport.c167 u32 ring_size_bytes = in adf_init_ring() local
170 ring_size_bytes = ADF_RING_SIZE_BYTES_MIN(ring_size_bytes); in adf_init_ring()
172 ring_size_bytes, &ring->dma_addr, in adf_init_ring()
177 memset(ring->base_addr, 0x7F, ring_size_bytes); in adf_init_ring()
179 if (adf_check_ring_alignment(ring->dma_addr, ring_size_bytes)) { in adf_init_ring()
181 dma_free_coherent(&GET_DEV(accel_dev), ring_size_bytes, in adf_init_ring()
205 u32 ring_size_bytes = in adf_cleanup_ring() local
207 ring_size_bytes = ADF_RING_SIZE_BYTES_MIN(ring_size_bytes); in adf_cleanup_ring()
210 memset(ring->base_addr, 0x7F, ring_size_bytes); in adf_cleanup_ring()
212 ring_size_bytes, ring->base_addr, in adf_cleanup_ring()