Lines Matching refs:tiocmget
231 struct hso_tiocmget *tiocmget;
1424 struct hso_tiocmget *tiocmget,
1431 usb_fill_int_urb(tiocmget->urb, usb,
1433 tiocmget->endp->
1435 tiocmget->serial_state_notification,
1438 tiocmget->endp->bInterval);
1439 result = usb_submit_urb(tiocmget->urb, GFP_ATOMIC);
1451 struct hso_tiocmget *tiocmget;
1468 /* tiocmget is only supported on HSO_PORT_MODEM */
1469 tiocmget = serial->tiocmget;
1470 if (!tiocmget)
1482 serial_state_notification = tiocmget->serial_state_notification;
1497 prev_UART_state_bitmap = tiocmget->prev_UART_state_bitmap;
1498 icount = &tiocmget->icount;
1521 tiocmget->prev_UART_state_bitmap = UART_state_bitmap;
1523 tiocmget->intr_completed = 1;
1524 wake_up_interruptible(&tiocmget->waitq);
1529 tiocmget,
1546 struct hso_tiocmget *tiocmget;
1549 tiocmget = serial->tiocmget;
1550 if (!tiocmget)
1556 memcpy(&cprev, &tiocmget->icount, sizeof(struct uart_icount));
1558 add_wait_queue(&tiocmget->waitq, &wait);
1561 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount));
1579 remove_wait_queue(&tiocmget->waitq, &wait);
1595 struct hso_tiocmget *tiocmget = serial->tiocmget;
1599 if (!tiocmget)
1602 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount));
1625 struct hso_tiocmget *tiocmget;
1636 tiocmget = serial->tiocmget;
1637 if (tiocmget) {
1640 tiocmget->prev_UART_state_bitmap);
2181 if (serial->tiocmget)
2183 serial->tiocmget,
2192 struct hso_tiocmget *tiocmget;
2220 tiocmget = serial->tiocmget;
2221 if (tiocmget) {
2222 wake_up_interruptible(&tiocmget->waitq);
2223 usb_kill_urb(tiocmget->urb);
2579 struct hso_tiocmget *tiocmget;
2582 tiocmget = serial->tiocmget;
2583 if (tiocmget) {
2584 usb_free_urb(tiocmget->urb);
2585 tiocmget->urb = NULL;
2586 serial->tiocmget = NULL;
2587 kfree(tiocmget->serial_state_notification);
2588 tiocmget->serial_state_notification = NULL;
2589 kfree(tiocmget);
2622 struct hso_tiocmget *tiocmget;
2637 serial->tiocmget = kzalloc(sizeof(struct hso_tiocmget),
2639 if (!serial->tiocmget)
2641 serial->tiocmget->serial_state_notification
2644 if (!serial->tiocmget->serial_state_notification)
2646 tiocmget = serial->tiocmget;
2647 tiocmget->endp = hso_get_ep(interface,
2650 if (!tiocmget->endp) {
2655 tiocmget->urb = usb_alloc_urb(0, GFP_KERNEL);
2656 if (!tiocmget->urb)
2659 mutex_init(&tiocmget->mutex);
2660 init_waitqueue_head(&tiocmget->waitq);
3218 .tiocmget = hso_serial_tiocmget,