Lines Matching refs:rc
170 int rc = 0;
198 rc = CUDBG_STATUS_FLASH_FULL;
205 rc = CUDBG_STATUS_FLASH_FULL;
236 rc = write_flash(adap, sec, sec_info->sec_data,
238 if (rc)
246 return rc;
254 int rc = 0;
264 rc = t4_flash_erase_sectors(adap, start_sec,
271 if (rc || size == 0)
280 rc = t4_write_flash(adap, addr, n, ptr, 0);
281 if (rc)
290 return rc;
295 int rc;
296 rc = cudbg_read_flash(handle, (void *)data,
299 return rc;
304 int rc;
314 rc = cudbg_read_flash(handle, buf, total_hdr_size, 0);
315 if (rc != 0)
321 rc = cudbg_read_flash(handle, payload, payload_size, 1);
322 if (rc != 0)
326 return rc;
342 int rc;
344 rc = t4_get_flash_params(adap);
345 if (rc) {
348 return rc;
363 rc = read_flash(adap, CUDBG_START_SEC, &flash_hdr,
370 rc = read_flash(adap, CUDBG_START_SEC + 1,
393 rc = read_flash(adap, i, &flash_hdr,
416 rc = read_flash(adap, sec_info->max_seq_sec,
420 if (rc)
421 cudbg_init->print("Read flash header failed, rc %d\n",
422 rc);
424 return rc;
431 rc = read_flash(adap, j, &flash_hdr,
453 rc = read_flash(adap, j,
465 return rc;
472 int rc;
481 rc = t4_read_flash(adap, addr, n, ptr, 0);
482 if (rc)
491 return rc;