Lines Matching refs:this_urb
701 struct urb *this_urb; in keyspan_write() local
726 this_urb = p_priv->out_urbs[flip]; in keyspan_write()
727 if (this_urb == NULL) { in keyspan_write()
734 __func__, usb_pipeendpoint(this_urb->pipe), flip); in keyspan_write()
736 if (this_urb->status == -EINPROGRESS) { in keyspan_write()
740 usb_unlink_urb(this_urb); in keyspan_write()
746 ((char *)this_urb->transfer_buffer)[0] = 0; in keyspan_write()
748 memcpy(this_urb->transfer_buffer + dataOffset, buf, todo); in keyspan_write()
752 this_urb->transfer_buffer_length = todo + dataOffset; in keyspan_write()
754 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_write()
1467 struct urb *this_urb; in keyspan_write_room() local
1481 this_urb = p_priv->out_urbs[flip]; in keyspan_write_room()
1482 if (this_urb != NULL) { in keyspan_write_room()
1483 if (this_urb->status != -EINPROGRESS) in keyspan_write_room()
1486 this_urb = p_priv->out_urbs[flip]; in keyspan_write_room()
1487 if (this_urb != NULL) { in keyspan_write_room()
1488 if (this_urb->status != -EINPROGRESS) in keyspan_write_room()
2037 struct urb *this_urb; in keyspan_usa26_send_setup() local
2047 this_urb = p_priv->outcont_urb; in keyspan_usa26_send_setup()
2050 if (this_urb == NULL) { in keyspan_usa26_send_setup()
2056 __func__, usb_pipeendpoint(this_urb->pipe)); in keyspan_usa26_send_setup()
2062 if (this_urb->status == -EINPROGRESS) { in keyspan_usa26_send_setup()
2165 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg)); in keyspan_usa26_send_setup()
2168 this_urb->transfer_buffer_length = sizeof(msg); in keyspan_usa26_send_setup()
2170 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_usa26_send_setup()
2184 struct urb *this_urb; in keyspan_usa28_send_setup() local
2193 this_urb = p_priv->outcont_urb; in keyspan_usa28_send_setup()
2194 if (this_urb == NULL) { in keyspan_usa28_send_setup()
2203 if (this_urb->status == -EINPROGRESS) { in keyspan_usa28_send_setup()
2283 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg)); in keyspan_usa28_send_setup()
2286 this_urb->transfer_buffer_length = sizeof(msg); in keyspan_usa28_send_setup()
2288 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_usa28_send_setup()
2304 struct urb *this_urb; in keyspan_usa49_send_setup() local
2311 this_urb = s_priv->glocont_urb; in keyspan_usa49_send_setup()
2317 if (this_urb == NULL) { in keyspan_usa49_send_setup()
2323 __func__, usb_pipeendpoint(this_urb->pipe), device_port); in keyspan_usa49_send_setup()
2330 if (this_urb->status == -EINPROGRESS) { in keyspan_usa49_send_setup()
2454 usb_fill_control_urb(this_urb, serial->dev, in keyspan_usa49_send_setup()
2460 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg)); in keyspan_usa49_send_setup()
2463 this_urb->transfer_buffer_length = sizeof(msg); in keyspan_usa49_send_setup()
2465 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_usa49_send_setup()
2480 struct urb *this_urb; in keyspan_usa90_send_setup() local
2489 this_urb = p_priv->outcont_urb; in keyspan_usa90_send_setup()
2490 if (this_urb == NULL) { in keyspan_usa90_send_setup()
2499 if (this_urb->status == -EINPROGRESS) { in keyspan_usa90_send_setup()
2591 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg)); in keyspan_usa90_send_setup()
2594 this_urb->transfer_buffer_length = sizeof(msg); in keyspan_usa90_send_setup()
2596 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_usa90_send_setup()
2610 struct urb *this_urb; in keyspan_usa67_send_setup() local
2617 this_urb = s_priv->glocont_urb; in keyspan_usa67_send_setup()
2623 if (this_urb == NULL) { in keyspan_usa67_send_setup()
2632 if (this_urb->status == -EINPROGRESS) { in keyspan_usa67_send_setup()
2734 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg)); in keyspan_usa67_send_setup()
2737 this_urb->transfer_buffer_length = sizeof(msg); in keyspan_usa67_send_setup()
2739 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_usa67_send_setup()