Lines Matching refs:tiocmget

231 	struct hso_tiocmget  *tiocmget;  member
1422 struct hso_tiocmget *tiocmget, in tiocmget_submit_urb() argument
1429 usb_fill_int_urb(tiocmget->urb, usb, in tiocmget_submit_urb()
1431 tiocmget->endp-> in tiocmget_submit_urb()
1433 tiocmget->serial_state_notification, in tiocmget_submit_urb()
1436 tiocmget->endp->bInterval); in tiocmget_submit_urb()
1437 result = usb_submit_urb(tiocmget->urb, GFP_ATOMIC); in tiocmget_submit_urb()
1449 struct hso_tiocmget *tiocmget; in tiocmget_intr_callback() local
1467 tiocmget = serial->tiocmget; in tiocmget_intr_callback()
1468 if (!tiocmget) in tiocmget_intr_callback()
1480 serial_state_notification = tiocmget->serial_state_notification; in tiocmget_intr_callback()
1495 prev_UART_state_bitmap = tiocmget->prev_UART_state_bitmap; in tiocmget_intr_callback()
1496 icount = &tiocmget->icount; in tiocmget_intr_callback()
1519 tiocmget->prev_UART_state_bitmap = UART_state_bitmap; in tiocmget_intr_callback()
1521 tiocmget->intr_completed = 1; in tiocmget_intr_callback()
1522 wake_up_interruptible(&tiocmget->waitq); in tiocmget_intr_callback()
1527 tiocmget, in tiocmget_intr_callback()
1544 struct hso_tiocmget *tiocmget; in hso_wait_modem_status() local
1547 tiocmget = serial->tiocmget; in hso_wait_modem_status()
1548 if (!tiocmget) in hso_wait_modem_status()
1554 memcpy(&cprev, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status()
1556 add_wait_queue(&tiocmget->waitq, &wait); in hso_wait_modem_status()
1559 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status()
1577 remove_wait_queue(&tiocmget->waitq, &wait); in hso_wait_modem_status()
1593 struct hso_tiocmget *tiocmget = serial->tiocmget; in hso_get_count() local
1597 if (!tiocmget) in hso_get_count()
1600 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_get_count()
1623 struct hso_tiocmget *tiocmget; in hso_serial_tiocmget() local
1634 tiocmget = serial->tiocmget; in hso_serial_tiocmget()
1635 if (tiocmget) { in hso_serial_tiocmget()
1638 tiocmget->prev_UART_state_bitmap); in hso_serial_tiocmget()
2179 if (serial->tiocmget) in hso_start_serial_device()
2181 serial->tiocmget, in hso_start_serial_device()
2190 struct hso_tiocmget *tiocmget; in hso_stop_serial_device() local
2218 tiocmget = serial->tiocmget; in hso_stop_serial_device()
2219 if (tiocmget) { in hso_stop_serial_device()
2220 wake_up_interruptible(&tiocmget->waitq); in hso_stop_serial_device()
2221 usb_kill_urb(tiocmget->urb); in hso_stop_serial_device()
2577 struct hso_tiocmget *tiocmget; in hso_free_tiomget() local
2580 tiocmget = serial->tiocmget; in hso_free_tiomget()
2581 if (tiocmget) { in hso_free_tiomget()
2582 usb_free_urb(tiocmget->urb); in hso_free_tiomget()
2583 tiocmget->urb = NULL; in hso_free_tiomget()
2584 serial->tiocmget = NULL; in hso_free_tiomget()
2585 kfree(tiocmget->serial_state_notification); in hso_free_tiomget()
2586 tiocmget->serial_state_notification = NULL; in hso_free_tiomget()
2587 kfree(tiocmget); in hso_free_tiomget()
2620 struct hso_tiocmget *tiocmget; in hso_create_bulk_serial_device() local
2635 serial->tiocmget = kzalloc(sizeof(struct hso_tiocmget), in hso_create_bulk_serial_device()
2637 if (!serial->tiocmget) in hso_create_bulk_serial_device()
2639 serial->tiocmget->serial_state_notification in hso_create_bulk_serial_device()
2642 if (!serial->tiocmget->serial_state_notification) in hso_create_bulk_serial_device()
2644 tiocmget = serial->tiocmget; in hso_create_bulk_serial_device()
2645 tiocmget->endp = hso_get_ep(interface, in hso_create_bulk_serial_device()
2648 if (!tiocmget->endp) { in hso_create_bulk_serial_device()
2653 tiocmget->urb = usb_alloc_urb(0, GFP_KERNEL); in hso_create_bulk_serial_device()
2654 if (!tiocmget->urb) in hso_create_bulk_serial_device()
2657 mutex_init(&tiocmget->mutex); in hso_create_bulk_serial_device()
2658 init_waitqueue_head(&tiocmget->waitq); in hso_create_bulk_serial_device()
3216 .tiocmget = hso_serial_tiocmget,