Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
Dpagealloc.c321 dev->priv.fw_pages += npages; in give_pages()
389 dev->priv.fw_pages -= npages; in reclaim_pages()
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_cmd.c848 MTHCA_GET(dev->fw.arbel.fw_pages, outbox, QUERY_FW_SIZE_OFFSET); in mthca_QUERY_FW()
852 mthca_dbg(dev, "FW size %d KB\n", dev->fw.arbel.fw_pages << 2); in mthca_QUERY_FW()
858 dev->fw.arbel.fw_pages = in mthca_QUERY_FW()
859 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.c353 mthca_alloc_icm(mdev, mdev->fw.arbel.fw_pages, in mthca_load_fw()
/linux-4.1.27/include/linux/mlx5/
Ddriver.h479 int fw_pages; member
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dfw.c1530 MLX4_GET(fw->fw_pages, outbox, QUERY_FW_SIZE_OFFSET); in mlx4_QUERY_FW()
1540 mlx4_dbg(dev, "FW size %d KB\n", fw->fw_pages >> 2); in mlx4_QUERY_FW()
1552 fw->fw_pages = in mlx4_QUERY_FW()
1553 ALIGN(fw->fw_pages, PAGE_SIZE / MLX4_ICM_PAGE_SIZE) >> in mlx4_QUERY_FW()
Dmlx4.h425 u16 fw_pages; member
Dmain.c1287 priv->fw.fw_icm = mlx4_alloc_icm(dev, priv->fw.fw_pages, in mlx4_load_fw()
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dmain.c773 return sprintf(buf, "%d\n", dev->mdev->priv.fw_pages); in show_fw_pages()
823 static DEVICE_ATTR(fw_pages, S_IRUGO, show_fw_pages, NULL);