Home
last modified time | relevance | path

Searched refs:aligned_phys (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/arch/powerpc/platforms/ps3/
Dmm.c782 unsigned long aligned_phys = ALIGN_DOWN(phys_addr, 1 << r->page_size); in dma_sb_map_area() local
783 unsigned long aligned_len = ALIGN(len + phys_addr - aligned_phys, in dma_sb_map_area()
812 result = dma_sb_map_pages(r, aligned_phys, aligned_len, &c, iopte_flag); in dma_sb_map_area()
837 unsigned long aligned_phys = ALIGN_DOWN(phys_addr, 1 << r->page_size); in dma_ioc0_map_area() local
838 unsigned long aligned_len = ALIGN(len + phys_addr - aligned_phys, in dma_ioc0_map_area()
844 phys_addr, aligned_phys, aligned_len); in dma_ioc0_map_area()
852 *bus_addr = c->bus_addr + phys_addr - aligned_phys; in dma_ioc0_map_area()
858 result = dma_ioc0_map_pages(r, aligned_phys, aligned_len, &c, in dma_ioc0_map_area()
868 *bus_addr = c->bus_addr + phys_addr - aligned_phys; in dma_ioc0_map_area()
870 virt_addr, phys_addr, aligned_phys, *bus_addr); in dma_ioc0_map_area()