Searched refs:pg_shift (Results 1 – 5 of 5) sorted by relevance
/drivers/infiniband/hw/hns/ |
D | hns_roce_mr.c | 949 unsigned int pg_shift) in cal_best_bt_pg_sz() argument 958 for_each_set_bit_from(pg_shift, &cap, sizeof(cap) * BITS_PER_BYTE) { in cal_best_bt_pg_sz() 959 if (!(BIT(pg_shift) & cap)) in cal_best_bt_pg_sz() 962 ba_per_bt = BIT(pg_shift) / BA_BYTE_LEN; in cal_best_bt_pg_sz() 974 return pg_shift; in cal_best_bt_pg_sz()
|
D | hns_roce_hw_v2.c | 2603 u32 pg_shift, size, min_size; in alloc_link_table_buf() local 2606 pg_shift = hr_dev->caps.llm_buf_pg_sz + PAGE_SHIFT; in alloc_link_table_buf() 2608 min_size = HNS_ROCE_EXT_LLM_MIN_PAGES(hr_dev->caps.sl_num) << pg_shift; in alloc_link_table_buf() 2612 link_tbl->buf = hns_roce_buf_alloc(hr_dev, size, pg_shift, 0); in alloc_link_table_buf()
|
/drivers/iommu/ |
D | io-pgtable-arm.c | 801 int levels, va_bits, pg_shift; in arm_lpae_alloc_pgtable() local 818 pg_shift = __ffs(cfg->pgsize_bitmap); in arm_lpae_alloc_pgtable() 819 data->bits_per_level = pg_shift - ilog2(sizeof(arm_lpae_iopte)); in arm_lpae_alloc_pgtable() 821 va_bits = cfg->ias - pg_shift; in arm_lpae_alloc_pgtable()
|
/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_ppm.h | 88 unsigned short pg_shift; member
|
/drivers/infiniband/hw/qedr/ |
D | verbs.c | 622 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()
|