Home
last modified time | relevance | path

Searched refs:pbe (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.4/arch/arm/kernel/
Dhibernate.c83 struct pbe *pbe; in arch_restore_image() local
86 for (pbe = restore_pblist; pbe; pbe = pbe->next) in arch_restore_image()
87 copy_page(pbe->orig_address, pbe->address); in arch_restore_image()
/Linux-v5.4/drivers/gpu/drm/lima/
Dlima_vm.c40 u32 pbe = LIMA_PBE(addr); in lima_vm_unmap_page_table() local
43 vm->bts[pbe].cpu[bte] = 0; in lima_vm_unmap_page_table()
54 u32 pbe = LIMA_PBE(addr); in lima_vm_map_page_table() local
57 if (!vm->bts[pbe].cpu) { in lima_vm_map_page_table()
62 vm->bts[pbe].cpu = dma_alloc_wc( in lima_vm_map_page_table()
64 &vm->bts[pbe].dma, GFP_KERNEL | __GFP_ZERO); in lima_vm_map_page_table()
65 if (!vm->bts[pbe].cpu) { in lima_vm_map_page_table()
71 pts = vm->bts[pbe].dma; in lima_vm_map_page_table()
72 pd = vm->pd.cpu + (pbe << LIMA_VM_NUM_PT_PER_BT_SHIFT); in lima_vm_map_page_table()
79 vm->bts[pbe].cpu[bte] = dma[i++] | LIMA_VM_FLAGS_CACHE; in lima_vm_map_page_table()
/Linux-v5.4/kernel/power/
Dsnapshot.c115 struct pbe *restore_pblist;
2348 struct highmem_pbe *pbe; in get_highmem_page_buffer() local
2363 pbe = chain_alloc(ca, sizeof(struct highmem_pbe)); in get_highmem_page_buffer()
2364 if (!pbe) { in get_highmem_page_buffer()
2368 pbe->orig_page = page; in get_highmem_page_buffer()
2377 pbe->copy_page = tmp; in get_highmem_page_buffer()
2382 pbe->copy_page = virt_to_page(kaddr); in get_highmem_page_buffer()
2384 pbe->next = highmem_pblist; in get_highmem_page_buffer()
2385 highmem_pblist = pbe; in get_highmem_page_buffer()
2438 #define PBES_PER_LINKED_PAGE (LINKED_PAGE_DATA_SIZE / sizeof(struct pbe))
[all …]
/Linux-v5.4/arch/unicore32/include/mach/
Dpm.h34 extern int restore_image(pgd_t *resume_pg_dir, struct pbe *restore_pblist);
36 extern struct pbe *restore_pblist;
/Linux-v5.4/arch/sh/kernel/
Dasm-offsets.c31 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address)); in main()
32 DEFINE(PBE_ORIG_ADDRESS, offsetof(struct pbe, orig_address)); in main()
33 DEFINE(PBE_NEXT, offsetof(struct pbe, next)); in main()
/Linux-v5.4/arch/x86/kernel/
Dasm-offsets.c47 OFFSET(pbe_address, pbe, address); in common()
48 OFFSET(pbe_orig_address, pbe, orig_address); in common()
49 OFFSET(pbe_next, pbe, next); in common()
/Linux-v5.4/arch/unicore32/kernel/
Dasm-offsets.c94 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address)); in main()
95 DEFINE(PBE_ORIN_ADDRESS, offsetof(struct pbe, orig_address)); in main()
96 DEFINE(PBE_NEXT, offsetof(struct pbe, next)); in main()
Dhibernate_asm.S19 @ restore_image(pgd_t *resume_pg_dir, struct pbe *restore_pblist)
/Linux-v5.4/arch/arm64/kernel/
Dasm-offsets.c118 DEFINE(HIBERN_PBE_ORIG, offsetof(struct pbe, orig_address)); in main()
119 DEFINE(HIBERN_PBE_ADDR, offsetof(struct pbe, address)); in main()
120 DEFINE(HIBERN_PBE_NEXT, offsetof(struct pbe, next)); in main()
/Linux-v5.4/include/linux/
Dsuspend.h355 struct pbe { struct
358 struct pbe *next; argument
452 extern struct pbe *restore_pblist;
/Linux-v5.4/arch/mips/kernel/
Dasm-offsets.c325 OFFSET(PBE_ADDRESS, pbe, address); in output_pbe_defines()
326 OFFSET(PBE_ORIG_ADDRESS, pbe, orig_address); in output_pbe_defines()
327 OFFSET(PBE_NEXT, pbe, next); in output_pbe_defines()
328 DEFINE(PBE_SIZE, sizeof(struct pbe)); in output_pbe_defines()
/Linux-v5.4/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c824 struct ocrdma_pbe *pbe; in build_user_pbes() local
834 pbe = (struct ocrdma_pbe *)pbl_tbl->va; in build_user_pbes()
840 pbe->pa_lo = cpu_to_le32(pg_addr); in build_user_pbes()
841 pbe->pa_hi = cpu_to_le32(upper_32_bits(pg_addr)); in build_user_pbes()
844 pbe++; in build_user_pbes()
855 pbe = (struct ocrdma_pbe *)pbl_tbl->va; in build_user_pbes()
2046 struct ocrdma_pbe *pbe; in ocrdma_build_reg() local
2073 pbe = pbl_tbl->va; in ocrdma_build_reg()
2077 pbe->pa_lo = cpu_to_le32((u32) (buf_addr & PAGE_MASK)); in ocrdma_build_reg()
2078 pbe->pa_hi = cpu_to_le32((u32) upper_32_bits(buf_addr)); in ocrdma_build_reg()
[all …]
/Linux-v5.4/drivers/infiniband/hw/qedr/
Dverbs.c608 struct regpair *pbe; in qedr_populate_pbls() local
622 pbe = (struct regpair *)pbl_tbl->va; in qedr_populate_pbls()
623 if (!pbe) { in qedr_populate_pbls()
635 pbe->lo = cpu_to_le32(pg_addr); in qedr_populate_pbls()
636 pbe->hi = cpu_to_le32(upper_32_bits(pg_addr)); in qedr_populate_pbls()
641 pbe++; in qedr_populate_pbls()
651 pbe = (struct regpair *)pbl_tbl->va; in qedr_populate_pbls()
2775 struct regpair *pbe; in qedr_set_page() local
2788 pbe = (struct regpair *)pbl_table->va; in qedr_set_page()
2789 pbe += mr->npages % pbes_in_page; in qedr_set_page()
[all …]
/Linux-v5.4/arch/powerpc/kernel/
Dasm-offsets.c369 OFFSET(pbe_address, pbe, address); in main()
370 OFFSET(pbe_orig_address, pbe, orig_address); in main()
371 OFFSET(pbe_next, pbe, next); in main()
/Linux-v5.4/drivers/infiniband/sw/siw/
Dsiw_mem.c330 struct siw_pble *pble = &pbl->pbe[i]; in siw_pbl_get_buffer()
Dsiw.h149 struct siw_pble pbe[1]; member
Dsiw_verbs.c1372 pble = pbl->pbe; in siw_map_mr_sg()
/Linux-v5.4/arch/mips/include/asm/octeon/
Dcvmx-pci-defs.h449 uint32_t pbe:12; member
459 uint32_t pbe:12;