Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/ibm/ehea/
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 …]
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 …]
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()
975 u64 hret; in ehea_sense_port_attr() local
986 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_sense_port_attr()
990 if (hret != H_SUCCESS) { in ehea_sense_port_attr()
1061 u64 hret; in ehea_set_portspeed() local
1075 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_set_portspeed()
1078 if (hret == H_SUCCESS) { in ehea_set_portspeed()
1081 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_set_portspeed()
[all …]
/linux-5.19.10/arch/powerpc/perf/
Dhv-24x7.c781 long hret; in create_events_from_catalog() local
802 hret = h_get_24x7_catalog_page(page, 0, 0); in create_events_from_catalog()
803 if (hret) { in create_events_from_catalog()
873 hret = h_get_24x7_catalog_page_( in create_events_from_catalog()
877 if (hret) { in create_events_from_catalog()
879 i + event_data_offs, hret); in create_events_from_catalog()
1027 long hret; in catalog_read() local
1040 hret = h_get_24x7_catalog_page(page, 0, 0); in catalog_read()
1041 if (hret) { in catalog_read()
1057 hret = h_get_24x7_catalog_page(page, catalog_version_num, in catalog_read()
[all …]
Dhv-gpci.c84 unsigned long hret = hv_perf_caps_get(&caps); \
85 if (hret) \
331 unsigned long hret; in hv_gpci_init() local
341 hret = hv_perf_caps_get(&caps); in hv_gpci_init()
342 if (hret) { in hv_gpci_init()
344 hret); in hv_gpci_init()
/linux-5.19.10/arch/mips/kvm/
Dhypcall.c33 const unsigned long *args, unsigned long *hret) in kvm_mips_hypercall() argument
36 *hret = -KVM_ENOSYS; in kvm_mips_hypercall()
/linux-5.19.10/drivers/i2c/busses/
Di2c-img-scb.c919 unsigned int hret; in img_i2c_isr() local
956 hret = ISR_FATAL(EIO); in img_i2c_isr()
961 hret = img_i2c_atomic(i2c, int_status, line_status); in img_i2c_isr()
963 hret = img_i2c_auto(i2c, int_status, line_status); in img_i2c_isr()
965 hret = img_i2c_sequence(i2c, int_status); in img_i2c_isr()
968 hret = ISR_COMPLETE(0); in img_i2c_isr()
970 hret = img_i2c_raw(i2c, int_status, line_status); in img_i2c_isr()
972 hret = 0; in img_i2c_isr()
978 if (hret & ISR_WAITSTOP) { in img_i2c_isr()
984 hret = ISR_COMPLETE(0); in img_i2c_isr()
[all …]
/linux-5.19.10/arch/powerpc/platforms/pseries/
Dvio.c1116 long hret = 0; in vio_h_cop_sync() local
1123 hret = plpar_hcall_norets(H_COP, op->flags, in vio_h_cop_sync()
1128 if (hret == H_SUCCESS || in vio_h_cop_sync()
1129 (hret != H_NOT_ENOUGH_RESOURCES && in vio_h_cop_sync()
1130 hret != H_BUSY && hret != H_RESOURCE) || in vio_h_cop_sync()
1134 dev_dbg(dev, "%s: hcall ret(%ld), retrying.\n", __func__, hret); in vio_h_cop_sync()
1137 switch (hret) { in vio_h_cop_sync()
1163 __func__, ret, hret); in vio_h_cop_sync()
1165 op->hcall_err = hret; in vio_h_cop_sync()