Lines Matching refs:actv_ports

2004 	struct mlx4_active_ports actv_ports = mlx4_get_active_ports(
2006 int min_port = find_first_bit(actv_ports.ports,
2009 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
2012 if (!test_bit(port - 1, actv_ports.ports))
2069 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(
2071 int min_port = find_first_bit(actv_ports.ports,
2074 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
2078 if (!test_bit(port - 1, actv_ports.ports))
2765 struct mlx4_active_ports actv_ports;
2768 bitmap_zero(actv_ports.ports, MLX4_MAX_PORTS);
2771 bitmap_fill(actv_ports.ports, dev->caps.num_ports);
2772 return actv_ports;
2777 return actv_ports;
2779 bitmap_set(actv_ports.ports, dev->dev_vfs[vf].min_port - 1,
2783 return actv_ports;
2790 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave);
2791 unsigned m = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
2796 n = find_first_bit(actv_ports.ports, dev->caps.num_ports);
2806 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave);
2807 if (test_bit(port - 1, actv_ports.ports))
2809 find_first_bit(actv_ports.ports, dev->caps.num_ports);
2827 struct mlx4_active_ports actv_ports =
2829 if (test_bit(port - 1, actv_ports.ports))
2847 struct mlx4_active_ports actv_ports =
2849 if (bitmap_equal(crit_ports->ports, actv_ports.ports,
2860 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave);
2861 int min_port = find_first_bit(actv_ports.ports, dev->caps.num_ports)
2864 bitmap_weight(actv_ports.ports, dev->caps.num_ports);
3265 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(
3267 int min_port = find_first_bit(actv_ports.ports,
3270 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);