Lines Matching refs:tiocmget
231 struct hso_tiocmget *tiocmget;
1417 struct hso_tiocmget *tiocmget,
1424 usb_fill_int_urb(tiocmget->urb, usb,
1426 tiocmget->endp->
1428 tiocmget->serial_state_notification,
1431 tiocmget->endp->bInterval);
1432 result = usb_submit_urb(tiocmget->urb, GFP_ATOMIC);
1444 struct hso_tiocmget *tiocmget;
1461 /* tiocmget is only supported on HSO_PORT_MODEM */
1462 tiocmget = serial->tiocmget;
1463 if (!tiocmget)
1475 serial_state_notification = tiocmget->serial_state_notification;
1490 prev_UART_state_bitmap = tiocmget->prev_UART_state_bitmap;
1491 icount = &tiocmget->icount;
1514 tiocmget->prev_UART_state_bitmap = UART_state_bitmap;
1516 tiocmget->intr_completed = 1;
1517 wake_up_interruptible(&tiocmget->waitq);
1522 tiocmget,
1539 struct hso_tiocmget *tiocmget;
1542 tiocmget = serial->tiocmget;
1543 if (!tiocmget)
1549 memcpy(&cprev, &tiocmget->icount, sizeof(struct uart_icount));
1551 add_wait_queue(&tiocmget->waitq, &wait);
1554 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount));
1572 remove_wait_queue(&tiocmget->waitq, &wait);
1588 struct hso_tiocmget *tiocmget = serial->tiocmget;
1592 if (!tiocmget)
1595 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount));
1618 struct hso_tiocmget *tiocmget;
1629 tiocmget = serial->tiocmget;
1630 if (tiocmget) {
1633 tiocmget->prev_UART_state_bitmap);
2174 if (serial->tiocmget)
2176 serial->tiocmget,
2185 struct hso_tiocmget *tiocmget;
2213 tiocmget = serial->tiocmget;
2214 if (tiocmget) {
2215 wake_up_interruptible(&tiocmget->waitq);
2216 usb_kill_urb(tiocmget->urb);
2572 struct hso_tiocmget *tiocmget;
2575 tiocmget = serial->tiocmget;
2576 if (tiocmget) {
2577 usb_free_urb(tiocmget->urb);
2578 tiocmget->urb = NULL;
2579 serial->tiocmget = NULL;
2580 kfree(tiocmget->serial_state_notification);
2581 tiocmget->serial_state_notification = NULL;
2582 kfree(tiocmget);
2615 struct hso_tiocmget *tiocmget;
2630 serial->tiocmget = kzalloc(sizeof(struct hso_tiocmget),
2632 if (!serial->tiocmget)
2634 serial->tiocmget->serial_state_notification
2637 if (!serial->tiocmget->serial_state_notification)
2639 tiocmget = serial->tiocmget;
2640 tiocmget->endp = hso_get_ep(interface,
2643 if (!tiocmget->endp) {
2648 tiocmget->urb = usb_alloc_urb(0, GFP_KERNEL);
2649 if (!tiocmget->urb)
2652 mutex_init(&tiocmget->mutex);
2653 init_waitqueue_head(&tiocmget->waitq);
3211 .tiocmget = hso_serial_tiocmget,