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

/linux-4.4.14/drivers/crypto/caam/
H A Dcaamrng.c50 #define RN_BUF_SIZE (0xffff / L1_CACHE_BYTES * \ macro
59 u8 buf[RN_BUF_SIZE] ____cacheline_aligned;
84 dma_unmap_single(jrdev, bd->addr, RN_BUF_SIZE, rng_unmap_buf()
113 dma_sync_single_for_cpu(jrdev, bd->addr, RN_BUF_SIZE, DMA_FROM_DEVICE); rng_done()
117 DUMP_PREFIX_ADDRESS, 16, 4, bd->buf, RN_BUF_SIZE, 1); rng_done()
168 if (next_buf_idx < RN_BUF_SIZE) { caam_read()
175 copied_idx = RN_BUF_SIZE - ctx->cur_buf_idx; caam_read()
206 append_seq_fifo_store(desc, RN_BUF_SIZE, FIFOST_TYPE_RNGSTORE); rng_create_sh_desc()
231 bd->addr = dma_map_single(jrdev, bd->buf, RN_BUF_SIZE, DMA_FROM_DEVICE); rng_create_job_desc()
237 append_seq_out_ptr_intlen(desc, bd->addr, RN_BUF_SIZE, 0); rng_create_job_desc()

Completed in 58 milliseconds