Lines Matching refs:this_urb

717 	struct urb			*this_urb;
742 this_urb = p_priv->out_urbs[flip];
743 if (this_urb == NULL) {
750 __func__, usb_pipeendpoint(this_urb->pipe), flip);
752 if (this_urb->status == -EINPROGRESS) {
756 usb_unlink_urb(this_urb);
762 ((char *)this_urb->transfer_buffer)[0] = 0;
764 memcpy(this_urb->transfer_buffer + dataOffset, buf, todo);
768 this_urb->transfer_buffer_length = todo + dataOffset;
770 err = usb_submit_urb(this_urb, GFP_ATOMIC);
1483 struct urb *this_urb;
1497 this_urb = p_priv->out_urbs[flip];
1498 if (this_urb != NULL) {
1499 if (this_urb->status != -EINPROGRESS)
1502 this_urb = p_priv->out_urbs[flip];
1503 if (this_urb != NULL) {
1504 if (this_urb->status != -EINPROGRESS)
2053 struct urb *this_urb;
2063 this_urb = p_priv->outcont_urb;
2066 if (this_urb == NULL) {
2072 __func__, usb_pipeendpoint(this_urb->pipe));
2078 if (this_urb->status == -EINPROGRESS) {
2181 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg));
2184 this_urb->transfer_buffer_length = sizeof(msg);
2186 err = usb_submit_urb(this_urb, GFP_ATOMIC);
2200 struct urb *this_urb;
2209 this_urb = p_priv->outcont_urb;
2210 if (this_urb == NULL) {
2219 if (this_urb->status == -EINPROGRESS) {
2299 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg));
2302 this_urb->transfer_buffer_length = sizeof(msg);
2304 err = usb_submit_urb(this_urb, GFP_ATOMIC);
2320 struct urb *this_urb;
2327 this_urb = s_priv->glocont_urb;
2333 if (this_urb == NULL) {
2339 __func__, usb_pipeendpoint(this_urb->pipe), device_port);
2346 if (this_urb->status == -EINPROGRESS) {
2470 usb_fill_control_urb(this_urb, serial->dev,
2476 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg));
2479 this_urb->transfer_buffer_length = sizeof(msg);
2481 err = usb_submit_urb(this_urb, GFP_ATOMIC);
2496 struct urb *this_urb;
2505 this_urb = p_priv->outcont_urb;
2506 if (this_urb == NULL) {
2515 if (this_urb->status == -EINPROGRESS) {
2607 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg));
2610 this_urb->transfer_buffer_length = sizeof(msg);
2612 err = usb_submit_urb(this_urb, GFP_ATOMIC);
2626 struct urb *this_urb;
2633 this_urb = s_priv->glocont_urb;
2639 if (this_urb == NULL) {
2648 if (this_urb->status == -EINPROGRESS) {
2750 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg));
2753 this_urb->transfer_buffer_length = sizeof(msg);
2755 err = usb_submit_urb(this_urb, GFP_ATOMIC);