Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/ibm/ehea/
H A Dehea_qmr.c112 u64 hret, rpage; in ehea_create_cq() local
127 hret = ehea_h_alloc_resource_cq(adapter->handle, &cq->attr, in ehea_create_cq()
129 if (hret != H_SUCCESS) { in ehea_create_cq()
147 hret = ehea_h_register_rpage(adapter->handle, in ehea_create_cq()
150 if (hret < H_SUCCESS) { in ehea_create_cq()
152 cq, hret, counter, cq->attr.nr_pages); in ehea_create_cq()
159 if ((hret != H_SUCCESS) || (vpage)) { in ehea_create_cq()
161 hret); in ehea_create_cq()
165 if (hret != H_PAGE_REGISTERED) { in ehea_create_cq()
167 hret); in ehea_create_cq()
[all …]
H A Dehea_phyp.c202 u64 hret; in ehea_h_alloc_resource_qp() local
243 hret = ehea_plpar_hcall9(H_ALLOC_HEA_RESOURCE, in ehea_h_alloc_resource_qp()
290 if (!hret) in ehea_h_alloc_resource_qp()
293 return hret; in ehea_h_alloc_resource_qp()
300 u64 hret; in ehea_h_alloc_resource_cq() local
303 hret = ehea_plpar_hcall9(H_ALLOC_HEA_RESOURCE, in ehea_h_alloc_resource_cq()
316 if (!hret) in ehea_h_alloc_resource_cq()
319 return hret; in ehea_h_alloc_resource_cq()
362 u64 hret, allocate_controls; in ehea_h_alloc_resource_eq() local
372 hret = ehea_plpar_hcall9(H_ALLOC_HEA_RESOURCE, in ehea_h_alloc_resource_eq()
[all …]
H A Dehea_main.c354 u64 hret; in ehea_update_stats() local
362 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_update_stats()
365 if (hret != H_SUCCESS) { in ehea_update_stats()
976 u64 hret; in ehea_sense_port_attr() local
987 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_sense_port_attr()
991 if (hret != H_SUCCESS) { in ehea_sense_port_attr()
1062 u64 hret; in ehea_set_portspeed() local
1076 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_set_portspeed()
1079 if (hret == H_SUCCESS) { in ehea_set_portspeed()
1082 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_set_portspeed()
[all …]
/linux/arch/mips/kvm/
H A Dhypcall.c33 const unsigned long *args, unsigned long *hret) in kvm_mips_hypercall() argument
36 *hret = -KVM_ENOSYS; in kvm_mips_hypercall()
/linux/arch/powerpc/perf/
H A Dhv-gpci.c84 unsigned long hret = hv_perf_caps_get(&caps); \
85 if (hret) \
988 unsigned long hret; in hv_gpci_init() local
999 hret = hv_perf_caps_get(&caps); in hv_gpci_init()
1000 if (hret) { in hv_gpci_init()
1002 hret); in hv_gpci_init()
/linux/arch/powerpc/platforms/pseries/
H A Dvio.c1100 long hret = 0; in vio_h_cop_sync() local
1107 hret = plpar_hcall_norets(H_COP, op->flags, in vio_h_cop_sync()
1112 if (hret == H_SUCCESS || in vio_h_cop_sync()
1113 (hret != H_NOT_ENOUGH_RESOURCES && in vio_h_cop_sync()
1114 hret != H_BUSY && hret != H_RESOURCE) || in vio_h_cop_sync()
1118 dev_dbg(dev, "%s: hcall ret(%ld), retrying.\n", __func__, hret); in vio_h_cop_sync()
1121 switch (hret) { in vio_h_cop_sync()
1147 __func__, ret, hret); in vio_h_cop_sync()
1149 op->hcall_err = hret; in vio_h_cop_sync()