Lines Matching defs:hca
892 ipoib_set_dev_features(struct ipoib_dev_priv *priv, struct ib_device *hca)
900 hca->name, sizeof *device_attr);
904 result = ib_query_device(hca, device_attr);
907 hca->name, result);
941 ipoib_add_port(const char *format, struct ib_device *hca, u8 port)
951 if (!ib_query_port(hca, port, &attr))
955 hca->name, port);
963 result = ib_query_pkey(hca, port, 0, &priv->pkey);
966 hca->name, port, result);
970 if (ipoib_set_dev_features(priv, hca))
982 result = ib_query_gid(hca, port, 0, &priv->local_gid);
985 hca->name, port, result);
990 result = ipoib_dev_init(priv, hca, port);
993 hca->name, port, result);
1005 hca->name, port, result);
1008 if_printf(priv->dev, "Attached to %s port %d\n", hca->name, port);