Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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.c350 u64 hret; in ehea_update_stats() local
358 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_update_stats()
361 if (hret != H_SUCCESS) { in ehea_update_stats()
972 u64 hret; in ehea_sense_port_attr() local
983 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_sense_port_attr()
987 if (hret != H_SUCCESS) { in ehea_sense_port_attr()
1058 u64 hret; in ehea_set_portspeed() local
1072 hret = ehea_h_modify_ehea_port(port->adapter->handle, in ehea_set_portspeed()
1075 if (hret == H_SUCCESS) { in ehea_set_portspeed()
1078 hret = ehea_h_query_ehea_port(port->adapter->handle, in ehea_set_portspeed()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/perf/
Dhv-24x7.c773 long hret; in create_events_from_catalog() local
794 hret = h_get_24x7_catalog_page(page, 0, 0); in create_events_from_catalog()
795 if (hret) { in create_events_from_catalog()
865 hret = h_get_24x7_catalog_page_( in create_events_from_catalog()
869 if (hret) { in create_events_from_catalog()
871 i + event_data_offs, hret); in create_events_from_catalog()
1012 long hret; in catalog_read() local
1025 hret = h_get_24x7_catalog_page(page, 0, 0); in catalog_read()
1026 if (hret) { in catalog_read()
1042 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
342 hret = hv_perf_caps_get(&caps); in hv_gpci_init()
343 if (hret) { in hv_gpci_init()
345 hret); in hv_gpci_init()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
Dvio.c1113 long hret = 0; in vio_h_cop_sync() local
1120 hret = plpar_hcall_norets(H_COP, op->flags, in vio_h_cop_sync()
1125 if (hret == H_SUCCESS || in vio_h_cop_sync()
1126 (hret != H_NOT_ENOUGH_RESOURCES && in vio_h_cop_sync()
1127 hret != H_BUSY && hret != H_RESOURCE) || in vio_h_cop_sync()
1131 dev_dbg(dev, "%s: hcall ret(%ld), retrying.\n", __func__, hret); in vio_h_cop_sync()
1134 switch (hret) { in vio_h_cop_sync()
1160 __func__, ret, hret); in vio_h_cop_sync()
1162 op->hcall_err = hret; in vio_h_cop_sync()