Lines Matching refs:tiocmget

255 	struct hso_tiocmget  *tiocmget;  member
1447 struct hso_tiocmget *tiocmget, in tiocmget_submit_urb() argument
1454 usb_fill_int_urb(tiocmget->urb, usb, in tiocmget_submit_urb()
1456 tiocmget->endp-> in tiocmget_submit_urb()
1458 &tiocmget->serial_state_notification, in tiocmget_submit_urb()
1461 tiocmget->endp->bInterval); in tiocmget_submit_urb()
1462 result = usb_submit_urb(tiocmget->urb, GFP_ATOMIC); in tiocmget_submit_urb()
1474 struct hso_tiocmget *tiocmget; in tiocmget_intr_callback() local
1492 tiocmget = serial->tiocmget; in tiocmget_intr_callback()
1493 if (!tiocmget) in tiocmget_intr_callback()
1505 serial_state_notification = &tiocmget->serial_state_notification; in tiocmget_intr_callback()
1519 prev_UART_state_bitmap = tiocmget->prev_UART_state_bitmap; in tiocmget_intr_callback()
1520 icount = &tiocmget->icount; in tiocmget_intr_callback()
1543 tiocmget->prev_UART_state_bitmap = UART_state_bitmap; in tiocmget_intr_callback()
1545 tiocmget->intr_completed = 1; in tiocmget_intr_callback()
1546 wake_up_interruptible(&tiocmget->waitq); in tiocmget_intr_callback()
1551 tiocmget, in tiocmget_intr_callback()
1568 struct hso_tiocmget *tiocmget; in hso_wait_modem_status() local
1571 tiocmget = serial->tiocmget; in hso_wait_modem_status()
1572 if (!tiocmget) in hso_wait_modem_status()
1578 memcpy(&cprev, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status()
1580 add_wait_queue(&tiocmget->waitq, &wait); in hso_wait_modem_status()
1583 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status()
1601 remove_wait_queue(&tiocmget->waitq, &wait); in hso_wait_modem_status()
1617 struct hso_tiocmget *tiocmget = serial->tiocmget; in hso_get_count() local
1621 if (!tiocmget) in hso_get_count()
1624 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_get_count()
1647 struct hso_tiocmget *tiocmget; in hso_serial_tiocmget() local
1658 tiocmget = serial->tiocmget; in hso_serial_tiocmget()
1659 if (tiocmget) { in hso_serial_tiocmget()
1662 tiocmget->prev_UART_state_bitmap); in hso_serial_tiocmget()
2201 if (serial->tiocmget) in hso_start_serial_device()
2203 serial->tiocmget, in hso_start_serial_device()
2212 struct hso_tiocmget *tiocmget; in hso_stop_serial_device() local
2240 tiocmget = serial->tiocmget; in hso_stop_serial_device()
2241 if (tiocmget) { in hso_stop_serial_device()
2242 wake_up_interruptible(&tiocmget->waitq); in hso_stop_serial_device()
2243 usb_kill_urb(tiocmget->urb); in hso_stop_serial_device()
2590 struct hso_tiocmget *tiocmget; in hso_free_tiomget() local
2593 tiocmget = serial->tiocmget; in hso_free_tiomget()
2594 if (tiocmget) { in hso_free_tiomget()
2595 usb_free_urb(tiocmget->urb); in hso_free_tiomget()
2596 tiocmget->urb = NULL; in hso_free_tiomget()
2597 serial->tiocmget = NULL; in hso_free_tiomget()
2598 kfree(tiocmget); in hso_free_tiomget()
2631 struct hso_tiocmget *tiocmget; in hso_create_bulk_serial_device() local
2646 serial->tiocmget = kzalloc(sizeof(struct hso_tiocmget), in hso_create_bulk_serial_device()
2651 if (serial->tiocmget) { in hso_create_bulk_serial_device()
2652 tiocmget = serial->tiocmget; 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()
2655 mutex_init(&tiocmget->mutex); in hso_create_bulk_serial_device()
2656 init_waitqueue_head(&tiocmget->waitq); in hso_create_bulk_serial_device()
2657 tiocmget->endp = hso_get_ep( in hso_create_bulk_serial_device()
3218 .tiocmget = hso_serial_tiocmget,