Lines Matching refs:ib_dev
936 rdma_device_to_drv_device(device, struct mthca_dev, ib_dev); in hw_rev_show()
963 rdma_device_to_drv_device(device, struct mthca_dev, ib_dev); in hca_type_show()
973 rdma_device_to_drv_device(device, struct mthca_dev, ib_dev); in board_id_show()
1009 memcpy(dev->ib_dev.node_desc, out_mad->data, IB_DEVICE_NODE_DESC_MAX); in mthca_init_node_data()
1020 memcpy(&dev->ib_dev.node_guid, out_mad->data + 12, 8); in mthca_init_node_data()
1050 container_of(device, struct mthca_dev, ib_dev); in get_dev_fw_str()
1142 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mthca_register_device()
1143 dev->ib_dev.phys_port_cnt = dev->limits.num_ports; in mthca_register_device()
1144 dev->ib_dev.num_comp_vectors = 1; in mthca_register_device()
1145 dev->ib_dev.dev.parent = &dev->pdev->dev; in mthca_register_device()
1149 ib_set_device_ops(&dev->ib_dev, in mthca_register_device()
1152 ib_set_device_ops(&dev->ib_dev, in mthca_register_device()
1156 ib_set_device_ops(&dev->ib_dev, &mthca_dev_ops); in mthca_register_device()
1159 ib_set_device_ops(&dev->ib_dev, &mthca_dev_arbel_ops); in mthca_register_device()
1161 ib_set_device_ops(&dev->ib_dev, &mthca_dev_tavor_ops); in mthca_register_device()
1165 ret = ib_register_device(&dev->ib_dev, "mthca%d", &dev->pdev->dev); in mthca_register_device()
1177 ib_unregister_device(&dev->ib_dev); in mthca_unregister_device()