Home
last modified time | relevance | path

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

/Linux-v5.15/arch/x86/platform/efi/
Defi.c670 static void * __init efi_map_regions(int *count, int *pg_shift) in efi_map_regions() argument
689 new_memmap = realloc_pages(new_memmap, *pg_shift); in efi_map_regions()
693 left += PAGE_SIZE << *pg_shift; in efi_map_regions()
694 (*pg_shift)++; in efi_map_regions()
779 int count = 0, pg_shift = 0; in __efi_enter_virtual_mode() local
790 new_memmap = efi_map_regions(&count, &pg_shift); in __efi_enter_virtual_mode()
815 if (efi_setup_page_tables(pa, 1 << pg_shift)) in __efi_enter_virtual_mode()
/Linux-v5.15/drivers/iommu/
Dio-pgtable-arm.c786 int levels, va_bits, pg_shift; in arm_lpae_alloc_pgtable() local
803 pg_shift = __ffs(cfg->pgsize_bitmap); in arm_lpae_alloc_pgtable()
804 data->bits_per_level = pg_shift - ilog2(sizeof(arm_lpae_iopte)); in arm_lpae_alloc_pgtable()
806 va_bits = cfg->ias - pg_shift; in arm_lpae_alloc_pgtable()
/Linux-v5.15/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.h88 unsigned short pg_shift; member
/Linux-v5.15/drivers/infiniband/hw/hns/
Dhns_roce_hw_v2.c2569 u32 pg_shift, size, min_size; in alloc_link_table_buf() local
2572 pg_shift = hr_dev->caps.llm_buf_pg_sz + PAGE_SHIFT; in alloc_link_table_buf()
2574 min_size = HNS_ROCE_EXT_LLM_MIN_PAGES(hr_dev->caps.sl_num) << pg_shift; in alloc_link_table_buf()
2578 link_tbl->buf = hns_roce_buf_alloc(hr_dev, size, pg_shift, 0); in alloc_link_table_buf()
/Linux-v5.15/drivers/infiniband/hw/qedr/
Dverbs.c622 struct qedr_pbl_info *pbl_info, u32 pg_shift) in qedr_populate_pbls() argument
648 rdma_umem_for_each_dma_block (umem, &biter, BIT(pg_shift)) { in qedr_populate_pbls()