Lines Matching refs:dev
1197 static struct ib_qp *create_qp(struct ib_device *dev, struct ib_pd *pd, in create_qp() argument
1206 if (!dev->ops.create_qp) in create_qp()
1209 qp = rdma_zalloc_drv_obj_numa(dev, ib_qp); in create_qp()
1213 qp->device = dev; in create_qp()
1235 ret = dev->ops.create_qp(qp, attr, udata); in create_qp()
1246 ret = ib_create_qp_security(qp, dev); in create_qp()
1274 struct ib_qp *ib_create_qp_user(struct ib_device *dev, struct ib_pd *pd, in ib_create_qp_user() argument
1282 qp = create_qp(dev, pd, attr, NULL, NULL, caller); in ib_create_qp_user()
1284 qp = create_qp(dev, pd, attr, udata, uobj, NULL); in ib_create_qp_user()
1819 dev_warn(&qp->device->dev, in _ib_modify_qp()
1826 dev_warn(&qp->device->dev, in _ib_modify_qp()
1966 int ib_get_eth_speed(struct ib_device *dev, u32 port_num, u16 *speed, u8 *width) in ib_get_eth_speed() argument
1973 if (rdma_port_get_link_layer(dev, port_num) != IB_LINK_LAYER_ETHERNET) in ib_get_eth_speed()
1976 netdev = ib_device_get_netdev(dev, port_num); in ib_get_eth_speed()