Lines Matching refs:MLX4_MAX_PORTS
469 if (dev_cap->num_ports > MLX4_MAX_PORTS) { in mlx4_dev_cap()
471 dev_cap->num_ports, MLX4_MAX_PORTS); in mlx4_dev_cap()
1009 if (dev->caps.num_ports > MLX4_MAX_PORTS) { in mlx4_slave_cap()
1011 dev->caps.num_ports, MLX4_MAX_PORTS); in mlx4_slave_cap()
1155 enum mlx4_port_type types[MLX4_MAX_PORTS]; in __set_port_type()
1156 enum mlx4_port_type new_types[MLX4_MAX_PORTS]; in __set_port_type()
1490 if ((port1 < 1) || (port1 > MLX4_MAX_PORTS) || in mlx4_port_map_set()
1491 (port2 < 1) || (port2 > MLX4_MAX_PORTS) || in mlx4_port_map_set()
3792 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in __mlx4_init_one()
3793 int prb_vf[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in __mlx4_init_one()
3794 const int param_map[MLX4_MAX_PORTS + 1][MLX4_MAX_PORTS + 1] = { in __mlx4_init_one()
3837 for (i = 0; i < MLX4_MAX_PORTS; i++) { in __mlx4_init_one()
4252 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in mlx4_restart_one_up()
4384 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in mlx4_pci_resume()
4464 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in mlx4_resume()