Home
last modified time | relevance | path

Searched refs:pg_shift (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/arch/x86/platform/efi/
Defi.c673 static void * __init efi_map_regions(int *count, int *pg_shift) in efi_map_regions() argument
692 new_memmap = realloc_pages(new_memmap, *pg_shift); in efi_map_regions()
696 left += PAGE_SIZE << *pg_shift; in efi_map_regions()
697 (*pg_shift)++; in efi_map_regions()
782 int count = 0, pg_shift = 0; in __efi_enter_virtual_mode() local
793 new_memmap = efi_map_regions(&count, &pg_shift); in __efi_enter_virtual_mode()
818 if (efi_setup_page_tables(pa, 1 << pg_shift)) in __efi_enter_virtual_mode()
/linux-5.19.10/drivers/iommu/
Dio-pgtable-arm.c787 int levels, va_bits, pg_shift; in arm_lpae_alloc_pgtable() local
804 pg_shift = __ffs(cfg->pgsize_bitmap); in arm_lpae_alloc_pgtable()
805 data->bits_per_level = pg_shift - ilog2(sizeof(arm_lpae_iopte)); in arm_lpae_alloc_pgtable()
807 va_bits = cfg->ias - pg_shift; in arm_lpae_alloc_pgtable()
/linux-5.19.10/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.h88 unsigned short pg_shift; member
/linux-5.19.10/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c2518 u32 pg_shift, size, min_size; in alloc_link_table_buf() local
2521 pg_shift = hr_dev->caps.llm_buf_pg_sz + PAGE_SHIFT; in alloc_link_table_buf()
2523 min_size = HNS_ROCE_EXT_LLM_MIN_PAGES(hr_dev->caps.sl_num) << pg_shift; in alloc_link_table_buf()
2527 link_tbl->buf = hns_roce_buf_alloc(hr_dev, size, pg_shift, 0); in alloc_link_table_buf()
/linux-5.19.10/drivers/infiniband/hw/qedr/
Dverbs.c623 struct qedr_pbl_info *pbl_info, u32 pg_shift) in qedr_populate_pbls() argument
649 rdma_umem_for_each_dma_block (umem, &biter, BIT(pg_shift)) { in qedr_populate_pbls()