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()
1466 struct urb *this_urb; in keyspan_write_room() local
1480 this_urb = p_priv->out_urbs[flip]; in keyspan_write_room()
1481 if (this_urb != NULL) { in keyspan_write_room()
1482 if (this_urb->status != -EINPROGRESS) in keyspan_write_room()
1485 this_urb = p_priv->out_urbs[flip]; in keyspan_write_room()
1486 if (this_urb != NULL) { in keyspan_write_room()
1487 if (this_urb->status != -EINPROGRESS) in keyspan_write_room()
2036 struct urb *this_urb; in keyspan_usa26_send_setup() local
2046 this_urb = p_priv->outcont_urb; in keyspan_usa26_send_setup()
2049 if (this_urb == NULL) { in keyspan_usa26_send_setup()
2055 __func__, usb_pipeendpoint(this_urb->pipe)); in keyspan_usa26_send_setup()
2061 if (this_urb->status == -EINPROGRESS) { in keyspan_usa26_send_setup()
2164 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg)); in keyspan_usa26_send_setup()
2167 this_urb->transfer_buffer_length = sizeof(msg); in keyspan_usa26_send_setup()
2169 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_usa26_send_setup()
2183 struct urb *this_urb; in keyspan_usa28_send_setup() local
2192 this_urb = p_priv->outcont_urb; in keyspan_usa28_send_setup()
2193 if (this_urb == NULL) { in keyspan_usa28_send_setup()
2202 if (this_urb->status == -EINPROGRESS) { in keyspan_usa28_send_setup()
2282 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg)); in keyspan_usa28_send_setup()
2285 this_urb->transfer_buffer_length = sizeof(msg); in keyspan_usa28_send_setup()
2287 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_usa28_send_setup()
2303 struct urb *this_urb; in keyspan_usa49_send_setup() local
2310 this_urb = s_priv->glocont_urb; in keyspan_usa49_send_setup()
2316 if (this_urb == NULL) { in keyspan_usa49_send_setup()
2322 __func__, usb_pipeendpoint(this_urb->pipe), device_port); in keyspan_usa49_send_setup()
2329 if (this_urb->status == -EINPROGRESS) { in keyspan_usa49_send_setup()
2453 usb_fill_control_urb(this_urb, serial->dev, in keyspan_usa49_send_setup()
2459 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg)); in keyspan_usa49_send_setup()
2462 this_urb->transfer_buffer_length = sizeof(msg); in keyspan_usa49_send_setup()
2464 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_usa49_send_setup()
2479 struct urb *this_urb; in keyspan_usa90_send_setup() local
2488 this_urb = p_priv->outcont_urb; in keyspan_usa90_send_setup()
2489 if (this_urb == NULL) { in keyspan_usa90_send_setup()
2498 if (this_urb->status == -EINPROGRESS) { in keyspan_usa90_send_setup()
2590 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg)); in keyspan_usa90_send_setup()
2593 this_urb->transfer_buffer_length = sizeof(msg); in keyspan_usa90_send_setup()
2595 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_usa90_send_setup()
2609 struct urb *this_urb; in keyspan_usa67_send_setup() local
2616 this_urb = s_priv->glocont_urb; in keyspan_usa67_send_setup()
2622 if (this_urb == NULL) { in keyspan_usa67_send_setup()
2631 if (this_urb->status == -EINPROGRESS) { in keyspan_usa67_send_setup()
2733 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg)); in keyspan_usa67_send_setup()
2736 this_urb->transfer_buffer_length = sizeof(msg); in keyspan_usa67_send_setup()
2738 err = usb_submit_urb(this_urb, GFP_ATOMIC); in keyspan_usa67_send_setup()