Lines Matching defs:rc
335 int count = 0, rc;
352 rc = datafab_bulk_write(us, command, 8);
353 if (rc != USB_STOR_XFER_GOOD) {
354 rc = USB_STOR_TRANSPORT_ERROR;
358 rc = datafab_bulk_read(us, buf, 512);
359 if (rc == USB_STOR_XFER_GOOD) {
361 rc = USB_STOR_TRANSPORT_GOOD;
367 rc = datafab_bulk_write(us, command, 8);
368 if (rc != USB_STOR_XFER_GOOD) {
369 rc = USB_STOR_TRANSPORT_ERROR;
373 rc = datafab_bulk_read(us, buf, 512);
374 if (rc == USB_STOR_XFER_GOOD) {
376 rc = USB_STOR_TRANSPORT_GOOD;
383 rc = USB_STOR_TRANSPORT_ERROR;
387 return rc;
400 int rc;
406 rc = datafab_determine_lun(us, info);
407 if (rc != USB_STOR_TRANSPORT_GOOD)
408 return rc;
418 rc = datafab_bulk_write(us, command, 8);
419 if (rc != USB_STOR_XFER_GOOD) {
420 rc = USB_STOR_TRANSPORT_ERROR;
426 rc = datafab_bulk_read(us, reply, 512);
427 if (rc == USB_STOR_XFER_GOOD) {
434 rc = USB_STOR_TRANSPORT_GOOD;
438 rc = USB_STOR_TRANSPORT_ERROR;
442 return rc;
560 int rc;
589 rc = datafab_id_device(us, info);
590 if (rc != USB_STOR_TRANSPORT_GOOD)
591 return rc;
704 rc = datafab_id_device(us, info);
705 if (rc == USB_STOR_TRANSPORT_GOOD) {
712 return rc;