Home
last modified time | relevance | path

Searched refs:hret (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c125 u64 *cq_handle_ref, hret, rpage; in ehea_create_cq() local
144 hret = ehea_h_alloc_resource_cq(adapter->handle, &cq->attr, in ehea_create_cq()
146 if (hret != H_SUCCESS) { in ehea_create_cq()
164 hret = ehea_h_register_rpage(adapter->handle, in ehea_create_cq()
167 if (hret < H_SUCCESS) { in ehea_create_cq()
169 cq, hret, counter, cq->attr.nr_pages); in ehea_create_cq()
176 if ((hret != H_SUCCESS) || (vpage)) { in ehea_create_cq()
178 hret); in ehea_create_cq()
182 if (hret != H_PAGE_REGISTERED) { in ehea_create_cq()
184 hret); in ehea_create_cq()
[all …]
Dehea_phyp.c216 u64 hret; in ehea_h_alloc_resource_qp() local
257 hret = ehea_plpar_hcall9(H_ALLOC_HEA_RESOURCE, in ehea_h_alloc_resource_qp()
304 if (!hret) in ehea_h_alloc_resource_qp()
307 return hret; in ehea_h_alloc_resource_qp()
314 u64 hret; in ehea_h_alloc_resource_cq() local
317 hret = ehea_plpar_hcall9(H_ALLOC_HEA_RESOURCE, in ehea_h_alloc_resource_cq()
330 if (!hret) in ehea_h_alloc_resource_cq()
333 return hret; in ehea_h_alloc_resource_cq()
376 u64 hret, allocate_controls; in ehea_h_alloc_resource_eq() local
386 hret = ehea_plpar_hcall9(H_ALLOC_HEA_RESOURCE, in ehea_h_alloc_resource_eq()
[all …]
Dehea_main.c353 u64 hret; in ehea_update_stats() local
361 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_update_stats()
364 if (hret != H_SUCCESS) { in ehea_update_stats()
987 u64 hret; in ehea_sense_port_attr() local
998 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_sense_port_attr()
1002 if (hret != H_SUCCESS) { in ehea_sense_port_attr()
1073 u64 hret; in ehea_set_portspeed() local
1087 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_set_portspeed()
1090 if (hret == H_SUCCESS) { in ehea_set_portspeed()
1093 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_set_portspeed()
[all …]
/drivers/infiniband/hw/ehca/
Dehca_hca.c364 u64 hret; in ehca_modify_port() local
385 hret = hipz_h_query_port(shca->ipz_hca_handle, port, rblock); in ehca_modify_port()
386 if (hret != H_SUCCESS) { in ehca_modify_port()
395 hret = hipz_h_modify_port(shca->ipz_hca_handle, port, in ehca_modify_port()
397 if (hret != H_SUCCESS) { in ehca_modify_port()
399 hret); in ehca_modify_port()
Dehca_mrmw.c1578 u64 hret = H_SUCCESS; in ehca_reg_mr_sections() local
1585 hret = ehca_reg_mr_section(top, dir, idx, kpage, shca, mr, in ehca_reg_mr_sections()
1587 if ((hret != H_SUCCESS) && (hret != H_PAGE_REGISTERED)) in ehca_reg_mr_sections()
1588 return hret; in ehca_reg_mr_sections()
1590 return hret; in ehca_reg_mr_sections()
1597 u64 hret = H_SUCCESS; in ehca_reg_mr_dir_sections() local
1604 hret = ehca_reg_mr_sections(top, dir, kpage, shca, mr, pginfo); in ehca_reg_mr_dir_sections()
1605 if ((hret != H_SUCCESS) && (hret != H_PAGE_REGISTERED)) in ehca_reg_mr_dir_sections()
1606 return hret; in ehca_reg_mr_dir_sections()
1608 return hret; in ehca_reg_mr_dir_sections()
[all …]
Dehca_qp.c974 u64 hret, update_mask; in ehca_create_srq() local
1010 hret = hipz_h_modify_qp(shca->ipz_hca_handle, in ehca_create_srq()
1015 if (hret != H_SUCCESS) { in ehca_create_srq()
1018 my_qp, my_qp->real_qp_num, hret); in ehca_create_srq()
1024 hret = hipz_h_modify_qp(shca->ipz_hca_handle, in ehca_create_srq()
1029 if (hret != H_SUCCESS) { in ehca_create_srq()
1032 my_qp, my_qp->real_qp_num, hret); in ehca_create_srq()
1038 hret = hipz_h_modify_qp(shca->ipz_hca_handle, in ehca_create_srq()
1043 if (hret != H_SUCCESS) { in ehca_create_srq()
1046 my_qp, my_qp->real_qp_num, hret); in ehca_create_srq()
[all …]