• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/samples/png/

Lines Matching defs:qt_port

268 static void ProcessLineStatus(struct quatech_port *qt_port,
272 qt_port->shadowLSR =
278 static void ProcessModemStatus(struct quatech_port *qt_port,
282 qt_port->shadowMSR = modem_status;
283 wake_up_interruptible(&qt_port->wait);
328 struct quatech_port *qt_port = qt_get_port_private(port);
337 qt_port->ReadBulkStopped = 1;
357 dbg("%s - port->RxHolding = %d\n", __func__, qt_port->RxHolding);
361 qt_port->ReadBulkStopped = 1;
369 if (qt_port->closePending == 1) {
371 dbg("%s - (qt_port->closepending == 1\n", __func__);
372 qt_port->ReadBulkStopped = 1;
381 if (qt_port->RxHolding == 1) {
382 qt_port->ReadBulkStopped = 1;
387 qt_port->ReadBulkStopped = 1;
408 ProcessLineStatus(qt_port, data[i + 3]);
420 ProcessModemStatus(qt_port,
726 struct quatech_port *qt_port;
736 qt_port = kzalloc(sizeof(*qt_port), GFP_KERNEL);
737 if (!qt_port) {
747 spin_lock_init(&qt_port->lock);
749 usb_set_serial_port_data(port, qt_port);
845 qt_port = qt_get_port_private(port);
846 kfree(qt_port);
858 struct quatech_port *qt_port;
868 qt_port = usb_get_serial_port_data(port);
869 kfree(qt_port);
1023 struct quatech_port *qt_port)
1036 interruptible_sleep_on_timeout(&qt_port->wait, timeout);
1051 struct quatech_port *qt_port;
1063 qt_port = qt_get_port_private(port);
1074 qt_block_until_empty(tty, qt_port);
1096 if (qt_port->write_urb) {
1098 if (qt_port->write_urb->transfer_buffer != NULL)
1099 kfree(qt_port->write_urb->transfer_buffer);
1100 usb_free_urb(qt_port->write_urb);
1160 struct quatech_port *qt_port;
1175 qt_port = qt_get_port_private(port);
1177 spin_lock_irqsave(&qt_port->lock, flags);
1186 spin_unlock_irqrestore(&qt_port->lock, flags);
1195 struct quatech_port *qt_port = qt_get_port_private(port);
1204 while (qt_port != NULL) {
1205 interruptible_sleep_on(&qt_port->msr_wait);
1209 char diff = qt_port->diff_status;
1215 qt_port->diff_status = 0;
1355 struct quatech_port *qt_port;
1362 qt_port = qt_get_port_private(port);
1369 spin_lock_irqsave(&qt_port->lock, flags);
1377 spin_unlock_irqrestore(&qt_port->lock, flags);
1465 struct quatech_port *qt_port = qt_get_port_private(port);
1474 spin_lock_irqsave(&qt_port->lock, flags);
1477 dbg("%s - port->RxHolding = %d\n", __func__, qt_port->RxHolding);
1481 spin_unlock_irqrestore(&qt_port->lock, flags);
1491 struct quatech_port *qt_port = qt_get_port_private(port);
1500 spin_lock_irqsave(&qt_port->lock, flags);
1503 dbg("%s - qt_port->RxHolding = %d\n", __func__, qt_port->RxHolding);
1507 spin_unlock_irqrestore(&qt_port->lock, flags);
1515 struct quatech_port *qt_port;
1523 qt_port = qt_get_port_private(port);
1525 spin_lock_irqsave(&qt_port->lock, flags);
1528 qt_port->RxHolding = 1;
1531 spin_unlock_irqrestore(&qt_port->lock, flags);
1539 struct quatech_port *qt_port;
1546 qt_port = qt_get_port_private(port);
1548 spin_lock_irqsave(&qt_port->lock, flags);
1552 if (qt_port->RxHolding == 1) {
1553 dbg("%s -qt_port->RxHolding == 1\n", __func__);
1555 qt_port->RxHolding = 0;
1556 dbg("%s - qt_port->RxHolding = 0\n", __func__);
1559 if ((serial->num_bulk_in) && (qt_port->ReadBulkStopped == 1)) {
1574 spin_unlock_irqrestore(&qt_port->lock, flags);