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()
195 struct c4iw_dev *rhp; in c4iw_deallocate_pd()
213 struct c4iw_dev *rhp; in c4iw_allocate_pd()
216 rhp = (struct c4iw_dev *) ibdev; in c4iw_allocate_pd()
243 struct c4iw_dev *dev; in c4iw_query_gid()
259 struct c4iw_dev *dev; in c4iw_query_device()
325 struct c4iw_dev *c4iw_dev = in hw_rev_show() local
326 rdma_device_to_drv_device(dev, struct c4iw_dev, ibdev); in hw_rev_show()
331 CHELSIO_CHIP_RELEASE(c4iw_dev->rdev.lldi.adapter_type)); in hw_rev_show()
338 struct c4iw_dev *c4iw_dev = in hca_type_show() local
339 rdma_device_to_drv_device(dev, struct c4iw_dev, ibdev); in hca_type_show()
341 struct net_device *lldev = c4iw_dev->rdev.lldi.ports[0]; in hca_type_show()
352 struct c4iw_dev *c4iw_dev = in board_id_show() local
353 rdma_device_to_drv_device(dev, struct c4iw_dev, ibdev); in board_id_show()
356 return sysfs_emit(buf, "%x.%x\n", c4iw_dev->rdev.lldi.pdev->vendor, in board_id_show()
357 c4iw_dev->rdev.lldi.pdev->device); in board_id_show()
398 struct c4iw_dev *c4iw_dev = to_c4iw_dev(ibdev); in c4iw_get_mib() local
400 cxgb4_get_tcp_stats(c4iw_dev->rdev.lldi.pdev, &v4, &v6); in c4iw_get_mib()
443 struct c4iw_dev *c4iw_dev = container_of(dev, struct c4iw_dev, in get_dev_fw_str() local
448 FW_HDR_FW_VER_MAJOR_G(c4iw_dev->rdev.lldi.fw_vers), in get_dev_fw_str()
449 FW_HDR_FW_VER_MINOR_G(c4iw_dev->rdev.lldi.fw_vers), in get_dev_fw_str()
450 FW_HDR_FW_VER_MICRO_G(c4iw_dev->rdev.lldi.fw_vers), in get_dev_fw_str()
451 FW_HDR_FW_VER_BUILD_G(c4iw_dev->rdev.lldi.fw_vers)); in get_dev_fw_str()
530 struct c4iw_dev *dev = ctx->dev; in c4iw_register_device()
564 void c4iw_unregister_device(struct c4iw_dev *dev) in c4iw_unregister_device()