Lines Matching refs:ibdev
16 struct ib_device *ibdev = ib_port_sysfs_get_ibdev_kobj(kobj, &port_num); in hfi1_get_pportdata_kobj() local
17 struct hfi1_devdata *dd = dd_from_ibdev(ibdev); in hfi1_get_pportdata_kobj()
104 static ssize_t cc_prescan_show(struct ib_device *ibdev, u32 port_num, in cc_prescan_show() argument
107 struct hfi1_devdata *dd = dd_from_ibdev(ibdev); in cc_prescan_show()
113 static ssize_t cc_prescan_store(struct ib_device *ibdev, u32 port_num, in cc_prescan_store() argument
117 struct hfi1_devdata *dd = dd_from_ibdev(ibdev); in cc_prescan_store()
146 static ssize_t sc2vl_attr_show(struct ib_device *ibdev, u32 port_num, in sc2vl_attr_show() argument
151 struct hfi1_devdata *dd = dd_from_ibdev(ibdev); in sc2vl_attr_show()
243 static ssize_t sl2sc_attr_show(struct ib_device *ibdev, u32 port_num, in sl2sc_attr_show() argument
248 struct hfi1_devdata *dd = dd_from_ibdev(ibdev); in sl2sc_attr_show()
342 static ssize_t vl2mtu_attr_show(struct ib_device *ibdev, u32 port_num, in vl2mtu_attr_show() argument
347 struct hfi1_devdata *dd = dd_from_ibdev(ibdev); in vl2mtu_attr_show()
410 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in hw_rev_show()
420 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in board_id_show()
434 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in boardversion_show()
446 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in nctxts_show()
465 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in nfreectxts_show()
477 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in serial_show()
490 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in chip_reset_store()
519 rdma_device_to_drv_device(device, struct hfi1_ibdev, rdi.ibdev); in tempsense_show()
655 struct ib_device *dev = &dd->verbs_dev.rdi.ibdev; in hfi1_verbs_register_sysfs()