Lines Matching refs:base
611 void *base;
614 base = buf->data_pages[0];
617 base = topa_to_page(buf->cur)->table;
621 reg = virt_to_phys(base);
659 TOPA_ENTRY(&tp->topa, 1)->base = page_to_phys(p) >> TOPA_SHIFT;
703 TOPA_ENTRY(last, -1)->base = topa_pfn(topa);
753 TOPA_ENTRY(topa, -1)->base = page_to_phys(p) >> TOPA_SHIFT;
786 (unsigned long)tp->table[i].base << TOPA_SHIFT,
832 u64 topa_idx, base, old;
840 base = buf->cur->offset + buf->output_off;
844 base += TOPA_ENTRY_SIZE(buf->cur, topa_idx);
847 local_set(&buf->data_size, base);
849 old = (local64_xchg(&buf->head, base) &
851 if (base < old)
852 base += buf->nr_pages << PAGE_SHIFT;
854 local_add(base - old, &buf->data_size);
864 return phys_to_virt(TOPA_ENTRY(buf->cur, buf->cur_idx)->base << TOPA_SHIFT);
1219 TOPA_ENTRY(buf->last, -1)->base = topa_pfn(buf->first);