Lines Matching defs:wport
168 struct usb_serial_port *wport;
173 wport = serial->port[1];
174 tty_port_tty_set(&wport->port, tty);
257 struct usb_serial_port *wport = serial->port[1];
261 wport->write_urb->transfer_buffer;
272 spin_lock_bh(&wport->lock);
273 if (wport->write_urb_busy) {
274 spin_unlock_bh(&wport->lock);
278 wport->write_urb_busy = 1;
279 spin_unlock_bh(&wport->lock);
283 memcpy(wport->write_urb->transfer_buffer + OMNINET_DATAOFFSET,
287 wport->write_urb->transfer_buffer);
295 wport->write_urb->transfer_buffer_length = 64;
297 wport->write_urb->dev = serial->dev;
298 result = usb_submit_urb(wport->write_urb, GFP_ATOMIC);
300 wport->write_urb_busy = 0;
315 struct usb_serial_port *wport = serial->port[1];
319 if (wport->write_urb_busy)
320 room = wport->bulk_out_size - OMNINET_HEADERLEN;
349 struct usb_serial_port *wport = serial->port[1];
353 usb_kill_urb(wport->write_urb);