Lines Matching refs:ret_code
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()
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()
271 if (ret_code) in add_pble_prm()
284 ret_code = irdma_hmc_sd_one(dev, hmc_info->hmc_fn_id, sd_reg_val, in add_pble_prm()
286 if (ret_code) in add_pble_prm()
298 return ret_code; in add_pble_prm()
343 int ret_code; in get_lvl2_pble() local
359 ret_code = irdma_prm_get_pbles(&pble_rsrc->pinfo, &root->chunkinfo, in get_lvl2_pble()
361 if (ret_code) { in get_lvl2_pble()
373 ret_code = irdma_prm_get_pbles(&pble_rsrc->pinfo, in get_lvl2_pble()
376 if (ret_code) in get_lvl2_pble()
404 int ret_code; in get_lvl1_pble() local
408 ret_code = irdma_prm_get_pbles(&pble_rsrc->pinfo, &lvl1->chunkinfo, in get_lvl1_pble()
411 if (ret_code) in get_lvl1_pble()