Home
last modified time | relevance | path

Searched refs:fw_pages (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Dpagealloc.c320 dev->priv.fw_pages += npages; in give_pages()
418 dev->priv.fw_pages -= num_claimed; in reclaim_pages()
550 WARN(dev->priv.fw_pages, in mlx5_reclaim_startup_pages()
552 dev->priv.fw_pages); in mlx5_reclaim_startup_pages()
/drivers/infiniband/hw/mthca/
Dmthca_cmd.c850 MTHCA_GET(dev->fw.arbel.fw_pages, outbox, QUERY_FW_SIZE_OFFSET); in mthca_QUERY_FW()
854 mthca_dbg(dev, "FW size %d KB\n", dev->fw.arbel.fw_pages << 2); in mthca_QUERY_FW()
860 dev->fw.arbel.fw_pages = in mthca_QUERY_FW()
861 ALIGN(dev->fw.arbel.fw_pages, PAGE_SIZE / MTHCA_ICM_PAGE_SIZE) >> in mthca_QUERY_FW()
Dmthca_dev.h313 u16 fw_pages; member
Dmthca_main.c352 mthca_alloc_icm(mdev, mdev->fw.arbel.fw_pages, in mthca_load_fw()
/drivers/net/ethernet/mellanox/mlxsw/
Dcmd.h209 MLXSW_ITEM32(cmd_mbox, query_fw, fw_pages, 0x00, 16, 16);
/drivers/net/ethernet/mellanox/mlx4/
Dfw.c1706 MLX4_GET(fw->fw_pages, outbox, QUERY_FW_SIZE_OFFSET); in mlx4_QUERY_FW()
1716 mlx4_dbg(dev, "FW size %d KB\n", fw->fw_pages >> 2); in mlx4_QUERY_FW()
1728 fw->fw_pages = in mlx4_QUERY_FW()
1729 ALIGN(fw->fw_pages, PAGE_SIZE / MLX4_ICM_PAGE_SIZE) >> in mlx4_QUERY_FW()
Dmlx4.h436 u16 fw_pages; member
Dmain.c1553 priv->fw.fw_icm = mlx4_alloc_icm(dev, priv->fw.fw_pages, in mlx4_load_fw()
/drivers/infiniband/hw/qedr/
Dverbs.c703 u32 fw_pages; in qedr_init_user_queue() local
715 fw_pages = ib_umem_page_count(q->umem) << in qedr_init_user_queue()
718 rc = qedr_prepare_pbl_tbl(dev, &q->pbl_info, fw_pages, 0); in qedr_init_user_queue()
/drivers/infiniband/hw/mlx5/
Dmain.c4401 return sprintf(buf, "%d\n", dev->mdev->priv.fw_pages); in fw_pages_show()
4403 static DEVICE_ATTR_RO(fw_pages);