Lines Matching refs:caps
844 struct mlx4_caps caps; member
979 for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \
980 if ((type) == (dev)->caps.port_mask[(port)])
983 for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \
984 if (((dev)->caps.port_mask[port] != MLX4_PORT_TYPE_IB))
987 for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \
988 if (((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_IB) || \
989 ((dev)->caps.flags & MLX4_DEV_CAP_FLAG_IBOE))
992 #define MLX4_SINK_COUNTER_INDEX(dev) (dev->caps.max_counters - 1)
998 return dev->caps.function; in mlx4_master_func_num()
1017 (qpn < dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]); in mlx4_is_qp_reserved()
1042 return dev->caps.port_type[port] == MLX4_PORT_TYPE_IB ? 0 : 1; in mlx4_is_eth()