Lines Matching refs:purb
84 static void kobil_write_callback( struct urb *purb );
361 static void kobil_read_int_callback( struct urb *purb)
364 struct usb_serial_port *port = (struct usb_serial_port *) purb->context;
366 unsigned char *data = purb->transfer_buffer;
371 if (purb->status) {
372 dbg("%s - port %d Read int status not zero: %d", __FUNCTION__, port->number, purb->status);
377 if (purb->actual_length) {
381 dbg_data = kzalloc((3 * purb->actual_length + 10) * sizeof(char), GFP_KERNEL);
385 for (i = 0; i < purb->actual_length; i++) {
393 tty_buffer_request_room(tty, purb->actual_length);
394 tty_insert_flip_string(tty, data, purb->actual_length);
406 static void kobil_write_callback( struct urb *purb )