Lines Matching refs:ib_dev
944 rdma_device_to_drv_device(device, struct mthca_dev, ib_dev); in hw_rev_show()
971 rdma_device_to_drv_device(device, struct mthca_dev, ib_dev); in hca_type_show()
981 rdma_device_to_drv_device(device, struct mthca_dev, ib_dev); in board_id_show()
1017 memcpy(dev->ib_dev.node_desc, out_mad->data, IB_DEVICE_NODE_DESC_MAX); in mthca_init_node_data()
1028 memcpy(&dev->ib_dev.node_guid, out_mad->data + 12, 8); in mthca_init_node_data()
1058 container_of(device, struct mthca_dev, ib_dev); in get_dev_fw_str()
1150 dev->ib_dev.node_type = RDMA_NODE_IB_CA; in mthca_register_device()
1151 dev->ib_dev.phys_port_cnt = dev->limits.num_ports; in mthca_register_device()
1152 dev->ib_dev.num_comp_vectors = 1; in mthca_register_device()
1153 dev->ib_dev.dev.parent = &dev->pdev->dev; in mthca_register_device()
1157 ib_set_device_ops(&dev->ib_dev, in mthca_register_device()
1160 ib_set_device_ops(&dev->ib_dev, in mthca_register_device()
1164 ib_set_device_ops(&dev->ib_dev, &mthca_dev_ops); in mthca_register_device()
1167 ib_set_device_ops(&dev->ib_dev, &mthca_dev_arbel_ops); in mthca_register_device()
1169 ib_set_device_ops(&dev->ib_dev, &mthca_dev_tavor_ops); in mthca_register_device()
1173 ret = ib_register_device(&dev->ib_dev, "mthca%d", &dev->pdev->dev); in mthca_register_device()
1185 ib_unregister_device(&dev->ib_dev); in mthca_unregister_device()