Searched refs:uar_idx (Results 1 – 2 of 2) sorted by relevance
277 unsigned int uar_idx; in addr_to_dbi_in_syspage() local283 uar_idx = (bfreg->map - up->map) >> MLX5_ADAPTER_PAGE_SHIFT; in addr_to_dbi_in_syspage()286 return uar_idx * MLX5_BFREGS_PER_UAR + bfreg_idx; in addr_to_dbi_in_syspage()
2030 int uar_idx) in uar_index2pfn() argument2036 return (dev->mdev->bar_addr >> PAGE_SHIFT) + uar_idx / fw_uars_per_page; in uar_index2pfn()2040 int uar_idx) in uar_index2paddress() argument2047 return (dev->mdev->bar_addr + (uar_idx / fw_uars_per_page) * PAGE_SIZE); in uar_index2paddress()