Lines Matching defs:dev
154 #define EFA_DEV_CAP(dev, cap) \ argument
161 static void *efa_zalloc_mapped(struct efa_dev *dev, dma_addr_t *dma_addr, in efa_zalloc_mapped()
180 static void efa_free_mapped(struct efa_dev *dev, void *cpu_addr, in efa_free_mapped()
194 struct efa_dev *dev = to_edev(ibdev); in efa_query_device() local
253 struct efa_dev *dev = to_edev(ibdev); in efa_query_port() local
275 struct efa_dev *dev = to_edev(ibqp->device); in efa_query_qp() local
325 struct efa_dev *dev = to_edev(ibdev); in efa_query_gid() local
342 static int efa_pd_dealloc(struct efa_dev *dev, u16 pdn) in efa_pd_dealloc()
353 struct efa_dev *dev = to_edev(ibpd->device); in efa_alloc_pd() local
397 struct efa_dev *dev = to_edev(ibpd->device); in efa_dealloc_pd() local
405 static int efa_destroy_qp_handle(struct efa_dev *dev, u32 qp_handle) in efa_destroy_qp_handle()
422 struct efa_dev *dev = to_edev(ibqp->pd->device); in efa_destroy_qp() local
473 struct efa_dev *dev, in qp_mmap_entries_setup()
539 static int efa_qp_validate_cap(struct efa_dev *dev, in efa_qp_validate_cap()
579 static int efa_qp_validate_attr(struct efa_dev *dev, in efa_qp_validate_attr()
608 struct efa_dev *dev = to_edev(ibpd->device); in efa_create_qp() local
865 static int efa_modify_qp_validate(struct efa_dev *dev, struct efa_qp *qp, in efa_modify_qp_validate()
912 struct efa_dev *dev = to_edev(ibqp->device); in efa_modify_qp() local
977 static int efa_destroy_cq_idx(struct efa_dev *dev, int cq_idx) in efa_destroy_cq_idx()
986 struct efa_dev *dev = to_edev(ibcq->device); in efa_destroy_cq() local
1000 static int cq_mmap_entries_setup(struct efa_dev *dev, struct efa_cq *cq, in cq_mmap_entries_setup()
1023 struct efa_dev *dev = to_edev(ibdev); in efa_create_cq() local
1142 static int umem_to_page_list(struct efa_dev *dev, in umem_to_page_list()
1189 static int pbl_chunk_list_create(struct efa_dev *dev, struct pbl_context *pbl) in pbl_chunk_list_create()
1289 static void pbl_chunk_list_destroy(struct efa_dev *dev, struct pbl_context *pbl) in pbl_chunk_list_destroy()
1304 static int pbl_continuous_initialize(struct efa_dev *dev, in pbl_continuous_initialize()
1329 static int pbl_indirect_initialize(struct efa_dev *dev, struct pbl_context *pbl) in pbl_indirect_initialize()
1370 static void pbl_indirect_terminate(struct efa_dev *dev, struct pbl_context *pbl) in pbl_indirect_terminate()
1379 static int pbl_create(struct efa_dev *dev, in pbl_create()
1425 static void pbl_destroy(struct efa_dev *dev, struct pbl_context *pbl) in pbl_destroy()
1436 static int efa_create_inline_pbl(struct efa_dev *dev, struct efa_mr *mr, in efa_create_inline_pbl()
1453 static int efa_create_pbl(struct efa_dev *dev, in efa_create_pbl()
1491 struct efa_dev *dev = to_edev(ibpd->device); in efa_reg_mr() local
1597 struct efa_dev *dev = to_edev(ibmr->device); in efa_dereg_mr() local
1633 static int efa_dealloc_uar(struct efa_dev *dev, u16 uarn) in efa_dealloc_uar()
1649 struct efa_dev *dev = to_edev(ibucontext->device); in efa_user_comp_handshake() local
1672 struct efa_dev *dev = to_edev(ibucontext->device); in efa_alloc_ucontext() local
1726 struct efa_dev *dev = to_edev(ibucontext->device); in efa_dealloc_ucontext() local
1738 static int __efa_mmap(struct efa_dev *dev, struct efa_ucontext *ucontext, in __efa_mmap()
1805 struct efa_dev *dev = to_edev(ibucontext->device); in efa_mmap() local
1815 static int efa_ah_destroy(struct efa_dev *dev, struct efa_ah *ah) in efa_ah_destroy()
1830 struct efa_dev *dev = to_edev(ibah->device); in efa_create_ah() local
1885 struct efa_dev *dev = to_edev(ibah->pd->device); in efa_destroy_ah() local
1912 struct efa_dev *dev = to_edev(ibdev); in efa_get_hw_stats() local