phys_caps         455 drivers/infiniband/hw/mlx4/mad.c 	unassigned_pkey_ix = dev->dev->phys_caps.pkey_phys_table_len[port] - 1;
phys_caps         551 drivers/infiniband/hw/mlx4/mad.c 	dqpn = dev->dev->phys_caps.base_proxy_sqpn + 8 * slave + port + (dest_qpt * 2) - 1;
phys_caps        1354 drivers/infiniband/hw/mlx4/mad.c 	int proxy_start = dev->dev->phys_caps.base_proxy_sqpn + 8 * slave;
phys_caps        1497 drivers/infiniband/hw/mlx4/mad.c 	if (wc->src_qp < dev->dev->phys_caps.base_proxy_sqpn ||
phys_caps        1498 drivers/infiniband/hw/mlx4/mad.c 	    wc->src_qp >= dev->dev->phys_caps.base_proxy_sqpn + 8 * MLX4_MFUNC_MAX ||
phys_caps        1504 drivers/infiniband/hw/mlx4/mad.c 	slave = ((wc->src_qp & ~0x7) - dev->dev->phys_caps.base_proxy_sqpn) / 8;
phys_caps        2412 drivers/infiniband/hw/mlx4/main.c 				     i < ibdev->dev->phys_caps.pkey_phys_table_len[port];
phys_caps        2417 drivers/infiniband/hw/mlx4/main.c 							ibdev->dev->phys_caps.pkey_phys_table_len[port] - 1;
phys_caps        2426 drivers/infiniband/hw/mlx4/main.c 			     i < ibdev->dev->phys_caps.pkey_phys_table_len[port];
phys_caps         136 drivers/infiniband/hw/mlx4/qp.c 	return qp->mqp.qpn >= dev->dev->phys_caps.base_tunnel_sqpn &&
phys_caps         137 drivers/infiniband/hw/mlx4/qp.c 	       qp->mqp.qpn < dev->dev->phys_caps.base_tunnel_sqpn +
phys_caps         148 drivers/infiniband/hw/mlx4/qp.c 		    qp->mqp.qpn >= dev->dev->phys_caps.base_sqpn &&
phys_caps         149 drivers/infiniband/hw/mlx4/qp.c 		    qp->mqp.qpn <= dev->dev->phys_caps.base_sqpn + 3);
phys_caps         176 drivers/infiniband/hw/mlx4/qp.c 		    qp->mqp.qpn >= dev->dev->phys_caps.base_sqpn &&
phys_caps         177 drivers/infiniband/hw/mlx4/qp.c 		    qp->mqp.qpn <= dev->dev->phys_caps.base_sqpn + 1);
phys_caps        1041 drivers/infiniband/hw/mlx4/qp.c 		qpn = dev->dev->phys_caps.base_tunnel_sqpn + 8 * tnl_init->slave
phys_caps        1521 drivers/infiniband/hw/mlx4/qp.c 		return  dev->dev->phys_caps.base_sqpn +
phys_caps         469 drivers/infiniband/hw/mlx4/sysfs.c 		idx = p->dev->dev->phys_caps.pkey_phys_table_len[p->port_num] - 1;
phys_caps         411 drivers/net/ethernet/mellanox/mlx4/fw.c 		proxy_qp = dev->phys_caps.base_proxy_sqpn + 8 * slave + port - 1;
phys_caps         425 drivers/net/ethernet/mellanox/mlx4/fw.c 		size = dev->phys_caps.base_tunnel_sqpn + 8 * slave + port - 1;
phys_caps         402 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->phys_caps.gid_phys_table_len[port]  = port_cap->max_gids;
phys_caps         403 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->phys_caps.pkey_phys_table_len[port] = port_cap->max_pkeys;
phys_caps         490 drivers/net/ethernet/mellanox/mlx4/main.c 	dev->phys_caps.num_phys_eqs = dev_cap->flags2 & MLX4_DEV_CAP_FLAG2_SYS_EQS ?
phys_caps         764 drivers/net/ethernet/mellanox/mlx4/main.c 	if (qpn >= dev->phys_caps.base_tunnel_sqpn + 8 * MLX4_MFUNC_MAX ||
phys_caps         765 drivers/net/ethernet/mellanox/mlx4/main.c 	    qpn < dev->phys_caps.base_proxy_sqpn)
phys_caps         768 drivers/net/ethernet/mellanox/mlx4/main.c 	if (qpn >= dev->phys_caps.base_tunnel_sqpn)
phys_caps         770 drivers/net/ethernet/mellanox/mlx4/main.c 		qk += qpn - dev->phys_caps.base_tunnel_sqpn;
phys_caps         772 drivers/net/ethernet/mellanox/mlx4/main.c 		qk += qpn - dev->phys_caps.base_proxy_sqpn;
phys_caps        1617 drivers/net/ethernet/mellanox/mlx4/main.c 	num_eqs = dev->phys_caps.num_phys_eqs;
phys_caps        1679 drivers/net/ethernet/mellanox/mlx4/main.c 	num_eqs = dev->phys_caps.num_phys_eqs;
phys_caps        2123 drivers/net/ethernet/mellanox/mlx4/main.c 			dev->phys_caps.pkey_phys_table_len[i] - 1;
phys_caps         129 drivers/net/ethernet/mellanox/mlx4/profile.c 	profile[MLX4_RES_EQ].num = mlx4_is_mfunc(dev) ? dev->phys_caps.num_phys_eqs :
phys_caps          78 drivers/net/ethernet/mellanox/mlx4/qp.c 	u32 pf_proxy_offset = dev->phys_caps.base_proxy_sqpn + 8 * mlx4_master_func_num(dev);
phys_caps          81 drivers/net/ethernet/mellanox/mlx4/qp.c 	*real_qp0 = qp->qpn >= dev->phys_caps.base_sqpn &&
phys_caps          82 drivers/net/ethernet/mellanox/mlx4/qp.c 		qp->qpn <= dev->phys_caps.base_sqpn + 1;
phys_caps         794 drivers/net/ethernet/mellanox/mlx4/qp.c 	dev->phys_caps.base_sqpn = ALIGN(bottom_reserved_for_rss_bitmap, 8);
phys_caps         846 drivers/net/ethernet/mellanox/mlx4/qp.c 		dev->phys_caps.base_proxy_sqpn = dev->phys_caps.base_sqpn + 8;
phys_caps         847 drivers/net/ethernet/mellanox/mlx4/qp.c 		dev->phys_caps.base_tunnel_sqpn = dev->phys_caps.base_sqpn + 8 + 8 * MLX4_MFUNC_MAX;
phys_caps         860 drivers/net/ethernet/mellanox/mlx4/qp.c 			dev->caps.spec_qps[k].qp0_proxy = dev->phys_caps.base_proxy_sqpn +
phys_caps         863 drivers/net/ethernet/mellanox/mlx4/qp.c 			dev->caps.spec_qps[k].qp1_proxy = dev->phys_caps.base_proxy_sqpn +
phys_caps         870 drivers/net/ethernet/mellanox/mlx4/qp.c 	err = mlx4_CONF_SPECIAL_QP(dev, dev->phys_caps.base_sqpn);
phys_caps         890 include/linux/mlx4/device.h 	struct mlx4_phys_caps	phys_caps;
phys_caps        1053 include/linux/mlx4/device.h 	return dev->phys_caps.base_sqpn + 8 +
phys_caps        1059 include/linux/mlx4/device.h 	return (qpn < dev->phys_caps.base_sqpn + 8 +
phys_caps        1061 include/linux/mlx4/device.h 		qpn >= dev->phys_caps.base_sqpn) ||
phys_caps        1067 include/linux/mlx4/device.h 	int guest_proxy_base = dev->phys_caps.base_proxy_sqpn + slave * 8;