Lines Matching defs:rc
147 int rc;
149 rc = usb_control_msg(port->serial->dev,
158 if (rc < 0)
160 "Change port settings failed (error = %d)\n", rc);
165 return rc;
189 int rc;
203 rc = usb_control_msg(port->serial->dev,
212 if (rc < 0)
214 rc);
225 return rc;
290 int rc;
327 rc = usb_serial_generic_open(tty, port);
328 if (rc) {
329 retval = rc;
333 rc = usb_control_msg(port->serial->dev,
342 if (rc < 0) {
343 dev_err(&port->dev, "Enabling read failed (error = %d)\n", rc);
344 retval = rc;
348 rc = klsi_105_get_line_state(port, &line_state);
349 if (rc >= 0) {
356 retval = rc;
365 int rc;
372 rc = usb_control_msg(port->serial->dev,
380 if (rc < 0)
382 "Disabling read failed (error = %d)\n", rc);
583 int rc;
587 rc = klsi_105_get_line_state(port, &line_state);
588 if (rc < 0) {
590 "Reading line control failed (error = %d)\n", rc);
592 return rc;