Lines Matching refs:to_edev
123 static inline struct efa_dev *to_edev(struct ib_device *ibdev) in to_edev() function
204 struct efa_dev *dev = to_edev(ibdev); in efa_query_device()
263 struct efa_dev *dev = to_edev(ibdev); in efa_query_port()
285 struct efa_dev *dev = to_edev(ibqp->device); in efa_query_qp()
335 struct efa_dev *dev = to_edev(ibdev); in efa_query_gid()
363 struct efa_dev *dev = to_edev(ibpd->device); in efa_alloc_pd()
407 struct efa_dev *dev = to_edev(ibpd->device); in efa_dealloc_pd()
432 struct efa_dev *dev = to_edev(ibqp->pd->device); in efa_destroy_qp()
616 struct efa_dev *dev = to_edev(ibqp->device); in efa_create_qp()
912 struct efa_dev *dev = to_edev(ibqp->device); in efa_modify_qp()
989 struct efa_dev *dev = to_edev(ibcq->device); in efa_destroy_cq()
1026 struct efa_dev *dev = to_edev(ibdev); in efa_create_cq()
1497 struct efa_dev *dev = to_edev(ibpd->device); in efa_reg_mr()
1603 struct efa_dev *dev = to_edev(ibmr->device); in efa_dereg_mr()
1655 struct efa_dev *dev = to_edev(ibucontext->device); in efa_user_comp_handshake()
1678 struct efa_dev *dev = to_edev(ibucontext->device); in efa_alloc_ucontext()
1732 struct efa_dev *dev = to_edev(ibucontext->device); in efa_dealloc_ucontext()
1811 struct efa_dev *dev = to_edev(ibucontext->device); in efa_mmap()
1836 struct efa_dev *dev = to_edev(ibah->device); in efa_create_ah()
1891 struct efa_dev *dev = to_edev(ibah->pd->device); in efa_destroy_ah()
1998 return efa_fill_port_stats(to_edev(ibdev), stats, port_num); in efa_get_hw_stats()
2000 return efa_fill_device_stats(to_edev(ibdev), stats); in efa_get_hw_stats()