Lines Matching refs:TOPA_ENTRY
616 #define TOPA_ENTRY(t, i) \ macro
620 #define TOPA_ENTRY_SIZE(t, i) (sizes(TOPA_ENTRY((t), (i))->size))
621 #define TOPA_ENTRY_PAGES(t, i) (1 << TOPA_ENTRY((t), (i))->size)
675 TOPA_ENTRY(&tp->topa, 1)->base = page_to_phys(p) >> TOPA_SHIFT; in topa_alloc()
676 TOPA_ENTRY(&tp->topa, 1)->end = 1; in topa_alloc()
719 TOPA_ENTRY(last, -1)->base = topa_pfn(topa); in topa_insert_table()
720 TOPA_ENTRY(last, -1)->end = 1; in topa_insert_table()
765 if (order == TOPA_ENTRY(topa, topa->last - 1)->size) in topa_insert_pages()
769 TOPA_ENTRY(topa, -1)->base = page_to_phys(p) >> TOPA_SHIFT; in topa_insert_pages()
770 TOPA_ENTRY(topa, -1)->size = order; in topa_insert_pages()
773 TOPA_ENTRY(topa, -1)->intr = 1; in topa_insert_pages()
774 TOPA_ENTRY(topa, -1)->stop = 1; in topa_insert_pages()
880 return phys_to_virt(TOPA_ENTRY(buf->cur, buf->cur_idx)->base << TOPA_SHIFT); in pt_buffer_region()
1177 buf->cur_idx = te - TOPA_ENTRY(buf->cur, 0); in pt_buffer_reset_offsets()
1235 TOPA_ENTRY(buf->last, -1)->base = topa_pfn(buf->first); in pt_buffer_init_topa()
1236 TOPA_ENTRY(buf->last, -1)->end = 1; in pt_buffer_init_topa()