Lines Matching refs:caps
819 struct mlx4_caps caps; member
947 for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \
948 if ((type) == (dev)->caps.port_mask[(port)])
951 for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \
952 if (((dev)->caps.port_mask[port] != MLX4_PORT_TYPE_IB))
955 for ((port) = 1; (port) <= (dev)->caps.num_ports; (port)++) \
956 if (((dev)->caps.port_mask[port] == MLX4_PORT_TYPE_IB) || \
957 ((dev)->caps.flags & MLX4_DEV_CAP_FLAG_IBOE))
965 return dev->caps.function; in mlx4_master_func_num()
984 (qpn < dev->caps.reserved_qps_cnt[MLX4_QP_REGION_FW]); in mlx4_is_qp_reserved()
1009 return dev->caps.port_type[port] == MLX4_PORT_TYPE_IB ? 0 : 1; in mlx4_is_eth()