Lines Matching refs:ib_dev

79 	return scnprintf(buf, buf_sz, "PF: %s ", dev_name(&vf->pf->ib_dev.dev));  in usnic_ib_dump_vf_hdr()
147 usnic_info("PF Reset on %s\n", dev_name(&us_ibdev->ib_dev.dev)); in usnic_ib_handle_usdev_event()
150 ib_event.device = &us_ibdev->ib_dev; in usnic_ib_handle_usdev_event()
161 dev_name(&us_ibdev->ib_dev.dev)); in usnic_ib_handle_usdev_event()
163 ib_event.device = &us_ibdev->ib_dev; in usnic_ib_handle_usdev_event()
170 dev_name(&us_ibdev->ib_dev.dev)); in usnic_ib_handle_usdev_event()
173 ib_event.device = &us_ibdev->ib_dev; in usnic_ib_handle_usdev_event()
179 dev_name(&us_ibdev->ib_dev.dev)); in usnic_ib_handle_usdev_event()
186 dev_name(&us_ibdev->ib_dev.dev)); in usnic_ib_handle_usdev_event()
189 dev_name(&us_ibdev->ib_dev.dev), in usnic_ib_handle_usdev_event()
195 ib_event.device = &us_ibdev->ib_dev; in usnic_ib_handle_usdev_event()
204 dev_name(&us_ibdev->ib_dev.dev), in usnic_ib_handle_usdev_event()
210 dev_name(&us_ibdev->ib_dev.dev)); in usnic_ib_handle_usdev_event()
216 dev_name(&us_ibdev->ib_dev.dev)); in usnic_ib_handle_usdev_event()
233 us_ibdev = container_of(ibdev, struct usnic_ib_dev, ib_dev); in usnic_ib_netdevice_event()
260 ib_event.device = &us_ibdev->ib_dev; in usnic_ib_handle_inet_event()
270 ib_event.device = &us_ibdev->ib_dev; in usnic_ib_handle_inet_event()
277 dev_name(&us_ibdev->ib_dev.dev)); in usnic_ib_handle_inet_event()
296 us_ibdev = container_of(ibdev, struct usnic_ib_dev, ib_dev); in usnic_ib_inetaddr_event()
326 container_of(device, struct usnic_ib_dev, ib_dev); in usnic_get_dev_fw_str()
379 us_ibdev = ib_alloc_device(usnic_ib_dev, ib_dev); in usnic_ib_device_add()
398 us_ibdev->ib_dev.node_type = RDMA_NODE_USNIC_UDP; in usnic_ib_device_add()
399 us_ibdev->ib_dev.phys_port_cnt = USNIC_IB_PORT_CNT; in usnic_ib_device_add()
400 us_ibdev->ib_dev.num_comp_vectors = USNIC_IB_NUM_COMP_VECTORS; in usnic_ib_device_add()
401 us_ibdev->ib_dev.dev.parent = &dev->dev; in usnic_ib_device_add()
403 ib_set_device_ops(&us_ibdev->ib_dev, &usnic_dev_ops); in usnic_ib_device_add()
405 ret = ib_device_set_netdev(&us_ibdev->ib_dev, us_ibdev->netdev, 1); in usnic_ib_device_add()
410 if (ib_register_device(&us_ibdev->ib_dev, "usnic_%d", &dev->dev)) in usnic_ib_device_add()
431 memcpy(&us_ibdev->ib_dev.node_guid, &gid.global.interface_id, in usnic_ib_device_add()
436 dev_name(&us_ibdev->ib_dev.dev), in usnic_ib_device_add()
445 ib_dealloc_device(&us_ibdev->ib_dev); in usnic_ib_device_add()
451 usnic_info("Unregistering %s\n", dev_name(&us_ibdev->ib_dev.dev)); in usnic_ib_device_remove()
454 ib_unregister_device(&us_ibdev->ib_dev); in usnic_ib_device_remove()
455 ib_dealloc_device(&us_ibdev->ib_dev); in usnic_ib_device_remove()
592 dev_name(&pf->ib_dev.dev)); in usnic_ib_pci_probe()