actv_ports 2173 drivers/infiniband/hw/mlx4/mad.c struct mlx4_active_ports actv_ports = actv_ports 2176 drivers/infiniband/hw/mlx4/mad.c if (!test_bit(port - 1, actv_ports.ports)) actv_ports 3059 drivers/infiniband/hw/mlx4/main.c struct mlx4_active_ports actv_ports; actv_ports 3066 drivers/infiniband/hw/mlx4/main.c actv_ports = mlx4_get_active_ports(dev, slave); actv_ports 3067 drivers/infiniband/hw/mlx4/main.c ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports); actv_ports 3068 drivers/infiniband/hw/mlx4/main.c first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports); actv_ports 711 drivers/infiniband/hw/mlx4/sysfs.c struct mlx4_active_ports actv_ports; actv_ports 734 drivers/infiniband/hw/mlx4/sysfs.c actv_ports = mlx4_get_active_ports(dev->dev, slave); actv_ports 737 drivers/infiniband/hw/mlx4/sysfs.c if (!test_bit(port - 1, actv_ports.ports)) actv_ports 2002 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_active_ports actv_ports = mlx4_get_active_ports( actv_ports 2004 drivers/net/ethernet/mellanox/mlx4/cmd.c int min_port = find_first_bit(actv_ports.ports, actv_ports 2007 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); actv_ports 2010 drivers/net/ethernet/mellanox/mlx4/cmd.c if (!test_bit(port - 1, actv_ports.ports)) actv_ports 2068 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_active_ports actv_ports = mlx4_get_active_ports( actv_ports 2070 drivers/net/ethernet/mellanox/mlx4/cmd.c int min_port = find_first_bit(actv_ports.ports, actv_ports 2073 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); actv_ports 2077 drivers/net/ethernet/mellanox/mlx4/cmd.c if (!test_bit(port - 1, actv_ports.ports)) actv_ports 2771 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_active_ports actv_ports; actv_ports 2774 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_zero(actv_ports.ports, MLX4_MAX_PORTS); actv_ports 2777 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_fill(actv_ports.ports, dev->caps.num_ports); actv_ports 2778 drivers/net/ethernet/mellanox/mlx4/cmd.c return actv_ports; actv_ports 2783 drivers/net/ethernet/mellanox/mlx4/cmd.c return actv_ports; actv_ports 2785 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_set(actv_ports.ports, dev->dev_vfs[vf].min_port - 1, actv_ports 2789 drivers/net/ethernet/mellanox/mlx4/cmd.c return actv_ports; actv_ports 2796 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); actv_ports 2797 drivers/net/ethernet/mellanox/mlx4/cmd.c unsigned m = bitmap_weight(actv_ports.ports, dev->caps.num_ports); actv_ports 2802 drivers/net/ethernet/mellanox/mlx4/cmd.c n = find_first_bit(actv_ports.ports, dev->caps.num_ports); actv_ports 2812 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); actv_ports 2813 drivers/net/ethernet/mellanox/mlx4/cmd.c if (test_bit(port - 1, actv_ports.ports)) actv_ports 2815 drivers/net/ethernet/mellanox/mlx4/cmd.c find_first_bit(actv_ports.ports, dev->caps.num_ports); actv_ports 2833 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_active_ports actv_ports = actv_ports 2835 drivers/net/ethernet/mellanox/mlx4/cmd.c if (test_bit(port - 1, actv_ports.ports)) actv_ports 2853 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_active_ports actv_ports = actv_ports 2855 drivers/net/ethernet/mellanox/mlx4/cmd.c if (bitmap_equal(crit_ports->ports, actv_ports.ports, actv_ports 2866 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); actv_ports 2867 drivers/net/ethernet/mellanox/mlx4/cmd.c int min_port = find_first_bit(actv_ports.ports, dev->caps.num_ports) actv_ports 2870 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_weight(actv_ports.ports, dev->caps.num_ports); actv_ports 3407 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_active_ports actv_ports = mlx4_get_active_ports( actv_ports 3409 drivers/net/ethernet/mellanox/mlx4/cmd.c int min_port = find_first_bit(actv_ports.ports, actv_ports 3412 drivers/net/ethernet/mellanox/mlx4/cmd.c bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports); actv_ports 315 drivers/net/ethernet/mellanox/mlx4/eq.c struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); actv_ports 318 drivers/net/ethernet/mellanox/mlx4/eq.c port <= 0 || !test_bit(port - 1, actv_ports.ports)) { actv_ports 332 drivers/net/ethernet/mellanox/mlx4/eq.c struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); actv_ports 335 drivers/net/ethernet/mellanox/mlx4/eq.c port <= 0 || !test_bit(port - 1, actv_ports.ports)) { actv_ports 374 drivers/net/ethernet/mellanox/mlx4/eq.c struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); actv_ports 381 drivers/net/ethernet/mellanox/mlx4/eq.c port <= 0 || !test_bit(port - 1, actv_ports.ports)) { actv_ports 1230 drivers/net/ethernet/mellanox/mlx4/eq.c int port = find_first_bit(eq->actv_ports.ports, actv_ports 1415 drivers/net/ethernet/mellanox/mlx4/eq.c return test_bit(port - 1, priv->eq_table.eq[vector].actv_ports.ports); actv_ports 1427 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.eq[i].actv_ports.ports); actv_ports 1441 drivers/net/ethernet/mellanox/mlx4/eq.c return !!(bitmap_weight(priv->eq_table.eq[vector].actv_ports.ports, actv_ports 1466 drivers/net/ethernet/mellanox/mlx4/eq.c priv->eq_table.eq[requested_vector].actv_ports.ports)) { actv_ports 1477 drivers/net/ethernet/mellanox/mlx4/eq.c test_bit(port - 1, eq->actv_ports.ports)) { actv_ports 1490 drivers/net/ethernet/mellanox/mlx4/eq.c test_bit(port - 1, eq->actv_ports.ports)) { actv_ports 395 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_active_ports actv_ports = actv_ports 407 drivers/net/ethernet/mellanox/mlx4/fw.c find_first_bit(actv_ports.ports, dev->caps.num_ports); actv_ports 451 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_active_ports actv_ports = actv_ports 465 drivers/net/ethernet/mellanox/mlx4/fw.c bitmap_weight(actv_ports.ports, dev->caps.num_ports), actv_ports 1283 drivers/net/ethernet/mellanox/mlx4/fw.c struct mlx4_active_ports actv_ports; actv_ports 1297 drivers/net/ethernet/mellanox/mlx4/fw.c actv_ports = mlx4_get_active_ports(dev, slave); actv_ports 1298 drivers/net/ethernet/mellanox/mlx4/fw.c first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports); actv_ports 1301 drivers/net/ethernet/mellanox/mlx4/fw.c bitmap_weight(actv_ports.ports, dev->caps.num_ports); actv_ports 1317 drivers/net/ethernet/mellanox/mlx4/fw.c field |= bitmap_weight(actv_ports.ports, dev->caps.num_ports) & 0x0F; actv_ports 2965 drivers/net/ethernet/mellanox/mlx4/main.c bitmap_zero(priv->eq_table.eq[MLX4_EQ_ASYNC].actv_ports.ports, actv_ports 2976 drivers/net/ethernet/mellanox/mlx4/main.c bitmap_fill(priv->eq_table.eq[i].actv_ports.ports, actv_ports 2983 drivers/net/ethernet/mellanox/mlx4/main.c priv->eq_table.eq[i].actv_ports.ports); actv_ports 3020 drivers/net/ethernet/mellanox/mlx4/main.c bitmap_fill(priv->eq_table.eq[i].actv_ports.ports, actv_ports 402 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct mlx4_active_ports actv_ports; actv_ports 1098 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_active_ports actv_ports; actv_ports 1106 drivers/net/ethernet/mellanox/mlx4/port.c actv_ports = mlx4_get_active_ports(dev, slave); actv_ports 1107 drivers/net/ethernet/mellanox/mlx4/port.c max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) + actv_ports 1108 drivers/net/ethernet/mellanox/mlx4/port.c bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; actv_ports 1136 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_active_ports actv_ports; actv_ports 1143 drivers/net/ethernet/mellanox/mlx4/port.c actv_ports = mlx4_get_active_ports(dev, slave); actv_ports 1144 drivers/net/ethernet/mellanox/mlx4/port.c max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) + actv_ports 1145 drivers/net/ethernet/mellanox/mlx4/port.c bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1; actv_ports 1206 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_active_ports actv_ports; actv_ports 1214 drivers/net/ethernet/mellanox/mlx4/port.c actv_ports = mlx4_get_active_ports(dev, slave); actv_ports 1217 drivers/net/ethernet/mellanox/mlx4/port.c if (test_bit(i, actv_ports.ports)) { actv_ports 1233 drivers/net/ethernet/mellanox/mlx4/port.c if (test_bit(i, actv_ports.ports)) { actv_ports 1901 drivers/net/ethernet/mellanox/mlx4/port.c struct mlx4_active_ports actv_ports; actv_ports 1928 drivers/net/ethernet/mellanox/mlx4/port.c actv_ports = mlx4_get_active_ports(dev, candidate_slave_gid); actv_ports 1930 drivers/net/ethernet/mellanox/mlx4/port.c actv_ports.ports, dev->caps.num_ports) + actv_ports 1931 drivers/net/ethernet/mellanox/mlx4/port.c bitmap_weight(actv_ports.ports, actv_ports 479 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_active_ports actv_ports; actv_ports 487 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c actv_ports = mlx4_get_active_ports(dev, vf); actv_ports 488 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports); actv_ports 553 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c struct mlx4_active_ports actv_ports = actv_ports 632 drivers/net/ethernet/mellanox/mlx4/resource_tracker.c if (test_bit(j, actv_ports.ports))