Home
last modified time | relevance | path

Searched refs:galpas (Results 1 – 12 of 12) sorted by relevance

/drivers/staging/rdma/ehca/
Dhcp_phyp.c56 int hcp_galpas_ctor(struct h_galpas *galpas, int is_user, in hcp_galpas_ctor() argument
60 galpas->kernel.fw_handle = hcall_map_page(paddr_kernel); in hcp_galpas_ctor()
61 if (!galpas->kernel.fw_handle) in hcp_galpas_ctor()
64 galpas->kernel.fw_handle = 0; in hcp_galpas_ctor()
66 galpas->user.fw_handle = paddr_user; in hcp_galpas_ctor()
71 int hcp_galpas_dtor(struct h_galpas *galpas) in hcp_galpas_dtor() argument
73 if (galpas->kernel.fw_handle) { in hcp_galpas_dtor()
74 int ret = hcall_unmap_page(galpas->kernel.fw_handle); in hcp_galpas_dtor()
79 galpas->user.fw_handle = galpas->kernel.fw_handle = 0; in hcp_galpas_dtor()
Dhipz_fns_core.h64 hipz_galpa_store_qp(qp->galpas.kernel, qpx_sqa, in hipz_update_sqa()
71 hipz_galpa_store_qp(qp->galpas.kernel, qpx_rqa, in hipz_update_rqa()
77 hipz_galpa_store_cq(cq->galpas.kernel, cqx_feca, in hipz_update_feca()
85 hipz_galpa_store_cq(cq->galpas.kernel, cqx_n0, in hipz_set_cqx_n0()
88 cqx_n0_reg = hipz_galpa_load_cq(cq->galpas.kernel, cqx_n0); in hipz_set_cqx_n0()
95 hipz_galpa_store_cq(cq->galpas.kernel, cqx_n1, in hipz_set_cqx_n1()
97 cqx_n1_reg = hipz_galpa_load_cq(cq->galpas.kernel, cqx_n1); in hipz_set_cqx_n1()
Dehca_classes.h81 struct h_galpas galpas; member
125 struct h_galpas galpas; member
197 struct h_galpas galpas; member
240 struct h_galpas galpas; member
288 struct h_galpas galpas; member
297 struct h_galpas galpas; member
475 struct h_galpas galpas; member
Dhcp_phyp.h81 int hcp_galpas_ctor(struct h_galpas *galpas, int is_user,
84 int hcp_galpas_dtor(struct h_galpas *galpas);
Dehca_uverbs.c105 static int ehca_mmap_fw(struct vm_area_struct *vma, struct h_galpas *galpas, in ehca_mmap_fw() argument
117 physical = galpas->user.fw_handle; in ehca_mmap_fw()
169 ret = ehca_mmap_fw(vma, &cq->galpas, &cq->mm_count_galpa); in ehca_mmap_cq()
206 ret = ehca_mmap_fw(vma, &qp->galpas, &qp->mm_count_galpa); in ehca_mmap_qp()
Dehca_mcast.c86 my_qp->galpas.kernel, in ehca_attach_mcast()
123 my_qp->galpas.kernel, in ehca_detach_mcast()
Dehca_cq.c225 my_cq->galpas. in ehca_create_cq()
262 gal = my_cq->galpas.kernel; in ehca_create_cq()
289 (my_cq->galpas.user.fw_handle & (PAGE_SIZE - 1)); in ehca_create_cq()
Dehca_qp.c330 my_qp->galpas.kernel); in init_qp_queue()
718 my_qp->galpas = parms.galpas; in internal_create_qp()
904 (my_qp->galpas.user.fw_handle & (PAGE_SIZE - 1)); in internal_create_qp()
1014 mqpcb, my_qp->galpas.kernel); in ehca_create_srq()
1028 mqpcb, my_qp->galpas.kernel); in ehca_create_srq()
1042 mqpcb, my_qp->galpas.kernel); in ehca_create_srq()
1266 mqpcb, my_qp->galpas.kernel); in internal_modify_qp()
1696 mqpcb, my_qp->galpas.kernel); in internal_modify_qp()
1727 my_qp->galpas.kernel); in internal_modify_qp()
1916 qpcb, my_qp->galpas.kernel); in ehca_query_qp()
[all …]
Dhcp_if.c268 rc = hcp_galpas_ctor(&cq->galpas, 0, outs[5], outs[6]); in hipz_h_alloc_resource_cq()
355 rc = hcp_galpas_ctor(&parms->galpas, is_user, outs[6], outs[6]); in hipz_h_alloc_resource_qp()
588 ret = hcp_galpas_dtor(&qp->galpas); in hipz_h_destroy_qp()
691 ret = hcp_galpas_dtor(&cq->galpas); in hipz_h_destroy_cq()
714 ret = hcp_galpas_dtor(&eq->galpas); in hipz_h_destroy_eq()
Dehca_sqp.c82 ehca_qp->galpas.kernel, in ehca_define_sqp()
Dehca_irq.c462 struct h_galpa gal = cq->galpas.kernel; in reset_eq_pending()
Dehca_mrmw.c2229 memset(&mr->galpas, 0, sizeof(mr->galpas)); in ehca_mr_deletenew()