Lines Matching refs:actv_ports

2002 	struct mlx4_active_ports actv_ports = mlx4_get_active_ports(
2005 for_each_set_bit(p, actv_ports.ports, priv->dev.caps.num_ports) {
2063 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(
2066 for_each_set_bit(p, actv_ports.ports, priv->dev.caps.num_ports) {
2770 struct mlx4_active_ports actv_ports;
2773 bitmap_zero(actv_ports.ports, MLX4_MAX_PORTS);
2776 bitmap_fill(actv_ports.ports, dev->caps.num_ports);
2777 return actv_ports;
2782 return actv_ports;
2784 bitmap_set(actv_ports.ports, dev->dev_vfs[vf].min_port - 1,
2788 return actv_ports;
2795 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave);
2796 unsigned m = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
2801 n = find_first_bit(actv_ports.ports, dev->caps.num_ports);
2811 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave);
2812 if (test_bit(port - 1, actv_ports.ports))
2814 find_first_bit(actv_ports.ports, dev->caps.num_ports);
2832 struct mlx4_active_ports actv_ports =
2834 if (test_bit(port - 1, actv_ports.ports))
2852 struct mlx4_active_ports actv_ports =
2854 if (bitmap_equal(crit_ports->ports, actv_ports.ports,
2865 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave);
2866 int min_port = find_first_bit(actv_ports.ports, dev->caps.num_ports)
2869 bitmap_weight(actv_ports.ports, dev->caps.num_ports);
3406 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(
3408 int min_port = find_first_bit(actv_ports.ports,
3411 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);