Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/imagination/
H A Dpvr_mmu.c1449 * @curr_page: A reference to a single physical page as indexed by the
1452 struct pvr_page_table_ptr curr_page; member
1472 * It is the caller's responsibility to ensure @op_ctx.curr_page points to a
1486 op_ctx->curr_page.l2_idx); in pvr_page_table_l2_insert()
1492 child_table->parent_idx = op_ctx->curr_page.l2_idx; in pvr_page_table_l2_insert()
1493 l2_table->entries[op_ctx->curr_page.l2_idx] = child_table; in pvr_page_table_l2_insert()
1495 op_ctx->curr_page.l1_table = child_table; in pvr_page_table_l2_insert()
1503 * It is the caller's responsibility to ensure @op_ctx.curr_page points to a
1513 op_ctx->curr_page.l1_table->parent_idx); in pvr_page_table_l2_remove()
1515 WARN_ON(op_ctx->curr_page in pvr_page_table_l2_remove()
[all...]
/linux/drivers/accel/habanalabs/common/
H A Dmemory.c1538 u64 dma_max_seg_size, curr_page, size, chunk_size, left_size_to_export, left_size_in_page, in alloc_sgt_from_device_pages() local
1570 curr_page = start_page; in alloc_sgt_from_device_pages()
1588 if (pages[curr_page] + page_size != pages[curr_page + 1]) in alloc_sgt_from_device_pages()
1591 ++curr_page; in alloc_sgt_from_device_pages()
1611 curr_page = start_page; in alloc_sgt_from_device_pages()
1612 device_address = pages[curr_page] + offset; in alloc_sgt_from_device_pages()
1622 for ( ; curr_page < npages ; ++curr_page) { in alloc_sgt_from_device_pages()
1634 if (pages[curr_page] + page_size != pages[curr_page + 1]) { in alloc_sgt_from_device_pages()
1635 device_address = pages[curr_page + 1]; in alloc_sgt_from_device_pages()