Searched defs:actv_ports (Results 1 - 8 of 8) sorted by relevance

/drivers/infiniband/hw/mlx4/
H A Dsysfs.c731 struct mlx4_active_ports actv_ports; local
754 actv_ports = mlx4_get_active_ports(dev->dev, slave);
757 if (!test_bit(port - 1, actv_ports.ports))
H A Dmad.c1956 struct mlx4_active_ports actv_ports = local
1959 if (!test_bit(port - 1, actv_ports.ports))
H A Dmain.c2493 struct mlx4_active_ports actv_ports; local
2500 actv_ports = mlx4_get_active_ports(dev, slave);
2501 ports = bitmap_weight(actv_ports.ports, dev->caps.num_ports);
2502 first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports);
/drivers/net/ethernet/mellanox/mlx4/
H A Deq.c276 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
279 port <= 0 || !test_bit(port - 1, actv_ports.ports)) {
293 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
296 port <= 0 || !test_bit(port - 1, actv_ports.ports)) {
335 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
342 port <= 0 || !test_bit(port - 1, actv_ports.ports)) {
H A Dport.c534 struct mlx4_active_ports actv_ports; local
542 actv_ports = mlx4_get_active_ports(dev, slave);
543 max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) +
544 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1;
572 struct mlx4_active_ports actv_ports; local
579 actv_ports = mlx4_get_active_ports(dev, slave);
580 max_port_p_one = find_first_bit(actv_ports.ports, dev->caps.num_ports) +
581 bitmap_weight(actv_ports.ports, dev->caps.num_ports) + 1;
642 struct mlx4_active_ports actv_ports; local
650 actv_ports
1246 struct mlx4_active_ports actv_ports; local
[all...]
H A Dcmd.c1687 struct mlx4_active_ports actv_ports = mlx4_get_active_ports( local
1689 int min_port = find_first_bit(actv_ports.ports,
1692 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
1695 if (!test_bit(port - 1, actv_ports.ports))
1739 struct mlx4_active_ports actv_ports = mlx4_get_active_ports( local
1741 int min_port = find_first_bit(actv_ports.ports,
1744 bitmap_weight(actv_ports.ports, priv->dev.caps.num_ports);
1748 if (!test_bit(port - 1, actv_ports.ports))
2309 struct mlx4_active_ports actv_ports; local
2312 bitmap_zero(actv_ports
2334 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
2350 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
2371 struct mlx4_active_ports actv_ports = local
2391 struct mlx4_active_ports actv_ports = local
2404 struct mlx4_active_ports actv_ports = mlx4_get_active_ports(dev, slave); local
[all...]
H A Dfw.c233 struct mlx4_active_ports actv_ports = local
244 find_first_bit(actv_ports.ports, dev->caps.num_ports);
276 struct mlx4_active_ports actv_ports = local
284 bitmap_weight(actv_ports.ports, dev->caps.num_ports),
892 struct mlx4_active_ports actv_ports; local
905 actv_ports = mlx4_get_active_ports(dev, slave);
906 first_port = find_first_bit(actv_ports.ports, dev->caps.num_ports);
909 bitmap_weight(actv_ports.ports, dev->caps.num_ports);
922 field |= bitmap_weight(actv_ports.ports, dev->caps.num_ports) & 0x0F;
H A Dresource_tracker.c504 struct mlx4_active_ports actv_ports = local
584 if (test_bit(j, actv_ports.ports))

Completed in 673 milliseconds