Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dpagealloc.c315 dev->priv.fw_pages += npages; in give_pages()
409 dev->priv.fw_pages -= num_claimed; in reclaim_pages()
517 WARN(dev->priv.fw_pages, in mlx5_reclaim_startup_pages()
519 dev->priv.fw_pages); in mlx5_reclaim_startup_pages()
/Linux-v4.19/drivers/infiniband/hw/mthca/
Dmthca_cmd.c856 MTHCA_GET(dev->fw.arbel.fw_pages, outbox, QUERY_FW_SIZE_OFFSET); in mthca_QUERY_FW()
860 mthca_dbg(dev, "FW size %d KB\n", dev->fw.arbel.fw_pages << 2); in mthca_QUERY_FW()
866 dev->fw.arbel.fw_pages = in mthca_QUERY_FW()
867 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()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dcmd.h209 MLXSW_ITEM32(cmd_mbox, query_fw, fw_pages, 0x00, 16, 16);
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Dfw.c1703 MLX4_GET(fw->fw_pages, outbox, QUERY_FW_SIZE_OFFSET); in mlx4_QUERY_FW()
1713 mlx4_dbg(dev, "FW size %d KB\n", fw->fw_pages >> 2); in mlx4_QUERY_FW()
1725 fw->fw_pages = in mlx4_QUERY_FW()
1726 ALIGN(fw->fw_pages, PAGE_SIZE / MLX4_ICM_PAGE_SIZE) >> in mlx4_QUERY_FW()
Dmlx4.h436 u16 fw_pages; member
Dmain.c1555 priv->fw.fw_icm = mlx4_alloc_icm(dev, priv->fw.fw_pages, in mlx4_load_fw()
/Linux-v4.19/include/linux/mlx5/
Ddriver.h656 int fw_pages; member
/Linux-v4.19/drivers/infiniband/hw/qedr/
Dverbs.c758 u32 fw_pages; in qedr_init_user_queue() local
770 fw_pages = ib_umem_page_count(q->umem) << in qedr_init_user_queue()
773 rc = qedr_prepare_pbl_tbl(dev, &q->pbl_info, fw_pages, 0); in qedr_init_user_queue()
/Linux-v4.19/Documentation/ABI/stable/
Dsysfs-class-infiniband581 What: /sys/class/infiniband/mlx5_X/fw_pages
/Linux-v4.19/drivers/infiniband/hw/mlx5/
Dmain.c4058 return sprintf(buf, "%d\n", dev->mdev->priv.fw_pages); in show_fw_pages()
4098 static DEVICE_ATTR(fw_pages, S_IRUGO, show_fw_pages, NULL);