Searched refs:aligned_phys (Results 1 – 1 of 1) sorted by relevance
/arch/powerpc/platforms/ps3/ |
D | mm.c | 795 unsigned long aligned_phys = _ALIGN_DOWN(phys_addr, 1 << r->page_size); in dma_sb_map_area() local 796 unsigned long aligned_len = _ALIGN_UP(len + phys_addr - aligned_phys, in dma_sb_map_area() 825 result = dma_sb_map_pages(r, aligned_phys, aligned_len, &c, iopte_flag); in dma_sb_map_area() 850 unsigned long aligned_phys = _ALIGN_DOWN(phys_addr, 1 << r->page_size); in dma_ioc0_map_area() local 851 unsigned long aligned_len = _ALIGN_UP(len + phys_addr - aligned_phys, in dma_ioc0_map_area() 857 phys_addr, aligned_phys, aligned_len); in dma_ioc0_map_area() 865 *bus_addr = c->bus_addr + phys_addr - aligned_phys; in dma_ioc0_map_area() 871 result = dma_ioc0_map_pages(r, aligned_phys, aligned_len, &c, in dma_ioc0_map_area() 881 *bus_addr = c->bus_addr + phys_addr - aligned_phys; in dma_ioc0_map_area() 883 virt_addr, phys_addr, aligned_phys, *bus_addr); in dma_ioc0_map_area()
|