| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_adminq.c | 16 enum iavf_status ret_code; in iavf_alloc_adminq_asq_ring() local 18 ret_code = iavf_allocate_dma_mem(hw, &hw->aq.asq.desc_buf, in iavf_alloc_adminq_asq_ring() 23 if (ret_code) in iavf_alloc_adminq_asq_ring() 24 return ret_code; in iavf_alloc_adminq_asq_ring() 26 ret_code = iavf_allocate_virt_mem(hw, &hw->aq.asq.cmd_buf, in iavf_alloc_adminq_asq_ring() 29 if (ret_code) { in iavf_alloc_adminq_asq_ring() 31 return ret_code; in iavf_alloc_adminq_asq_ring() 34 return ret_code; in iavf_alloc_adminq_asq_ring() 43 enum iavf_status ret_code; in iavf_alloc_adminq_arq_ring() local 45 ret_code = iavf_allocate_dma_mem(hw, &hw->aq.arq.desc_buf, in iavf_alloc_adminq_arq_ring() [all …]
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_nvm.c | 22 int ret_code = 0; in i40e_init_nvm() local 42 ret_code = -EIO; in i40e_init_nvm() 46 return ret_code; in i40e_init_nvm() 62 int ret_code = 0; in i40e_acquire_nvm() local 67 ret_code = i40e_aq_request_resource(hw, I40E_NVM_RESOURCE_ID, access, in i40e_acquire_nvm() 75 if (ret_code) in i40e_acquire_nvm() 78 access, time_left, ret_code, hw->aq.asq_last_status); in i40e_acquire_nvm() 80 if (ret_code && time_left) { in i40e_acquire_nvm() 86 ret_code = i40e_aq_request_resource(hw, in i40e_acquire_nvm() 90 if (!ret_code) { in i40e_acquire_nvm() [all …]
|
| H A D | i40e_lan_hmc.c | 79 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 D | i40e_adminq.c | 17 int ret_code; in i40e_alloc_adminq_asq_ring() local 19 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.asq.desc_buf, in i40e_alloc_adminq_asq_ring() 23 if (ret_code) in i40e_alloc_adminq_asq_ring() 24 return ret_code; in i40e_alloc_adminq_asq_ring() 26 ret_code = i40e_allocate_virt_mem(hw, &hw->aq.asq.cmd_buf, in i40e_alloc_adminq_asq_ring() 29 if (ret_code) { in i40e_alloc_adminq_asq_ring() 31 return ret_code; in i40e_alloc_adminq_asq_ring() 34 return ret_code; in i40e_alloc_adminq_asq_ring() 43 int ret_code; in i40e_alloc_adminq_arq_ring() local 45 ret_code = i40e_allocate_dma_mem(hw, &hw->aq.arq.desc_buf, in i40e_alloc_adminq_arq_ring() [all …]
|
| H A D | i40e_hmc.c | 26 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 D | i40e_diag.c | 79 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, ®_val); in i40e_diag_eeprom_test() 125 if (!ret_code && in i40e_diag_eeprom_test()
|
| /linux/drivers/s390/cio/ |
| H A D | vfio_ccw_fsm.c | 189 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 D | vfio_ccw_async.c | 75 ret = region->ret_code ? region->ret_code : count; in vfio_ccw_async_region_write()
|
| H A D | vfio_ccw_ops.c | 307 ret = (region->ret_code != 0) ? region->ret_code : count; in vfio_ccw_mdev_write_io_region()
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | pble.c | 88 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() 220 int ret_code = 0; in add_pble_prm() local 262 ret_code = add_sd_direct(pble_rsrc, &info); in add_pble_prm() 264 if (ret_code) in add_pble_prm() 270 ret_code = add_bp_pages(pble_rsrc, &info); in add_pble_prm() 271 if (ret_code) in add_pble_prm() 277 ret_code = irdma_prm_add_pble_mem(&pble_rsrc->pinfo, chunk); in add_pble_prm() [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_controlq.c | 350 int ret_code; in ice_init_sq() local 354 ret_code = -EBUSY; in ice_init_sq() 360 ret_code = -EIO; in ice_init_sq() 368 ret_code = ice_alloc_ctrlq_sq_ring(hw, cq); in ice_init_sq() 369 if (ret_code) in ice_init_sq() 373 ret_code = ice_alloc_sq_bufs(hw, cq); in ice_init_sq() 374 if (ret_code) in ice_init_sq() 378 ret_code = ice_cfg_sq_regs(hw, cq); in ice_init_sq() 379 if (ret_code) in ice_init_sq() 391 return ret_code; in ice_init_sq() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | vfio_ccw.h | 23 __u32 ret_code; member 34 __u32 ret_code; member
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | adf_heartbeat_dbgfs.c | 50 int ret_code; in adf_hb_status_read() local 57 ret_code = HB_OK; in adf_hb_status_read() 62 ret_code = HB_ERROR; in adf_hb_status_read() 64 len = scnprintf(ret_str, sizeof(ret_str), "%d\n", ret_code); in adf_hb_status_read()
|
| /linux/drivers/mtd/ |
| H A D | mtdcore.c | 1791 int ret_code; in mtd_read_oob() 1795 ret_code = mtd_check_oob_ops(mtd, from, ops); in mtd_read_oob() 1796 if (ret_code) in mtd_read_oob() 1797 return ret_code; in mtd_read_oob() 1809 ret_code = mtd_io_emulated_slc(mtd, from, true, ops); in mtd_read_oob() 1811 ret_code = mtd_read_oob_std(mtd, from, ops); in mtd_read_oob() 1821 if (unlikely(ret_code < 0)) in mtd_read_oob() 1822 return ret_code; in mtd_read_oob() 1826 ops->stats->max_bitflips = ret_code; in mtd_read_oob() 1827 return ret_code > in mtd_read_oob() 1790 int ret_code; mtd_read_oob() local [all...] |
| /linux/sound/soc/intel/atom/sst/ |
| H A D | sst_pvt.c | 100 block->ret_code); in sst_wait_timeout() 101 retval = -block->ret_code; in sst_wait_timeout()
|
| H A D | sst.h | 164 int ret_code; member
|
| H A D | sst_ipc.c | 77 block->ret_code = result; in sst_wake_up_block()
|
| /linux/drivers/scsi/bnx2i/ |
| H A D | bnx2i_iscsi.c | 1414 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/arch/s390/include/uapi/asm/ |
| H A D | zcrypt.h | 170 __u32 ret_code; member
|
| /linux/Documentation/arch/s390/ |
| H A D | vfio-ccw.rst | 204 __u32 ret_code; 215 ret_code stores a return code for each access of the region. The following 256 __u32 ret_code; 263 command specifies the command to be issued; ret_code stores a return code
|
| /linux/drivers/s390/crypto/ |
| H A D | zcrypt_ep11misc.c | 381 cprb->ret_code = 0xFFFFFFFF; in alloc_cprbmem() 542 if (rep->ret_code) { in check_reply_cprb() 544 rep->ret_code); in check_reply_cprb() 545 if (rep->ret_code == 0x000c0003) in check_reply_cprb()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | vcn_v5_0_0.c | 1121 int ret_code; in vcn_v5_0_0_pause_dpg_mode() local 1131 ret_code = SOC15_WAIT_ON_RREG(VCN, inst_idx, regUVD_POWER_STATUS, 0x1, in vcn_v5_0_0_pause_dpg_mode() 1134 if (!ret_code) { in vcn_v5_0_0_pause_dpg_mode()
|
| H A D | vcn_v2_0.c | 1297 int ret_code; in vcn_v2_0_pause_dpg_mode() local 1307 ret_code = SOC15_WAIT_ON_RREG(UVD, 0, mmUVD_POWER_STATUS, 0x1, in vcn_v2_0_pause_dpg_mode() 1310 if (!ret_code) { in vcn_v2_0_pause_dpg_mode()
|
| H A D | vcn_v4_0_3.c | 1534 int ret_code; in vcn_v4_0_3_pause_dpg_mode() local 1544 ret_code = SOC15_WAIT_ON_RREG(VCN, inst_idx, regUVD_POWER_STATUS, 0x1, in vcn_v4_0_3_pause_dpg_mode() 1547 if (!ret_code) { in vcn_v4_0_3_pause_dpg_mode()
|
| H A D | vcn_v4_0.c | 1704 int ret_code; in vcn_v4_0_pause_dpg_mode() local 1714 ret_code = SOC15_WAIT_ON_RREG(VCN, inst_idx, regUVD_POWER_STATUS, 0x1, in vcn_v4_0_pause_dpg_mode() 1717 if (!ret_code) { in vcn_v4_0_pause_dpg_mode()
|