Lines Matching defs:rv
1212 int rv;
1229 rv = usb_control_msg(port->serial->dev,
1235 if (rv < 0) {
1240 rv = usb_translate_errors(rv);
1248 return rv;
1362 int rv;
1370 rv = usb_control_msg(port->serial->dev,
1376 return rv;
1383 int rv;
1394 rv = usb_control_msg(udev,
1400 if (rv < 0)
1401 dev_err(&port->dev, "Unable to write latency timer: %i\n", rv);
1402 return rv;
1410 int rv;
1412 rv = usb_control_msg_recv(udev, 0, FTDI_SIO_GET_LATENCY_TIMER_REQUEST,
1416 if (rv == 0)
1417 rv = buf;
1419 return rv;
1425 int rv;
1430 rv = _read_latency_timer(port);
1431 if (rv < 0) {
1432 dev_err(&port->dev, "Unable to read latency timer: %i\n", rv);
1433 return rv;
1436 priv->latency = rv;
1658 int rv;
1664 rv = write_latency_timer(port);
1665 if (rv < 0)
1680 int rv;
1687 rv = usb_control_msg(udev,
1693 if (rv < 0) {
1694 dev_dbg(&port->dev, "Unable to write event character: %i\n", rv);
1966 int rv;
1968 rv = usb_control_msg(serial->dev,
1974 if (rv < 2) {
1975 if (rv >= 0)
1978 return rv;
1981 read += rv;