Lines Matching refs:result

200 	int result;
210 result = usb_control_msg(port->serial->dev,
218 if (result != OTI6858_CTRL_PKT_SIZE) {
234 result = usb_control_msg(port->serial->dev,
243 result = 0;
248 if (result != OTI6858_CTRL_PKT_SIZE)
254 result = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL);
255 if (result != 0) {
257 __func__, result);
266 int count = 0, result;
292 result = usb_control_msg(port->serial->dev,
297 if (result != 1 || *allow != 0)
306 result = usb_submit_urb(port->interrupt_in_urb, GFP_NOIO);
307 if (result != 0) {
309 __func__, result);
318 result = usb_submit_urb(port->write_urb, GFP_NOIO);
319 if (result != 0) {
321 __func__, result);
507 int result;
516 result = usb_control_msg(serial->dev, usb_rcvctrlpipe(serial->dev, 0),
522 if (result != OTI6858_CTRL_PKT_SIZE) {
542 result = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL);
543 if (result != 0) {
545 __func__, result);
547 return result;
616 unsigned result = 0;
624 result |= TIOCM_RTS;
626 result |= TIOCM_CTS;
628 result |= TIOCM_DSR;
630 result |= TIOCM_DTR;
632 result |= TIOCM_RI;
634 result |= TIOCM_CD;
636 dev_dbg(&port->dev, "%s() = 0x%08x\n", __func__, result);
638 return result;
726 int result;
728 result = usb_submit_urb(port->read_urb, GFP_ATOMIC);
729 if (result != 0) {
732 " error %d\n", __func__, result);
753 int result;
756 result = usb_submit_urb(urb, GFP_ATOMIC);
757 if (result != 0) {
760 " error %d\n", __func__, result);
772 int result;
789 result = usb_submit_urb(port->interrupt_in_urb, GFP_ATOMIC);
790 if (result != 0 && result != -EPERM) {
792 " error %d\n", __func__, result);
801 int result;
820 result = usb_submit_urb(port->write_urb, GFP_ATOMIC);
821 if (result) {
823 " error %d\n", __func__, result);
833 result = usb_submit_urb(port->interrupt_in_urb, GFP_ATOMIC);
834 if (result != 0) {
836 " error %d\n", __func__, result);