Lines Matching refs:c4iw_dev

65 	struct c4iw_dev *rhp;  in c4iw_dealloc_ucontext()
81 struct c4iw_dev *rhp = to_c4iw_dev(ibdev); in c4iw_alloc_ucontext()
196 struct c4iw_dev *rhp; in c4iw_deallocate_pd()
214 struct c4iw_dev *rhp; in c4iw_allocate_pd()
217 rhp = (struct c4iw_dev *) ibdev; in c4iw_allocate_pd()
244 struct c4iw_dev *dev; in c4iw_query_gid()
260 struct c4iw_dev *dev; in c4iw_query_device()
326 struct c4iw_dev *c4iw_dev = in hw_rev_show() local
327 rdma_device_to_drv_device(dev, struct c4iw_dev, ibdev); in hw_rev_show()
332 CHELSIO_CHIP_RELEASE(c4iw_dev->rdev.lldi.adapter_type)); in hw_rev_show()
339 struct c4iw_dev *c4iw_dev = in hca_type_show() local
340 rdma_device_to_drv_device(dev, struct c4iw_dev, ibdev); in hca_type_show()
342 struct net_device *lldev = c4iw_dev->rdev.lldi.ports[0]; in hca_type_show()
353 struct c4iw_dev *c4iw_dev = in board_id_show() local
354 rdma_device_to_drv_device(dev, struct c4iw_dev, ibdev); in board_id_show()
357 return sysfs_emit(buf, "%x.%x\n", c4iw_dev->rdev.lldi.pdev->vendor, in board_id_show()
358 c4iw_dev->rdev.lldi.pdev->device); in board_id_show()
399 struct c4iw_dev *c4iw_dev = to_c4iw_dev(ibdev); in c4iw_get_mib() local
401 cxgb4_get_tcp_stats(c4iw_dev->rdev.lldi.pdev, &v4, &v6); in c4iw_get_mib()
444 struct c4iw_dev *c4iw_dev = container_of(dev, struct c4iw_dev, in get_dev_fw_str() local
449 FW_HDR_FW_VER_MAJOR_G(c4iw_dev->rdev.lldi.fw_vers), in get_dev_fw_str()
450 FW_HDR_FW_VER_MINOR_G(c4iw_dev->rdev.lldi.fw_vers), in get_dev_fw_str()
451 FW_HDR_FW_VER_MICRO_G(c4iw_dev->rdev.lldi.fw_vers), in get_dev_fw_str()
452 FW_HDR_FW_VER_BUILD_G(c4iw_dev->rdev.lldi.fw_vers)); in get_dev_fw_str()
531 struct c4iw_dev *dev = ctx->dev; in c4iw_register_device()
565 void c4iw_unregister_device(struct c4iw_dev *dev) in c4iw_unregister_device()