Lines Matching defs:this_urb
344 struct urb *this_urb;
369 this_urb = p_priv->out_urbs[flip];
370 if (this_urb == NULL) {
377 __func__, usb_pipeendpoint(this_urb->pipe), flip);
379 if (this_urb->status == -EINPROGRESS) {
383 usb_unlink_urb(this_urb);
389 ((char *)this_urb->transfer_buffer)[0] = 0;
391 memcpy(this_urb->transfer_buffer + dataOffset, buf, todo);
395 this_urb->transfer_buffer_length = todo + dataOffset;
397 this_urb->dev = port->serial->dev;
398 err = usb_submit_urb(this_urb, GFP_ATOMIC);
1150 struct urb *this_urb;
1164 this_urb = p_priv->out_urbs[flip];
1165 if (this_urb != NULL) {
1166 if (this_urb->status != -EINPROGRESS)
1169 this_urb = p_priv->out_urbs[flip];
1170 if (this_urb != NULL) {
1171 if (this_urb->status != -EINPROGRESS)
1813 struct urb *this_urb;
1824 this_urb = p_priv->outcont_urb;
1826 dbg("%s - endpoint %d", __func__, usb_pipeendpoint(this_urb->pipe));
1829 if (this_urb == NULL) {
1838 if (this_urb->status == -EINPROGRESS) {
1941 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg));
1944 this_urb->transfer_buffer_length = sizeof(msg);
1946 this_urb->dev = serial->dev;
1947 err = usb_submit_urb(this_urb, GFP_ATOMIC);
1962 struct urb *this_urb;
1973 this_urb = p_priv->outcont_urb;
1974 if (this_urb == NULL) {
1983 if (this_urb->status == -EINPROGRESS) {
2062 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg));
2065 this_urb->transfer_buffer_length = sizeof(msg);
2067 this_urb->dev = serial->dev;
2068 err = usb_submit_urb(this_urb, GFP_ATOMIC);
2084 struct urb *this_urb;
2093 this_urb = s_priv->glocont_urb;
2099 __func__, usb_pipeendpoint(this_urb->pipe),
2103 if (this_urb == NULL) {
2113 if (this_urb->status == -EINPROGRESS) {
2238 usb_fill_control_urb(this_urb, serial->dev,
2244 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg));
2247 this_urb->transfer_buffer_length = sizeof(msg);
2249 this_urb->dev = serial->dev;
2251 err = usb_submit_urb(this_urb, GFP_ATOMIC);
2266 struct urb *this_urb;
2277 this_urb = p_priv->outcont_urb;
2278 if (this_urb == NULL) {
2287 if (this_urb->status == -EINPROGRESS) {
2380 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg));
2383 this_urb->transfer_buffer_length = sizeof(msg);
2385 this_urb->dev = serial->dev;
2386 err = usb_submit_urb(this_urb, GFP_ATOMIC);
2400 struct urb *this_urb;
2409 this_urb = s_priv->glocont_urb;
2415 if (this_urb == NULL) {
2425 if (this_urb->status == -EINPROGRESS) {
2527 memcpy(this_urb->transfer_buffer, &msg, sizeof(msg));
2530 this_urb->transfer_buffer_length = sizeof(msg);
2531 this_urb->dev = serial->dev;
2533 err = usb_submit_urb(this_urb, GFP_ATOMIC);