Home
last modified time | relevance | path

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

/kernel/dma/
Dswiotlb.c66 phys_addr_t orig_addr; member
311 mem->slots[i].orig_addr = INVALID_PHYS_ADDR; in swiotlb_init_io_tlb_mem()
556 phys_addr_t orig_addr = mem->slots[index].orig_addr; in swiotlb_bounce() local
558 unsigned long pfn = PFN_DOWN(orig_addr); in swiotlb_bounce()
562 if (orig_addr == INVALID_PHYS_ADDR) in swiotlb_bounce()
566 orig_addr_offset = swiotlb_align_offset(dev, orig_addr); in swiotlb_bounce()
582 orig_addr += tlb_offset; in swiotlb_bounce()
593 unsigned int offset = orig_addr & ~PAGE_MASK; in swiotlb_bounce()
615 memcpy(vaddr, phys_to_virt(orig_addr), size); in swiotlb_bounce()
617 memcpy(phys_to_virt(orig_addr), vaddr, size); in swiotlb_bounce()
[all …]