Lines Matching refs:urb
36 #define WDR_TIMEOUT 5000 /* default urb timeout. */
107 static void metrousb_read_int_callback(struct urb *urb)
109 struct usb_serial_port *port = urb->context;
111 unsigned char *data = urb->transfer_buffer;
118 switch (urb->status) {
125 /* urb has been terminated. */
127 "%s - urb shutting down, error code=%d\n",
128 __func__, urb->status);
132 "%s - non-zero urb received, error code=%d\n",
133 __func__, urb->status);
139 if (urb->actual_length) {
141 tty_insert_flip_string(&port->port, data, urb->actual_length);
155 /* Try to resubmit the urb. */
156 result = usb_submit_urb(urb, GFP_ATOMIC);
159 "%s - failed submitting interrupt in urb, error code=%d\n",
183 /* Clear the urb pipe. */
196 "%s - failed submitting interrupt in urb, error code=%d\n",
334 /* Submit the urb to read from the port. */
338 "failed submitting interrupt in urb error code=%d\n",