Lines Matching refs:ARCH_DMA_MINALIGN
120 jr->input_ring = (dma_addr_t *)memalign(ARCH_DMA_MINALIGN, in jr_init()
126 ARCH_DMA_MINALIGN); in jr_init()
128 (struct op_ring *)memalign(ARCH_DMA_MINALIGN, jr->op_size); in jr_init()
219 ~(ARCH_DMA_MINALIGN - 1); in jr_enqueue()
221 sizeof(struct jr_info), ARCH_DMA_MINALIGN); in jr_enqueue()
245 start = (unsigned long)&jr->input_ring[head] & ~(ARCH_DMA_MINALIGN - 1); in jr_enqueue()
247 sizeof(dma_addr_t), ARCH_DMA_MINALIGN); in jr_enqueue()
254 ~(ARCH_DMA_MINALIGN - 1); in jr_enqueue()
256 ARCH_DMA_MINALIGN); in jr_enqueue()
455 int desc_size = ALIGN(sizeof(u32) * 2, ARCH_DMA_MINALIGN); in deinstantiate_rng()
457 desc = memalign(ARCH_DMA_MINALIGN, desc_size); in deinstantiate_rng()
505 desc = memalign(ARCH_DMA_MINALIGN, sizeof(uint32_t) * 6); in instantiate_rng()
530 size = roundup(sizeof(uint32_t) * 6, ARCH_DMA_MINALIGN); in instantiate_rng()