Lines Matching defs:rc
70 int rc;
73 rc = usb_autopm_get_interface(mydev->intf);
74 if (rc < 0)
82 rc = usb_control_msg(mydev->udev,
91 if (rc < 0)
92 dev_dbg(&mydev->udev->dev, "power retval = %d\n", rc);
102 int rc;
107 rc = usb_control_msg(mydev->udev,
117 if (rc < 0)
118 dev_dbg(&mydev->udev->dev, "mode retval = %d\n", rc);
123 int rc;
141 rc = usb_control_msg(mydev->udev,
151 if (rc < 0)
152 dev_dbg(&mydev->udev->dev, "write retval = %d\n", rc);
160 rc = usb_control_msg(mydev->udev,
170 if (rc < 0)
171 dev_dbg(&mydev->udev->dev, "decimal retval = %d\n", rc);
347 int rc = -ENOMEM;
368 rc = sysfs_create_group(&interface->dev.kobj, &dev_attr_grp);
369 if (rc)
380 return rc;
442 int rc = 0;
444 rc = usb_register(&sevseg_driver);
445 if (rc)
446 err("usb_register failed. Error number %d", rc);
447 return rc;