Home
last modified time | relevance | path

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

/drivers/net/ethernet/ibm/ehea/
Dehea_qmr.c127 u64 *cq_handle_ref, hret, rpage; in ehea_create_cq() local
146 hret = ehea_h_alloc_resource_cq(adapter->handle, &cq->attr, in ehea_create_cq()
148 if (hret != H_SUCCESS) { in ehea_create_cq()
166 hret = ehea_h_register_rpage(adapter->handle, in ehea_create_cq()
169 if (hret < H_SUCCESS) { in ehea_create_cq()
171 cq, hret, counter, cq->attr.nr_pages); in ehea_create_cq()
178 if ((hret != H_SUCCESS) || (vpage)) { in ehea_create_cq()
180 hret); in ehea_create_cq()
184 if (hret != H_PAGE_REGISTERED) { in ehea_create_cq()
186 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.c365 u64 hret; in ehea_update_stats() local
373 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_update_stats()
376 if (hret != H_SUCCESS) { in ehea_update_stats()
999 u64 hret; in ehea_sense_port_attr() local
1010 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_sense_port_attr()
1014 if (hret != H_SUCCESS) { in ehea_sense_port_attr()
1085 u64 hret; in ehea_set_portspeed() local
1099 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_set_portspeed()
1102 if (hret == H_SUCCESS) { in ehea_set_portspeed()
1105 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_set_portspeed()
[all …]
/drivers/i2c/busses/
Di2c-img-scb.c898 unsigned int hret; in img_i2c_isr() local
935 hret = ISR_FATAL(EIO); in img_i2c_isr()
940 hret = img_i2c_atomic(i2c, int_status, line_status); in img_i2c_isr()
942 hret = img_i2c_auto(i2c, int_status, line_status); in img_i2c_isr()
944 hret = img_i2c_sequence(i2c, int_status); in img_i2c_isr()
947 hret = ISR_COMPLETE(0); in img_i2c_isr()
949 hret = img_i2c_raw(i2c, int_status, line_status); in img_i2c_isr()
951 hret = 0; in img_i2c_isr()
957 if (hret & ISR_WAITSTOP) { in img_i2c_isr()
963 hret = ISR_COMPLETE(0); in img_i2c_isr()
[all …]
/drivers/staging/rdma/ehca/
Dehca_hca.c368 u64 hret; in ehca_modify_port() local
389 hret = hipz_h_query_port(shca->ipz_hca_handle, port, rblock); in ehca_modify_port()
390 if (hret != H_SUCCESS) { in ehca_modify_port()
399 hret = hipz_h_modify_port(shca->ipz_hca_handle, port, in ehca_modify_port()
401 if (hret != H_SUCCESS) { in ehca_modify_port()
403 hret); in ehca_modify_port()
Dehca_mrmw.c1575 u64 hret = H_SUCCESS; in ehca_reg_mr_sections() local
1582 hret = ehca_reg_mr_section(top, dir, idx, kpage, shca, mr, in ehca_reg_mr_sections()
1584 if ((hret != H_SUCCESS) && (hret != H_PAGE_REGISTERED)) in ehca_reg_mr_sections()
1585 return hret; in ehca_reg_mr_sections()
1587 return hret; in ehca_reg_mr_sections()
1594 u64 hret = H_SUCCESS; in ehca_reg_mr_dir_sections() local
1601 hret = ehca_reg_mr_sections(top, dir, kpage, shca, mr, pginfo); in ehca_reg_mr_dir_sections()
1602 if ((hret != H_SUCCESS) && (hret != H_PAGE_REGISTERED)) in ehca_reg_mr_dir_sections()
1603 return hret; in ehca_reg_mr_dir_sections()
1605 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 …]