Home
last modified time | relevance | path

Searched refs:uar_page_shift (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dpd.c276 mlx4_dbg(dev, "uar_page_shift = %d", dev->uar_page_shift); in mlx4_init_uar_table()
Deq.c946 ((eq->eqn / 4) << (dev->uar_page_shift)), in mlx4_get_eq_uar()
947 (1 << (dev->uar_page_shift))); in mlx4_get_eq_uar()
Dmain.c303 (1 << (PAGE_SHIFT - dev->uar_page_shift))); in mlx4_set_num_reserved_uars()
551 dev->uar_page_shift = DEFAULT_UAR_PAGE_SHIFT; in mlx4_dev_cap()
553 dev->uar_page_shift = PAGE_SHIFT; in mlx4_dev_cap()
961 dev->uar_page_shift = hca_param->uar_page_sz + 12; in mlx4_slave_cap()
964 if (dev->uar_page_shift > PAGE_SHIFT) { in mlx4_slave_cap()
/linux-6.6.21/include/linux/mlx4/
Ddevice.h890 u8 uar_page_shift; member
1600 return (index << (PAGE_SHIFT - dev->uar_page_shift)); in mlx4_to_hw_uar_index()
1606 return (128 >> (PAGE_SHIFT - dev->uar_page_shift)); in mlx4_get_num_reserved_uar()