Lines Matching refs:offset
426 unsigned int offset = orig_addr & ~PAGE_MASK; in swiotlb_bounce() local
432 sz = min_t(size_t, PAGE_SIZE - offset, size); in swiotlb_bounce()
437 memcpy(vaddr, buffer + offset, sz); in swiotlb_bounce()
439 memcpy(buffer + offset, vaddr, sz); in swiotlb_bounce()
446 offset = 0; in swiotlb_bounce()
568 unsigned int offset = swiotlb_align_offset(dev, orig_addr); in swiotlb_tbl_map_single() local
585 index = find_slots(dev, orig_addr, alloc_size + offset); in swiotlb_tbl_map_single()
599 for (i = 0; i < nr_slots(alloc_size + offset); i++) in swiotlb_tbl_map_single()
602 tlb_addr = slot_addr(io_tlb_start, index) + offset; in swiotlb_tbl_map_single()
622 unsigned int offset = swiotlb_align_offset(hwdev, tlb_addr); in swiotlb_tbl_unmap_single() local
623 int i, count, nslots = nr_slots(alloc_size + offset); in swiotlb_tbl_unmap_single()
624 int index = (tlb_addr - offset - io_tlb_start) >> IO_TLB_SHIFT; in swiotlb_tbl_unmap_single()