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