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

/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Deq.c315 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
318 port <= 0 || !test_bit(port - 1, actv_ports.ports)) {
332 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
335 port <= 0 || !test_bit(port - 1, actv_ports.ports)) {
374 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
381 port <= 0 || !test_bit(port - 1, actv_ports.ports)) {
1228 int port = find_first_bit(eq->actv_ports.ports,
1413 return test_bit(port - 1, priv->eq_table.eq[vector].actv_ports.ports);
1425 priv->eq_table.eq[i].actv_ports.ports);
1439 return !!(bitmap_weight(priv->eq_table.eq[vector].actv_ports
[all...]
H A Dcmd.c2002 struct mlx4_active_ports actv_ports = mlx4_get_active_ports( local
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( local
2066 for_each_set_bit(p, actv_ports.ports, priv->dev.caps.num_ports) {
2770 struct mlx4_active_ports actv_ports; local
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
2795 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
2811 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
2832 struct mlx4_active_ports actv_ports = local
2852 struct mlx4_active_ports actv_ports = local
2865 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
3406 struct mlx4_active_ports actv_ports = mlx4_get_active_ports( local
[all...]
H A Dport.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
1901 struct mlx4_active_ports actv_ports; local
[all...]
H A Dfw.c395 struct mlx4_active_ports actv_ports = local
407 find_first_bit(actv_ports.ports, dev->caps.num_ports);
451 struct mlx4_active_ports actv_ports = local
465 bitmap_weight(actv_ports.ports, dev->caps.num_ports),
1286 struct mlx4_active_ports actv_ports; local
1300 actv_ports = mlx4_get_active_ports(dev, slave);
1301 first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports);
1304 bitmap_weight(actv_ports.ports, dev->caps.num_ports);
1320 field |= bitmap_weight(actv_ports.ports, dev->caps.num_ports) & 0x0F;
H A Dmain.c2994 bitmap_zero(priv->eq_table.eq[MLX4_EQ_ASYNC].actv_ports.ports,
3005 bitmap_fill(priv->eq_table.eq[i].actv_ports.ports,
3012 priv->eq_table.eq[i].actv_ports.ports);
3049 bitmap_fill(priv->eq_table.eq[i].actv_ports.ports,
H A Dresource_tracker.c479 struct mlx4_active_ports actv_ports; local
487 actv_ports = mlx4_get_active_ports(dev, vf);
488 ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
553 struct mlx4_active_ports actv_ports = local
632 if (test_bit(j, actv_ports.ports))
H A Dmlx4.h404 struct mlx4_active_ports actv_ports; member in struct:mlx4_eq
/linux-master/drivers/infiniband/hw/mlx4/
H A Dsysfs.c701 struct mlx4_active_ports actv_ports; local
724 actv_ports = mlx4_get_active_ports(dev->dev, slave);
727 if (!test_bit(port - 1, actv_ports.ports))
H A Dmain.c3025 struct mlx4_active_ports actv_ports; local
3032 actv_ports = mlx4_get_active_ports(dev, slave);
3033 ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
3034 first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports);
H A Dmad.c2178 struct mlx4_active_ports actv_ports = local
2181 if (!test_bit(port - 1, actv_ports.ports))

Completed in 234 milliseconds