Searched refs:usnic_ib_dev (Results 1 - 5 of 5) sorted by relevance

/linux-4.1.27/drivers/infiniband/hw/usnic/
H A Dusnic_ib_sysfs.c37 struct usnic_ib_dev *us_ibdev = usnic_ib_show_fw_ver()
38 container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_fw_ver()
52 struct usnic_ib_dev *us_ibdev = usnic_ib_show_board()
53 container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_board()
70 struct usnic_ib_dev *us_ibdev; usnic_ib_show_config()
76 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_config()
133 struct usnic_ib_dev *us_ibdev; usnic_ib_show_iface()
135 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_iface()
145 struct usnic_ib_dev *us_ibdev; usnic_ib_show_max_vf()
147 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_max_vf()
157 struct usnic_ib_dev *us_ibdev; usnic_ib_show_qp_per_vf()
160 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_qp_per_vf()
172 struct usnic_ib_dev *us_ibdev; usnic_ib_show_cq_per_vf()
174 us_ibdev = container_of(device, struct usnic_ib_dev, ib_dev.dev); usnic_ib_show_cq_per_vf()
280 int usnic_ib_sysfs_register_usdev(struct usnic_ib_dev *us_ibdev) usnic_ib_sysfs_register_usdev()
306 void usnic_ib_sysfs_unregister_usdev(struct usnic_ib_dev *us_ibdev) usnic_ib_sysfs_unregister_usdev()
319 struct usnic_ib_dev *us_ibdev; usnic_ib_sysfs_qpn_add()
335 struct usnic_ib_dev *us_ibdev; usnic_ib_sysfs_qpn_remove()
H A Dusnic_ib.h39 /* Protected by usnic_ib_dev->usdev_lock */
54 struct usnic_ib_dev { struct
73 struct usnic_ib_dev *pf;
82 struct usnic_ib_dev *to_usdev(struct ib_device *ibdev) to_usdev()
84 return container_of(ibdev, struct usnic_ib_dev, ib_dev); to_usdev()
H A Dusnic_ib_sysfs.h24 int usnic_ib_sysfs_register_usdev(struct usnic_ib_dev *us_ibdev);
25 void usnic_ib_sysfs_unregister_usdev(struct usnic_ib_dev *us_ibdev);
H A Dusnic_ib_main.c101 static void usnic_ib_qp_grp_modify_active_to_err(struct usnic_ib_dev *us_ibdev) usnic_ib_qp_grp_modify_active_to_err()
132 static void usnic_ib_handle_usdev_event(struct usnic_ib_dev *us_ibdev, usnic_ib_handle_usdev_event()
219 struct usnic_ib_dev *us_ibdev; usnic_ib_netdevice_event()
241 static int usnic_ib_handle_inet_event(struct usnic_ib_dev *us_ibdev, usnic_ib_handle_inet_event()
283 struct usnic_ib_dev *us_ibdev; usnic_ib_inetaddr_event()
306 struct usnic_ib_dev *us_ibdev; usnic_ib_device_add()
314 us_ibdev = (struct usnic_ib_dev *)ib_alloc_device(sizeof(*us_ibdev)); usnic_ib_device_add()
420 static void usnic_ib_device_remove(struct usnic_ib_dev *us_ibdev) usnic_ib_device_remove()
431 struct usnic_ib_dev *us_ibdev, *tmp; usnic_ib_undiscover_pf()
435 dev = container_of(kref, struct usnic_ib_dev, vf_cnt)->pdev; usnic_ib_undiscover_pf()
452 static struct usnic_ib_dev *usnic_ib_discover_pf(struct usnic_vnic *vnic) usnic_ib_discover_pf()
454 struct usnic_ib_dev *us_ibdev; usnic_ib_discover_pf()
502 struct usnic_ib_dev *pf; usnic_ib_pci_probe()
581 struct usnic_ib_dev *pf = vf->pf; usnic_ib_pci_remove()
H A Dusnic_ib_verbs.c45 struct usnic_ib_dev *us_ibdev; usnic_ib_fill_create_qp_resp()
130 find_free_vf_and_create_qp_grp(struct usnic_ib_dev *us_ibdev, find_free_vf_and_create_qp_grp()
253 struct usnic_ib_dev *us_ibdev = to_usdev(ibdev); usnic_ib_query_device()
309 struct usnic_ib_dev *us_ibdev = to_usdev(ibdev); usnic_ib_query_port()
393 struct usnic_ib_dev *us_ibdev = to_usdev(ibdev); usnic_ib_query_gid()
456 struct usnic_ib_dev *us_ibdev; usnic_ib_create_qp()
638 struct usnic_ib_dev *us_ibdev = to_usdev(ibdev); usnic_ib_alloc_ucontext()
656 struct usnic_ib_dev *us_ibdev = to_usdev(ibcontext->device); usnic_ib_dealloc_ucontext()
671 struct usnic_ib_dev *us_ibdev; usnic_ib_mmap()

Completed in 136 milliseconds