Lines Matching refs:efa_dev

137 static inline struct efa_dev *to_edev(struct ib_device *ibdev)  in to_edev()
139 return container_of(ibdev, struct efa_dev, ibdev); in to_edev()
185 static void *efa_zalloc_mapped(struct efa_dev *dev, dma_addr_t *dma_addr, in efa_zalloc_mapped()
204 static void efa_free_mapped(struct efa_dev *dev, void *cpu_addr, in efa_free_mapped()
218 struct efa_dev *dev = to_edev(ibdev); in efa_query_device()
325 struct efa_dev *dev = to_edev(ibdev); in efa_query_port()
352 struct efa_dev *dev = to_edev(ibqp->device); in efa_query_qp()
402 struct efa_dev *dev = to_edev(ibdev); in efa_query_gid()
419 static int efa_pd_dealloc(struct efa_dev *dev, u16 pdn) in efa_pd_dealloc()
430 struct efa_dev *dev = to_edev(ibpd->device); in efa_alloc_pd()
474 struct efa_dev *dev = to_edev(ibpd->device); in efa_dealloc_pd()
482 static int efa_destroy_qp_handle(struct efa_dev *dev, u32 qp_handle) in efa_destroy_qp_handle()
499 struct efa_dev *dev = to_edev(ibqp->pd->device); in efa_destroy_qp()
549 struct efa_dev *dev, in qp_mmap_entries_setup()
615 static int efa_qp_validate_cap(struct efa_dev *dev, in efa_qp_validate_cap()
655 static int efa_qp_validate_attr(struct efa_dev *dev, in efa_qp_validate_attr()
683 struct efa_dev *dev = to_edev(ibqp->device); in efa_create_qp()
948 static int efa_modify_qp_validate(struct efa_dev *dev, struct efa_qp *qp, in efa_modify_qp_validate()
995 struct efa_dev *dev = to_edev(ibqp->device); in efa_modify_qp()
1063 static int efa_destroy_cq_idx(struct efa_dev *dev, int cq_idx) in efa_destroy_cq_idx()
1078 struct efa_dev *dev = to_edev(ibcq->device); in efa_destroy_cq()
1099 static struct efa_eq *efa_vec2eq(struct efa_dev *dev, int vec) in efa_vec2eq()
1104 static int cq_mmap_entries_setup(struct efa_dev *dev, struct efa_cq *cq, in cq_mmap_entries_setup()
1144 struct efa_dev *dev = to_edev(ibdev); in efa_create_cq_umem()
1317 static int umem_to_page_list(struct efa_dev *dev, in umem_to_page_list()
1360 static int pbl_chunk_list_create(struct efa_dev *dev, struct pbl_context *pbl) in pbl_chunk_list_create()
1458 static void pbl_chunk_list_destroy(struct efa_dev *dev, struct pbl_context *pbl) in pbl_chunk_list_destroy()
1473 static int pbl_continuous_initialize(struct efa_dev *dev, in pbl_continuous_initialize()
1498 static int pbl_indirect_initialize(struct efa_dev *dev, struct pbl_context *pbl) in pbl_indirect_initialize()
1539 static void pbl_indirect_terminate(struct efa_dev *dev, struct pbl_context *pbl) in pbl_indirect_terminate()
1548 static int pbl_create(struct efa_dev *dev, in pbl_create()
1594 static void pbl_destroy(struct efa_dev *dev, struct pbl_context *pbl) in pbl_destroy()
1605 static int efa_create_inline_pbl(struct efa_dev *dev, struct efa_mr *mr, in efa_create_inline_pbl()
1622 static int efa_create_pbl(struct efa_dev *dev, in efa_create_pbl()
1659 struct efa_dev *dev = to_edev(ibpd->device); in efa_alloc_mr()
1693 struct efa_dev *dev = to_edev(ibpd->device); in efa_register_mr()
1763 struct efa_dev *dev = to_edev(ibpd->device); in efa_reg_user_mr_dmabuf()
1809 struct efa_dev *dev = to_edev(ibpd->device); in efa_reg_mr()
1883 struct efa_dev *dev = to_edev(ibmr->device); in efa_dereg_mr()
1919 static int efa_dealloc_uar(struct efa_dev *dev, u16 uarn) in efa_dealloc_uar()
1935 struct efa_dev *dev = to_edev(ibucontext->device); in efa_user_comp_handshake()
1958 struct efa_dev *dev = to_edev(ibucontext->device); in efa_alloc_ucontext()
2012 struct efa_dev *dev = to_edev(ibucontext->device); in efa_dealloc_ucontext()
2024 static int __efa_mmap(struct efa_dev *dev, struct efa_ucontext *ucontext, in __efa_mmap()
2091 struct efa_dev *dev = to_edev(ibucontext->device); in efa_mmap()
2101 static int efa_ah_destroy(struct efa_dev *dev, struct efa_ah *ah) in efa_ah_destroy()
2116 struct efa_dev *dev = to_edev(ibah->device); in efa_create_ah()
2171 struct efa_dev *dev = to_edev(ibah->pd->device); in efa_destroy_ah()
2201 static int efa_fill_device_stats(struct efa_dev *dev, in efa_fill_device_stats()
2225 static int efa_fill_port_stats(struct efa_dev *dev, struct rdma_hw_stats *stats, in efa_fill_port_stats()