Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/net/ethernet/intel/iavf/
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 …]
/Linux-v6.6/drivers/net/ethernet/intel/i40e/
Di40e_hmc.c29 int ret_code = 0; in i40e_add_sd_table_entry() local
33 ret_code = -EINVAL; in i40e_add_sd_table_entry()
39 ret_code = -EINVAL; in i40e_add_sd_table_entry()
55 ret_code = i40e_allocate_dma_mem(hw, &mem, mem_type, alloc_len, in i40e_add_sd_table_entry()
57 if (ret_code) in i40e_add_sd_table_entry()
61 ret_code = i40e_allocate_virt_mem(hw, in i40e_add_sd_table_entry()
64 if (ret_code) in i40e_add_sd_table_entry()
84 if (ret_code) in i40e_add_sd_table_entry()
88 return ret_code; in i40e_add_sd_table_entry()
118 int ret_code = 0; in i40e_add_pd_table_entry() local
[all …]
Di40e_lan_hmc.c82 int ret_code = 0; in i40e_init_lan_hmc() local
90 ret_code = i40e_allocate_virt_mem(hw, &hw->hmc.hmc_obj_virt_mem, in i40e_init_lan_hmc()
92 if (ret_code) in i40e_init_lan_hmc()
114 ret_code = -EINVAL; in i40e_init_lan_hmc()
116 txq_num, obj->max_cnt, ret_code); in i40e_init_lan_hmc()
137 ret_code = -EINVAL; in i40e_init_lan_hmc()
139 rxq_num, obj->max_cnt, ret_code); in i40e_init_lan_hmc()
160 ret_code = -EINVAL; in i40e_init_lan_hmc()
162 fcoe_cntx_num, obj->max_cnt, ret_code); in i40e_init_lan_hmc()
183 ret_code = -EINVAL; in i40e_init_lan_hmc()
[all …]
Di40e_nvm.c19 int ret_code = 0; in i40e_init_nvm() local
40 ret_code = -EIO; in i40e_init_nvm()
44 return ret_code; in i40e_init_nvm()
60 int ret_code = 0; in i40e_acquire_nvm() local
65 ret_code = i40e_aq_request_resource(hw, I40E_NVM_RESOURCE_ID, access, in i40e_acquire_nvm()
73 if (ret_code) in i40e_acquire_nvm()
76 access, time_left, ret_code, hw->aq.asq_last_status); in i40e_acquire_nvm()
78 if (ret_code && time_left) { in i40e_acquire_nvm()
84 ret_code = i40e_aq_request_resource(hw, in i40e_acquire_nvm()
88 if (!ret_code) { in i40e_acquire_nvm()
[all …]
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()
58 if (ret_code) in i40e_alloc_adminq_asq_ring()
59 return ret_code; in i40e_alloc_adminq_asq_ring()
61 ret_code = i40e_allocate_virt_mem(hw, &hw->aq.asq.cmd_buf, in i40e_alloc_adminq_asq_ring()
64 if (ret_code) { in i40e_alloc_adminq_asq_ring()
66 return ret_code; in i40e_alloc_adminq_asq_ring()
69 return ret_code; in i40e_alloc_adminq_asq_ring()
78 int ret_code; in i40e_alloc_adminq_arq_ring() local
80 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.arq.desc_buf, in i40e_alloc_adminq_arq_ring()
[all …]
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()
/Linux-v6.6/drivers/s390/cio/
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 …]
Dvfio_ccw_async.c59 ret = region->ret_code ? region->ret_code : count; in vfio_ccw_async_region_write()
Dvfio_ccw_ops.c275 ret = (region->ret_code != 0) ? region->ret_code : count; in vfio_ccw_mdev_write_io_region()
/Linux-v6.6/drivers/infiniband/hw/irdma/
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 …]
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 …]
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 …]
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 …]
/Linux-v6.6/drivers/net/ethernet/intel/ice/
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 …]
/Linux-v6.6/include/uapi/linux/
Dvfio_ccw.h23 __u32 ret_code; member
34 __u32 ret_code; member
/Linux-v6.6/drivers/crypto/intel/qat/qat_common/
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()
/Linux-v6.6/drivers/usb/typec/ucsi/
Ducsi_glink.c31 u32 ret_code; member
42 u32 ret_code; member
191 if (resp->ret_code) in pmic_glink_ucsi_read_ack()
202 if (resp->ret_code) in pmic_glink_ucsi_write_ack()
205 ucsi->sync_val = resp->ret_code; in pmic_glink_ucsi_write_ack()
/Linux-v6.6/sound/soc/intel/atom/sst/
Dsst_pvt.c89 if (block->ret_code < 0) { in sst_wait_interruptible()
91 "stream failed %d\n", block->ret_code); in sst_wait_interruptible()
133 block->ret_code); in sst_wait_timeout()
134 retval = -block->ret_code; in sst_wait_timeout()
/Linux-v6.6/include/linux/
Ddrbd_genl_api.h28 __s32 ret_code; member
/Linux-v6.6/drivers/mtd/
Dmtdcore.c1689 int ret_code; in mtd_read_oob() local
1693 ret_code = mtd_check_oob_ops(mtd, from, ops); in mtd_read_oob()
1694 if (ret_code) in mtd_read_oob()
1695 return ret_code; in mtd_read_oob()
1707 ret_code = mtd_io_emulated_slc(mtd, from, true, ops); in mtd_read_oob()
1709 ret_code = mtd_read_oob_std(mtd, from, ops); in mtd_read_oob()
1719 if (unlikely(ret_code < 0)) in mtd_read_oob()
1720 return ret_code; in mtd_read_oob()
1724 ops->stats->max_bitflips = ret_code; in mtd_read_oob()
1725 return ret_code >= mtd->bitflip_threshold ? -EUCLEAN : 0; in mtd_read_oob()
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Dvcn_v1_0.c1214 int ret_code; in vcn_v1_0_pause_dpg_mode() local
1230 ret_code = 0; in vcn_v1_0_pause_dpg_mode()
1233 ret_code = SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_POWER_STATUS, in vcn_v1_0_pause_dpg_mode()
1237 if (!ret_code) { in vcn_v1_0_pause_dpg_mode()
1286 ret_code = 0; in vcn_v1_0_pause_dpg_mode()
1289 ret_code = SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_POWER_STATUS, in vcn_v1_0_pause_dpg_mode()
1293 if (!ret_code) { in vcn_v1_0_pause_dpg_mode()
/Linux-v6.6/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c1414 int ret_code; in bnx2i_conn_bind() local
1424 ret_code = -EIO; in bnx2i_conn_bind()
1432 ret_code = -EINVAL; in bnx2i_conn_bind()
1437 ret_code = -EINVAL; in bnx2i_conn_bind()
1450 ret_code = -EEXIST; in bnx2i_conn_bind()
1458 ret_code = bnx2i_bind_conn_to_iscsi_cid(hba, bnx2i_conn, in bnx2i_conn_bind()
1470 return ret_code; in bnx2i_conn_bind()
/Linux-v6.6/arch/s390/include/uapi/asm/
Dzcrypt.h170 __u32 ret_code; member
/Linux-v6.6/drivers/net/ethernet/ti/
Ddavinci_emac.c955 int ret_code; in emac_dev_xmit() local
965 ret_code = skb_put_padto(skb, EMAC_DEF_MIN_ETHPKTSIZE); in emac_dev_xmit()
966 if (unlikely(ret_code < 0)) { in emac_dev_xmit()
974 ret_code = cpdma_chan_submit(priv->txchan, skb, skb->data, skb->len, in emac_dev_xmit()
976 if (unlikely(ret_code != 0)) { in emac_dev_xmit()
/Linux-v6.6/drivers/block/drbd/
Ddrbd_nl.c188 adm_ctx->reply_dh->ret_code = NO_ERROR; in drbd_adm_prepare()
322 adm_ctx->reply_dh->ret_code = retcode; in drbd_adm_finish()
3277 dh->ret_code = NO_ERROR; in drbd_adm_dump_resources()
3399 dh->ret_code = retcode; in drbd_adm_dump_devices()
3525 dh->ret_code = retcode; in drbd_adm_dump_connections()
3667 dh->ret_code = retcode; in drbd_adm_dump_peer_devices()
3935 dh->ret_code = NO_ERROR; in get_one_status()
3953 dh->ret_code = NO_ERROR; in get_one_status()
4534 d_out->ret_code = NO_ERROR; in drbd_bcast_event()
4589 dh->ret_code = NO_ERROR; in notify_resource_state()
[all …]

12