Searched refs:ring_size_bytes (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/qat/qat_common/ |
H A D | adf_transport.c | 317 u32 ring_size_bytes = ADF_SIZE_TO_RING_SIZE_IN_BYTES(ring->ring_size); in adf_init_ring() local 319 ring_size_bytes = ADF_RING_SIZE_BYTES_MIN(ring_size_bytes); in adf_init_ring() 324 ring_size_bytes, in adf_init_ring() 326 ring_size_bytes, in adf_init_ring() 333 memset(ring->base_addr, 0x7F, ring_size_bytes); in adf_init_ring() 335 if (adf_check_ring_alignment(ring->dma_addr, ring_size_bytes)) { in adf_init_ring() 360 u32 ring_size_bytes = ADF_SIZE_TO_RING_SIZE_IN_BYTES(ring->ring_size); in adf_cleanup_ring() local 361 ring_size_bytes = ADF_RING_SIZE_BYTES_MIN(ring_size_bytes); in adf_cleanup_ring() 364 explicit_bzero(ring->base_addr, ring_size_bytes); in adf_cleanup_ring()
|
/freebsd/sys/dev/qat_c2xxx/ |
H A D | qat.c | 896 uint32_t ring_size_bytes, ring_config; in qat_etr_setup_ring() local 932 ring_size_bytes = QAT_SIZE_TO_RING_SIZE_IN_BYTES(qr->qr_ring_size); in qat_etr_setup_ring() 933 ring_size_bytes = QAT_RING_SIZE_BYTES_MIN(ring_size_bytes); in qat_etr_setup_ring() 934 error = qat_alloc_dmamem(sc, &qr->qr_dma, 1, ring_size_bytes, in qat_etr_setup_ring() 935 ring_size_bytes); in qat_etr_setup_ring()
|