Home
last modified time | relevance | path

Searched refs:ret_code (Results 1 – 25 of 53) sorted by relevance

123

/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_adminq.c37 enum iavf_status ret_code; in iavf_alloc_adminq_asq_ring() local
39 ret_code = iavf_allocate_dma_mem(hw, &hw->aq.asq.desc_buf, in iavf_alloc_adminq_asq_ring()
44 if (ret_code) in iavf_alloc_adminq_asq_ring()
45 return ret_code; in iavf_alloc_adminq_asq_ring()
47 ret_code = iavf_allocate_virt_mem(hw, &hw->aq.asq.cmd_buf, in iavf_alloc_adminq_asq_ring()
50 if (ret_code) { in iavf_alloc_adminq_asq_ring()
52 return ret_code; in iavf_alloc_adminq_asq_ring()
55 return ret_code; in iavf_alloc_adminq_asq_ring()
64 enum iavf_status ret_code; in iavf_alloc_adminq_arq_ring() local
66 ret_code = iavf_allocate_dma_mem(hw, &hw->aq.arq.desc_buf, in iavf_alloc_adminq_arq_ring()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_lan_hmc.c79 int ret_code = 0; in i40e_init_lan_hmc() local
87 ret_code = i40e_allocate_virt_mem(hw, &hw->hmc.hmc_obj_virt_mem, in i40e_init_lan_hmc()
89 if (ret_code) in i40e_init_lan_hmc()
111 ret_code = -EINVAL; in i40e_init_lan_hmc()
113 txq_num, obj->max_cnt, ret_code); in i40e_init_lan_hmc()
134 ret_code = -EINVAL; in i40e_init_lan_hmc()
136 rxq_num, obj->max_cnt, ret_code); in i40e_init_lan_hmc()
157 ret_code = -EINVAL; in i40e_init_lan_hmc()
159 fcoe_cntx_num, obj->max_cnt, ret_code); in i40e_init_lan_hmc()
180 ret_code = -EINVAL; in i40e_init_lan_hmc()
[all …]
H A Di40e_hmc.c26 int ret_code = 0; in i40e_add_sd_table_entry() local
30 ret_code = -EINVAL; in i40e_add_sd_table_entry()
36 ret_code = -EINVAL; in i40e_add_sd_table_entry()
49 ret_code = i40e_allocate_dma_mem(hw, &mem, alloc_len, in i40e_add_sd_table_entry()
51 if (ret_code) in i40e_add_sd_table_entry()
55 ret_code = i40e_allocate_virt_mem(hw, in i40e_add_sd_table_entry()
58 if (ret_code) in i40e_add_sd_table_entry()
78 if (ret_code) in i40e_add_sd_table_entry()
82 return ret_code; in i40e_add_sd_table_entry()
112 int ret_code = 0; in i40e_add_pd_table_entry() local
[all …]
H A Di40e_nvm.c22 int ret_code = 0; in i40e_init_nvm() local
43 ret_code = -EIO; in i40e_init_nvm()
47 return ret_code; in i40e_init_nvm()
63 int ret_code = 0; in i40e_acquire_nvm() local
68 ret_code = i40e_aq_request_resource(hw, I40E_NVM_RESOURCE_ID, access, in i40e_acquire_nvm()
76 if (ret_code) in i40e_acquire_nvm()
79 access, time_left, ret_code, hw->aq.asq_last_status); in i40e_acquire_nvm()
81 if (ret_code && time_left) { in i40e_acquire_nvm()
87 ret_code = i40e_aq_request_resource(hw, in i40e_acquire_nvm()
91 if (!ret_code) { in i40e_acquire_nvm()
[all …]
H A Di40e_adminq.c51 int ret_code; in i40e_alloc_adminq_asq_ring() local
53 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.asq.desc_buf, in i40e_alloc_adminq_asq_ring()
57 if (ret_code) in i40e_alloc_adminq_asq_ring()
58 return ret_code; in i40e_alloc_adminq_asq_ring()
60 ret_code = i40e_allocate_virt_mem(hw, &hw->aq.asq.cmd_buf, in i40e_alloc_adminq_asq_ring()
63 if (ret_code) { in i40e_alloc_adminq_asq_ring()
65 return ret_code; in i40e_alloc_adminq_asq_ring()
68 return ret_code; in i40e_alloc_adminq_asq_ring()
77 int ret_code; in i40e_alloc_adminq_arq_ring() local
79 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.arq.desc_buf, in i40e_alloc_adminq_arq_ring()
[all …]
H A Di40e_diag.c79 int ret_code = 0; in i40e_diag_reg_test() local
85 !ret_code; i++) { in i40e_diag_reg_test()
102 for (j = 0; j < elements && !ret_code; j++) { in i40e_diag_reg_test()
105 ret_code = i40e_diag_reg_pattern_test(hw, reg, mask); in i40e_diag_reg_test()
109 return ret_code; in i40e_diag_reg_test()
120 int ret_code; in i40e_diag_eeprom_test() local
124 ret_code = i40e_read_nvm_word(hw, I40E_SR_NVM_CONTROL_WORD, &reg_val); in i40e_diag_eeprom_test()
125 if (!ret_code && in i40e_diag_eeprom_test()
/openbmc/openbmc-test-automation/tools/
H A Dgenerate_test_document51 local ret_code=0
52 python3 -m robot.testdoc tests testsdirectoryTCdocs.html || ret_code=1
53 python3 -m robot.testdoc extended extendeddirectoryTCdocs.html || ret_code=1
54 python3 -m robot.testdoc gui guidirectoryTCdocs.html || ret_code=1
55 python3 -m robot.testdoc systest systestdirectoryTCdocs.html || ret_code=1
56 python3 -m robot.testdoc xcat xcatdirectoryTCdocs.html || ret_code=1
57 python3 -m robot.testdoc mnfg mnfgdirectoryTCdocs.html || ret_code=1
58 python3 -m robot.testdoc tools toolsdirectoryTCdocs.html || ret_code=1
59 python3 -m robot.testdoc ./openpower/ras rasdirectoryTCdocs.html || ret_code=1
61 || ret_code
[all...]
/openbmc/linux/drivers/s390/cio/
H A Dvfio_ccw_fsm.c189 private->io_region->ret_code = -EIO; in fsm_io_error()
195 private->io_region->ret_code = -EBUSY; in fsm_io_busy()
201 private->io_region->ret_code = -EAGAIN; in fsm_io_retry()
213 cmd_region->ret_code = -EIO; in fsm_async_error()
219 private->cmd_region->ret_code = -EAGAIN; in fsm_async_retry()
260 io_region->ret_code = -EOPNOTSUPP; in fsm_io_request()
268 io_region->ret_code = cp_init(&private->cp, orb); in fsm_io_request()
269 if (io_region->ret_code) { in fsm_io_request()
274 io_region->ret_code); in fsm_io_request()
279 io_region->ret_code = cp_prefetch(&private->cp); in fsm_io_request()
[all …]
H A Dvfio_ccw_async.c59 ret = region->ret_code ? region->ret_code : count; in vfio_ccw_async_region_write()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Dpble.c88 int ret_code = 0; in add_sd_direct() local
96 ret_code = irdma_add_sd_table_entry(dev->hw, hmc_info, in add_sd_direct()
100 if (ret_code) in add_sd_direct()
101 return ret_code; in add_sd_direct()
213 int ret_code = 0; in add_pble_prm() local
255 ret_code = add_sd_direct(pble_rsrc, &info); in add_pble_prm()
257 if (ret_code) in add_pble_prm()
263 ret_code = add_bp_pages(pble_rsrc, &info); in add_pble_prm()
264 if (ret_code) in add_pble_prm()
270 ret_code = irdma_prm_add_pble_mem(&pble_rsrc->pinfo, chunk); in add_pble_prm()
[all …]
H A Dhmc.c153 int ret_code = 0; in irdma_hmc_sd_grp() local
173 ret_code = dev->cqp->process_cqp_sds(dev, &sdinfo); in irdma_hmc_sd_grp()
174 if (ret_code) { in irdma_hmc_sd_grp()
177 ret_code); in irdma_hmc_sd_grp()
178 return ret_code; in irdma_hmc_sd_grp()
185 ret_code = dev->cqp->process_cqp_sds(dev, &sdinfo); in irdma_hmc_sd_grp()
187 return ret_code; in irdma_hmc_sd_grp()
229 int ret_code = 0; in irdma_sc_create_hmc_obj() local
256 ret_code = irdma_add_sd_table_entry(dev->hw, info->hmc_info, j, in irdma_sc_create_hmc_obj()
259 if (ret_code) in irdma_sc_create_hmc_obj()
[all …]
H A Dctrl.c377 int ret_code; in irdma_sc_qp_init() local
399 ret_code = irdma_uk_qp_init(&qp->qp_uk, &info->qp_uk_init_info); in irdma_sc_qp_init()
400 if (ret_code) in irdma_sc_qp_init()
401 return ret_code; in irdma_sc_qp_init()
419 ret_code = irdma_fragcnt_to_wqesize_rq(qp->qp_uk.max_rq_frag_cnt, in irdma_sc_qp_init()
421 if (ret_code) in irdma_sc_qp_init()
422 return ret_code; in irdma_sc_qp_init()
2523 int ret_code = 0; in irdma_sc_cq_create() local
2534 ret_code = irdma_sc_add_cq_ctx(ceq, cq); in irdma_sc_cq_create()
2536 if (ret_code) in irdma_sc_cq_create()
[all …]
H A Duk.c209 int ret_code; in irdma_qp_get_next_recv_wqe() local
214 IRDMA_ATOMIC_RING_MOVE_HEAD(qp->rq_ring, *wqe_idx, ret_code); in irdma_qp_get_next_recv_wqe()
215 if (ret_code) in irdma_qp_get_next_recv_wqe()
240 int ret_code; in irdma_uk_rdma_write() local
259 ret_code = irdma_fragcnt_to_quanta_sq(frag_cnt, &quanta); in irdma_uk_rdma_write()
260 if (ret_code) in irdma_uk_rdma_write()
261 return ret_code; in irdma_uk_rdma_write()
331 int ret_code; in irdma_uk_rdma_read() local
347 ret_code = irdma_fragcnt_to_quanta_sq(op_info->num_lo_sges, &quanta); in irdma_uk_rdma_read()
348 if (ret_code) in irdma_uk_rdma_read()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_controlq.c363 int ret_code; in ice_init_sq() local
367 ret_code = -EBUSY; in ice_init_sq()
373 ret_code = -EIO; in ice_init_sq()
381 ret_code = ice_alloc_ctrlq_sq_ring(hw, cq); in ice_init_sq()
382 if (ret_code) in ice_init_sq()
386 ret_code = ice_alloc_sq_bufs(hw, cq); in ice_init_sq()
387 if (ret_code) in ice_init_sq()
391 ret_code = ice_cfg_sq_regs(hw, cq); in ice_init_sq()
392 if (ret_code) in ice_init_sq()
404 return ret_code; in ice_init_sq()
[all …]
/openbmc/u-boot/tools/binman/
H A Dbinman125 ret_code = 0
134 ret_code = RunTests(options.debug, options.processes, args[1:])
144 ret_code = control.Binman(options, args)
150 ret_code = 1
151 return ret_code
156 ret_code = RunBinman(options, args) variable
157 sys.exit(ret_code)
H A Dbinman.py125 ret_code = 0
134 ret_code = RunTests(options.debug, options.processes, args[1:])
144 ret_code = control.Binman(options, args)
150 ret_code = 1
151 return ret_code
156 ret_code = RunBinman(options, args) variable
157 sys.exit(ret_code)
/openbmc/openbmc-test-automation/templates/
H A Dpgm_template.tcl25 proc exit_proc { {ret_code 0} } {
30 dprint_var ret_code
36 exit $ret_code
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_heartbeat_dbgfs.c49 int ret_code; in adf_hb_status_read() local
56 ret_code = HB_OK; in adf_hb_status_read()
61 ret_code = HB_ERROR; in adf_hb_status_read()
63 len = scnprintf(ret_str, sizeof(ret_str), "%d\n", ret_code); in adf_hb_status_read()
/openbmc/linux/include/uapi/linux/
H A Dvfio_ccw.h23 __u32 ret_code; member
34 __u32 ret_code; member
/openbmc/qemu/linux-headers/linux/
H A Dvfio_ccw.h23 __u32 ret_code; member
34 __u32 ret_code; member
/openbmc/openbmc-test-automation/bin/
H A Dprocess_plug_in_packages.py275 ret_code = 0
281 ret_code = 1
291 if ret_code != 0:
/openbmc/u-boot/tools/buildman/
H A Dbuildman65 ret_code = control.DoBuildman(options, args) variable
66 sys.exit(ret_code)
H A Dbuildman.py65 ret_code = control.DoBuildman(options, args) variable
66 sys.exit(ret_code)
/openbmc/linux/drivers/usb/typec/ucsi/
H A Ducsi_glink.c35 u32 ret_code; member
46 u32 ret_code; member
229 if (resp->ret_code) in pmic_glink_ucsi_read_ack()
240 if (resp->ret_code) in pmic_glink_ucsi_write_ack()
243 ucsi->sync_val = resp->ret_code; in pmic_glink_ucsi_write_ack()
/openbmc/u-boot/drivers/mtd/
H A Dmtdcore.c951 int ret_code; in mtd_read() local
964 ret_code = mtd->_read(mtd, from, len, retlen, buf); in mtd_read()
971 ret_code = mtd->_read_oob(mtd, from, &ops); in mtd_read()
977 if (unlikely(ret_code < 0)) in mtd_read()
978 return ret_code; in mtd_read()
981 return ret_code >= mtd->bitflip_threshold ? -EUCLEAN : 0; in mtd_read()
1071 int ret_code; in mtd_read_oob() local
1074 ret_code = mtd_check_oob_ops(mtd, from, ops); in mtd_read_oob()
1075 if (ret_code) in mtd_read_oob()
1076 return ret_code; in mtd_read_oob()
[all …]

123