Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_port.c1097 struct mlx4_slaves_pport slaves_pport; in mlx4_get_slave_num_gids() local
1105 slaves_pport = mlx4_phys_to_slaves_pport(dev, port); in mlx4_get_slave_num_gids()
1122 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_slave_num_gids()
1135 struct mlx4_slaves_pport slaves_pport; in mlx4_get_base_gid_ix() local
1142 slaves_pport = mlx4_phys_to_slaves_pport(dev, port); in mlx4_get_base_gid_ix()
1160 vfs = bitmap_weight(slaves_pport.slaves, dev->persist->num_vfs + 1) - 1; in mlx4_get_base_gid_ix()
1751 struct mlx4_slaves_pport slaves_pport; in mlx4_get_slave_from_roce_gid() local
1758 slaves_pport = mlx4_phys_to_slaves_pport(dev, port); in mlx4_get_slave_from_roce_gid()
1759 num_vfs = bitmap_weight(slaves_pport.slaves, in mlx4_get_slave_from_roce_gid()
H A Dmlx4_cmd.c2819 struct mlx4_slaves_pport slaves_pport; in mlx4_phys_to_slaves_pport() local
2821 bitmap_zero(slaves_pport.slaves, MLX4_MFUNC_MAX); in mlx4_phys_to_slaves_pport()
2824 return slaves_pport; in mlx4_phys_to_slaves_pport()
2830 set_bit(i, slaves_pport.slaves); in mlx4_phys_to_slaves_pport()
2833 return slaves_pport; in mlx4_phys_to_slaves_pport()
2842 struct mlx4_slaves_pport slaves_pport; in mlx4_phys_to_slaves_pport_actv() local
2844 bitmap_zero(slaves_pport.slaves, MLX4_MFUNC_MAX); in mlx4_phys_to_slaves_pport_actv()
2851 set_bit(i, slaves_pport.slaves); in mlx4_phys_to_slaves_pport_actv()
2854 return slaves_pport; in mlx4_phys_to_slaves_pport_actv()
H A Dmlx4_eq.c344 struct mlx4_slaves_pport slaves_pport = mlx4_phys_to_slaves_pport(dev, in set_all_slave_state() local
348 if (test_bit(i, slaves_pport.slaves)) in set_all_slave_state()
H A Dmlx4_resource_tracker.c567 struct mlx4_slaves_pport slaves_pport = in mlx4_init_resource_tracker() local
570 bitmap_weight(slaves_pport.slaves, in mlx4_init_resource_tracker()