Lines Matching refs:MLX4_MAX_PORTS
165 enum mlx4_port_type port_type[MLX4_MAX_PORTS + 1];
337 if (dev_cap->num_ports > MLX4_MAX_PORTS) { in mlx4_dev_cap()
339 dev_cap->num_ports, MLX4_MAX_PORTS); in mlx4_dev_cap()
860 if (dev->caps.num_ports > MLX4_MAX_PORTS) { in mlx4_slave_cap()
862 dev->caps.num_ports, MLX4_MAX_PORTS); in mlx4_slave_cap()
1062 enum mlx4_port_type types[MLX4_MAX_PORTS]; in set_port_type()
1063 enum mlx4_port_type new_types[MLX4_MAX_PORTS]; in set_port_type()
1283 if ((port1 < 1) || (port1 > MLX4_MAX_PORTS) || in mlx4_port_map_set()
1284 (port2 < 1) || (port2 > MLX4_MAX_PORTS) || in mlx4_port_map_set()
3413 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in __mlx4_init_one()
3414 int prb_vf[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in __mlx4_init_one()
3415 const int param_map[MLX4_MAX_PORTS + 1][MLX4_MAX_PORTS + 1] = { in __mlx4_init_one()
3458 for (i = 0; i < MLX4_MAX_PORTS; i++) { in __mlx4_init_one()
3752 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in mlx4_restart_one()
3850 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in mlx4_pci_slot_reset()