Searched refs:actv_ports (Results 1 - 10 of 10) sorted by relevance

/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c2004 struct mlx4_active_ports actv_ports = mlx4_get_active_ports( local
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( local
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; local
2768 bitmap_zero(actv_ports
2790 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
2806 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
2827 struct mlx4_active_ports actv_ports = local
2847 struct mlx4_active_ports actv_ports = local
2860 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
3265 struct mlx4_active_ports actv_ports = mlx4_get_active_ports( local
[all...]
H A Dmlx4_eq.c310 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
313 port <= 0 || !test_bit(port - 1, actv_ports.ports)) {
327 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
330 port <= 0 || !test_bit(port - 1, actv_ports.ports)) {
369 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
376 port <= 0 || !test_bit(port - 1, actv_ports.ports)) {
1209 int port = find_first_bit(eq->actv_ports.ports,
1394 return test_bit(port - 1, priv->eq_table.eq[vector].actv_ports.ports);
1406 priv->eq_table.eq[i].actv_ports.ports);
1420 return !!(bitmap_weight(priv->eq_table.eq[vector].actv_ports
[all...]
H A Dmlx4_port.c1098 struct mlx4_active_ports actv_ports; local
1106 actv_ports = mlx4_get_active_ports(dev, slave);
1107 max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) +
1108 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1;
1136 struct mlx4_active_ports actv_ports; local
1143 actv_ports = mlx4_get_active_ports(dev, slave);
1144 max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) +
1145 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1;
1206 struct mlx4_active_ports actv_ports; local
1214 actv_ports
1789 struct mlx4_active_ports actv_ports; local
[all...]
H A Dmlx4_fw.c394 struct mlx4_active_ports actv_ports = local
406 find_first_bit(actv_ports.ports, dev->caps.num_ports);
450 struct mlx4_active_ports actv_ports = local
464 bitmap_weight(actv_ports.ports, dev->caps.num_ports),
1267 struct mlx4_active_ports actv_ports; local
1281 actv_ports = mlx4_get_active_ports(dev, slave);
1282 first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports);
1285 bitmap_weight(actv_ports.ports, dev->caps.num_ports);
1301 field |= bitmap_weight(actv_ports.ports, dev->caps.num_ports) & 0x0F;
H A Dmlx4_main.c2868 bitmap_zero(priv->eq_table.eq[MLX4_EQ_ASYNC].actv_ports.ports,
2879 bitmap_fill(priv->eq_table.eq[i].actv_ports.ports,
2886 priv->eq_table.eq[i].actv_ports.ports);
2923 bitmap_fill(priv->eq_table.eq[i].actv_ports.ports,
H A Dmlx4.h396 struct mlx4_active_ports actv_ports; member in struct:mlx4_eq
H A Dmlx4_resource_tracker.c531 struct mlx4_active_ports actv_ports = local
619 if (test_bit(j, actv_ports.ports))
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_sysfs.c714 struct mlx4_active_ports actv_ports; local
737 actv_ports = mlx4_get_active_ports(dev->dev, slave);
740 if (!test_bit(port - 1, actv_ports.ports))
H A Dmlx4_ib_main.c2989 struct mlx4_active_ports actv_ports; local
2996 actv_ports = mlx4_get_active_ports(dev, slave);
2997 ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
2998 first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports);
H A Dmlx4_ib_mad.c2139 struct mlx4_active_ports actv_ports = local
2142 if (!test_bit(port - 1, actv_ports.ports))

Completed in 187 milliseconds