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()
837 if (dev->caps.num_ports > MLX4_MAX_PORTS) { in mlx4_slave_cap()
839 dev->caps.num_ports, MLX4_MAX_PORTS); in mlx4_slave_cap()
1035 enum mlx4_port_type types[MLX4_MAX_PORTS]; in set_port_type()
1036 enum mlx4_port_type new_types[MLX4_MAX_PORTS]; in set_port_type()
1256 if ((port1 < 1) || (port1 > MLX4_MAX_PORTS) || in mlx4_port_map_set()
1257 (port2 < 1) || (port2 > MLX4_MAX_PORTS) || in mlx4_port_map_set()
3184 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in __mlx4_init_one()
3185 int prb_vf[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in __mlx4_init_one()
3186 const int param_map[MLX4_MAX_PORTS + 1][MLX4_MAX_PORTS + 1] = { in __mlx4_init_one()
3229 for (i = 0; i < MLX4_MAX_PORTS; i++) { in __mlx4_init_one()
3521 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in mlx4_restart_one()
3619 int nvfs[MLX4_MAX_PORTS + 1] = {0, 0, 0}; in mlx4_pci_slot_reset()