Searched refs:uar_idx (Results 1 – 2 of 2) sorted by relevance
278 unsigned int uar_idx; in addr_to_dbi_in_syspage() local284 uar_idx = (bfreg->map - up->map) >> MLX5_ADAPTER_PAGE_SHIFT; in addr_to_dbi_in_syspage()287 return uar_idx * MLX5_BFREGS_PER_UAR + bfreg_idx; in addr_to_dbi_in_syspage()
2015 int uar_idx) in uar_index2pfn() argument2021 return (dev->mdev->bar_addr >> PAGE_SHIFT) + uar_idx / fw_uars_per_page; in uar_index2pfn()2025 int uar_idx) in uar_index2paddress() argument2032 return (dev->mdev->bar_addr + (uar_idx / fw_uars_per_page) * PAGE_SIZE); in uar_index2paddress()