Lines Matching refs:c4iw_dev
64 struct c4iw_dev *rhp; in c4iw_dealloc_ucontext()
80 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()
321 struct c4iw_dev *c4iw_dev = in hw_rev_show() local
322 rdma_device_to_drv_device(dev, struct c4iw_dev, ibdev); in hw_rev_show()
326 CHELSIO_CHIP_RELEASE(c4iw_dev->rdev.lldi.adapter_type)); in hw_rev_show()
333 struct c4iw_dev *c4iw_dev = in hca_type_show() local
334 rdma_device_to_drv_device(dev, struct c4iw_dev, ibdev); in hca_type_show()
336 struct net_device *lldev = c4iw_dev->rdev.lldi.ports[0]; in hca_type_show()
347 struct c4iw_dev *c4iw_dev = in board_id_show() local
348 rdma_device_to_drv_device(dev, struct c4iw_dev, ibdev); in board_id_show()
351 return sprintf(buf, "%x.%x\n", c4iw_dev->rdev.lldi.pdev->vendor, in board_id_show()
352 c4iw_dev->rdev.lldi.pdev->device); in board_id_show()
396 struct c4iw_dev *c4iw_dev = to_c4iw_dev(ibdev); in c4iw_get_mib() local
398 cxgb4_get_tcp_stats(c4iw_dev->rdev.lldi.pdev, &v4, &v6); in c4iw_get_mib()
441 struct c4iw_dev *c4iw_dev = container_of(dev, struct c4iw_dev, in get_dev_fw_str() local
446 FW_HDR_FW_VER_MAJOR_G(c4iw_dev->rdev.lldi.fw_vers), in get_dev_fw_str()
447 FW_HDR_FW_VER_MINOR_G(c4iw_dev->rdev.lldi.fw_vers), in get_dev_fw_str()
448 FW_HDR_FW_VER_MICRO_G(c4iw_dev->rdev.lldi.fw_vers), in get_dev_fw_str()
449 FW_HDR_FW_VER_BUILD_G(c4iw_dev->rdev.lldi.fw_vers)); in get_dev_fw_str()
527 struct c4iw_dev *dev = ctx->dev; in c4iw_register_device()
587 void c4iw_unregister_device(struct c4iw_dev *dev) in c4iw_unregister_device()