Lines Matching defs:page

74  * value of BASER register configuration and ITS page size.
139 /* Convert page order to size in bytes */
2191 static struct page *its_allocate_prop_table(gfp_t gfp_flags)
2193 struct page *prop_page;
2204 static void its_free_prop_table(struct page *prop_page)
2259 struct page *page;
2264 page = its_allocate_prop_table(GFP_NOWAIT);
2265 if (!page) {
2270 gic_rdists->prop_table_pa = page_to_phys(page);
2271 gic_rdists->prop_table_va = page_address(page);
2316 struct page *page;
2329 page = alloc_pages_node(its->numa_node, GFP_KERNEL | __GFP_ZERO, order);
2330 if (!page)
2333 base = (void *)page_address(page);
2438 * The size of the lvl2 table is equal to ITS page size
2751 struct page *page;
2795 page = alloc_pages(GFP_KERNEL | __GFP_ZERO, get_order(psz));
2796 if (!page)
2801 gic_flush_dcache_to_poc(page_address(page), psz);
2803 table[idx] = cpu_to_le64(page_to_phys(page) | GITS_BASER_VALID);
2822 struct page *page;
2855 /* First probe the page size */
2885 /* How many entries per GIC page? */
2890 * If we need more than just a single L1 page, flag the table
2914 page = alloc_pages(GFP_ATOMIC | __GFP_ZERO, get_order(np * PAGE_SIZE));
2915 if (!page)
2918 gic_data_rdist()->vpe_l1_base = page_address(page);
2919 pa = virt_to_phys(page_address(page));
2954 static struct page *its_allocate_pending_table(gfp_t gfp_flags)
2956 struct page *pend_page;
2963 /* Make sure the GIC will observe the zero-ed page */
2969 static void its_free_pending_table(struct page *pt)
3016 struct page *pend_page;
3063 struct page *pend_page;
3273 struct page *page;
3291 page = alloc_pages_node(its->numa_node, GFP_KERNEL | __GFP_ZERO,
3293 if (!page)
3298 gic_flush_dcache_to_poc(page_address(page), baser->psz);
3300 table[idx] = cpu_to_le64(page_to_phys(page) | GITS_BASER_VALID);
4397 struct page *vpt_page;
4469 struct page *vprop_page;
4687 * page. Trick it into doing the right thing...
4962 struct page *page;
5032 page = alloc_pages_node(its->numa_node, GFP_KERNEL | __GFP_ZERO,
5034 if (!page) {
5038 its->cmd_base = (void *)page_address(page);