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