Searched refs:shpg (Results 1 – 5 of 5) sorted by relevance
197 cntx->shpg = mmap(NULL, dev->pg_size, PROT_READ | PROT_WRITE, in _bnxt_re_init_context()199 if (cntx->shpg == MAP_FAILED) { in _bnxt_re_init_context()200 cntx->shpg = NULL; in _bnxt_re_init_context()208 munmap(cntx->shpg, dev->pg_size); in _bnxt_re_init_context()209 cntx->shpg = NULL; in _bnxt_re_init_context()242 if (cntx->shpg) in _bnxt_re_uninit_context()243 munmap(cntx->shpg, dev->pg_size); in _bnxt_re_uninit_context()
270 void *shpg; member
2561 ah->avid = *(uint32_t *)(uctx->shpg + BNXT_RE_SHPG_AVID_OFFT); in bnxt_re_create_ah()
1108 wrptr = (u32 *)((u8 *)uctx->shpg + BNXT_RE_AVID_OFFT); in bnxt_re_create_ah()5353 uctx->shpg = (void *)__get_free_page(GFP_KERNEL); in bnxt_re_alloc_ucontext()5354 if (!uctx->shpg) { in bnxt_re_alloc_ucontext()5440 free_page((u64)uctx->shpg); in bnxt_re_alloc_ucontext()5441 uctx->shpg = NULL; in bnxt_re_alloc_ucontext()5454 if (uctx->shpg) in bnxt_re_dealloc_ucontext()5455 free_page((u64)uctx->shpg); in bnxt_re_dealloc_ucontext()5512 pfn = vtophys(uctx->shpg) >> PAGE_SHIFT; in bnxt_re_mmap()5515 __func__, __LINE__, (u64) uctx->shpg, vtophys(uctx->shpg), pfn); in bnxt_re_mmap()
264 void *shpg; member