Lines Matching refs:actv_ports
315 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); in mlx4_get_slave_port_state() local
318 port <= 0 || !test_bit(port - 1, actv_ports.ports)) { in mlx4_get_slave_port_state()
332 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); in mlx4_set_slave_port_state() local
335 port <= 0 || !test_bit(port - 1, actv_ports.ports)) { in mlx4_set_slave_port_state()
374 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); in set_and_calc_slave_port_state() local
381 port <= 0 || !test_bit(port - 1, actv_ports.ports)) { in set_and_calc_slave_port_state()
1228 int port = find_first_bit(eq->actv_ports.ports, in mlx4_init_eq_table()
1413 return test_bit(port - 1, priv->eq_table.eq[vector].actv_ports.ports); in mlx4_is_eq_vector_valid()
1425 priv->eq_table.eq[i].actv_ports.ports); in mlx4_get_eqs_per_port()
1439 return !!(bitmap_weight(priv->eq_table.eq[vector].actv_ports.ports, in mlx4_is_eq_shared()
1464 priv->eq_table.eq[requested_vector].actv_ports.ports)) { in mlx4_assign_eq()
1475 test_bit(port - 1, eq->actv_ports.ports)) { in mlx4_assign_eq()
1488 test_bit(port - 1, eq->actv_ports.ports)) { in mlx4_assign_eq()