Searched refs:HNS_HW_PAGE_SHIFT (Results 1 – 5 of 5) sorted by relevance
190 #define HNS_HW_PAGE_SHIFT 12 macro191 #define HNS_HW_PAGE_SIZE (1 << HNS_HW_PAGE_SHIFT)1122 #define hr_hw_page_align(x) ALIGN(x, 1 << HNS_HW_PAGE_SHIFT)1126 return addr >> HNS_HW_PAGE_SHIFT; in to_hr_hw_page_addr()1131 return page_shift - HNS_HW_PAGE_SHIFT; in to_hr_hw_page_shift()
755 page_shift = need_split_huge_page(mtr) ? HNS_HW_PAGE_SHIFT : in mtr_map_bufs()869 addr = cfg->root_ba + (npage << HNS_HW_PAGE_SHIFT); in hns_roce_get_direct_addr_mtt()923 start_index = offset >> HNS_HW_PAGE_SHIFT; in hns_roce_mtr_find()1003 attr->region_count < 1 || attr->page_shift < HNS_HW_PAGE_SHIFT) { in is_buf_attr_valid()1035 cfg->buf_pg_shift = HNS_HW_PAGE_SHIFT + in mtr_init_buf_cfg()
76 if (WARN_ON(page_shift < HNS_HW_PAGE_SHIFT)) in hns_roce_buf_alloc()
692 buf_attr->page_shift = HNS_HW_PAGE_SHIFT + hr_dev->caps.mtt_buf_pg_sz; in set_wqe_buf_attr()
241 left_len_in_pg = 1 << HNS_HW_PAGE_SHIFT; in fill_ext_sge_inl_data()6288 return le64_to_cpu(*data) << HNS_HW_PAGE_SHIFT; in fmea_get_ram_res_addr()