Searched refs:dm_db (Results 1 – 1 of 1) sorted by relevance
2293 struct mlx5_dm *dm_db = &to_mdev(ctx->device)->dm; in handle_alloc_dm_memic() local2300 err = mlx5_cmd_alloc_memic(dm_db, &dm->dev_addr, in handle_alloc_dm_memic()2305 page_idx = (dm->dev_addr - pci_resource_start(dm_db->dev->pdev, 0) - in handle_alloc_dm_memic()2306 MLX5_CAP64_DEV_MEM(dm_db->dev, memic_bar_start_addr)) >> in handle_alloc_dm_memic()2328 mlx5_cmd_dealloc_memic(dm_db, dm->dev_addr, dm->size); in handle_alloc_dm_memic()2430 struct mlx5_dm *dm_db = &to_mdev(ibdm->device)->dm; in mlx5_ib_dealloc_dm() local2437 ret = mlx5_cmd_dealloc_memic(dm_db, dm->dev_addr, dm->size); in mlx5_ib_dealloc_dm()