Lines Matching refs:aligned_bus
409 unsigned long aligned_bus = _ALIGN_DOWN(bus_addr, 1 << r->page_size); in dma_find_chunk() local
410 unsigned long aligned_len = _ALIGN_UP(len+bus_addr-aligned_bus, in dma_find_chunk()
415 if (aligned_bus >= c->bus_addr && in dma_find_chunk()
416 aligned_bus + aligned_len <= c->bus_addr + c->len) in dma_find_chunk()
420 if (aligned_bus + aligned_len <= c->bus_addr) in dma_find_chunk()
424 if (aligned_bus >= c->bus_addr + c->len) in dma_find_chunk()
904 unsigned long aligned_bus = _ALIGN_DOWN(bus_addr, in dma_sb_unmap_area() local
907 - aligned_bus, 1 << r->page_size); in dma_sb_unmap_area()
913 __func__, __LINE__, aligned_bus); in dma_sb_unmap_area()
941 unsigned long aligned_bus = _ALIGN_DOWN(bus_addr, in dma_ioc0_unmap_area() local
944 - aligned_bus, in dma_ioc0_unmap_area()
951 __func__, __LINE__, aligned_bus); in dma_ioc0_unmap_area()