Searched refs:aligned_phys (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/arch/powerpc/platforms/ps3/ |
D | mm.c | 790 unsigned long aligned_phys = _ALIGN_DOWN(phys_addr, 1 << r->page_size); in dma_sb_map_area() local 791 unsigned long aligned_len = _ALIGN_UP(len + phys_addr - aligned_phys, in dma_sb_map_area() 820 result = dma_sb_map_pages(r, aligned_phys, aligned_len, &c, iopte_flag); in dma_sb_map_area() 845 unsigned long aligned_phys = _ALIGN_DOWN(phys_addr, 1 << r->page_size); in dma_ioc0_map_area() local 846 unsigned long aligned_len = _ALIGN_UP(len + phys_addr - aligned_phys, in dma_ioc0_map_area() 852 phys_addr, aligned_phys, aligned_len); in dma_ioc0_map_area() 860 *bus_addr = c->bus_addr + phys_addr - aligned_phys; in dma_ioc0_map_area() 866 result = dma_ioc0_map_pages(r, aligned_phys, aligned_len, &c, in dma_ioc0_map_area() 876 *bus_addr = c->bus_addr + phys_addr - aligned_phys; in dma_ioc0_map_area() 878 virt_addr, phys_addr, aligned_phys, *bus_addr); in dma_ioc0_map_area()
|