Lines Matching refs:v2p
1466 static int mlx4_port_map_set(struct mlx4_dev *dev, struct mlx4_port_map *v2p) in mlx4_port_map_set() argument
1468 u8 port1 = v2p->port1; in mlx4_port_map_set()
1469 u8 port2 = v2p->port2; in mlx4_port_map_set()
1480 port1 = priv->v2p.port1; in mlx4_port_map_set()
1482 port2 = priv->v2p.port2; in mlx4_port_map_set()
1490 } else if ((port1 == priv->v2p.port1) && in mlx4_port_map_set()
1491 (port2 == priv->v2p.port2)) { in mlx4_port_map_set()
1498 priv->v2p.port1 = port1; in mlx4_port_map_set()
1499 priv->v2p.port2 = port2; in mlx4_port_map_set()
3692 priv->v2p.port1 = 1; in mlx4_load_one()
3693 priv->v2p.port2 = 2; in mlx4_load_one()