Lines Matching refs:TOPA_ENTRY
598 #define TOPA_ENTRY(t, i) \ macro
602 #define TOPA_ENTRY_SIZE(t, i) (sizes(TOPA_ENTRY((t), (i))->size))
603 #define TOPA_ENTRY_PAGES(t, i) (1 << TOPA_ENTRY((t), (i))->size)
630 TOPA_ENTRY(&tp->topa, 1)->base = page_to_phys(p) >> TOPA_SHIFT; in topa_alloc()
631 TOPA_ENTRY(&tp->topa, 1)->end = 1; in topa_alloc()
674 TOPA_ENTRY(last, -1)->base = topa_pfn(topa); in topa_insert_table()
675 TOPA_ENTRY(last, -1)->end = 1; in topa_insert_table()
720 if (order == TOPA_ENTRY(topa, topa->last - 1)->size) in topa_insert_pages()
724 TOPA_ENTRY(topa, -1)->base = page_to_phys(p) >> TOPA_SHIFT; in topa_insert_pages()
725 TOPA_ENTRY(topa, -1)->size = order; in topa_insert_pages()
728 TOPA_ENTRY(topa, -1)->intr = 1; in topa_insert_pages()
729 TOPA_ENTRY(topa, -1)->stop = 1; in topa_insert_pages()
830 return phys_to_virt(TOPA_ENTRY(buf->cur, buf->cur_idx)->base << TOPA_SHIFT); in pt_buffer_region()
1119 buf->cur_idx = te - TOPA_ENTRY(buf->cur, 0); in pt_buffer_reset_offsets()
1171 TOPA_ENTRY(buf->last, -1)->base = topa_pfn(buf->first); in pt_buffer_init_topa()
1172 TOPA_ENTRY(buf->last, -1)->end = 1; in pt_buffer_init_topa()