Lines Matching refs:tiocmget
245 struct hso_tiocmget *tiocmget; member
1438 struct hso_tiocmget *tiocmget, in tiocmget_submit_urb() argument
1445 usb_fill_int_urb(tiocmget->urb, usb, in tiocmget_submit_urb()
1447 tiocmget->endp-> in tiocmget_submit_urb()
1449 &tiocmget->serial_state_notification, in tiocmget_submit_urb()
1452 tiocmget->endp->bInterval); in tiocmget_submit_urb()
1453 result = usb_submit_urb(tiocmget->urb, GFP_ATOMIC); in tiocmget_submit_urb()
1465 struct hso_tiocmget *tiocmget; in tiocmget_intr_callback() local
1483 tiocmget = serial->tiocmget; in tiocmget_intr_callback()
1484 if (!tiocmget) in tiocmget_intr_callback()
1496 serial_state_notification = &tiocmget->serial_state_notification; in tiocmget_intr_callback()
1511 prev_UART_state_bitmap = tiocmget->prev_UART_state_bitmap; in tiocmget_intr_callback()
1512 icount = &tiocmget->icount; in tiocmget_intr_callback()
1535 tiocmget->prev_UART_state_bitmap = UART_state_bitmap; in tiocmget_intr_callback()
1537 tiocmget->intr_completed = 1; in tiocmget_intr_callback()
1538 wake_up_interruptible(&tiocmget->waitq); in tiocmget_intr_callback()
1543 tiocmget, in tiocmget_intr_callback()
1560 struct hso_tiocmget *tiocmget; in hso_wait_modem_status() local
1563 tiocmget = serial->tiocmget; in hso_wait_modem_status()
1564 if (!tiocmget) in hso_wait_modem_status()
1570 memcpy(&cprev, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status()
1572 add_wait_queue(&tiocmget->waitq, &wait); in hso_wait_modem_status()
1575 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status()
1593 remove_wait_queue(&tiocmget->waitq, &wait); in hso_wait_modem_status()
1609 struct hso_tiocmget *tiocmget = serial->tiocmget; in hso_get_count() local
1613 if (!tiocmget) in hso_get_count()
1616 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_get_count()
1639 struct hso_tiocmget *tiocmget; in hso_serial_tiocmget() local
1650 tiocmget = serial->tiocmget; in hso_serial_tiocmget()
1651 if (tiocmget) { in hso_serial_tiocmget()
1654 tiocmget->prev_UART_state_bitmap); in hso_serial_tiocmget()
2195 if (serial->tiocmget) in hso_start_serial_device()
2197 serial->tiocmget, in hso_start_serial_device()
2206 struct hso_tiocmget *tiocmget; in hso_stop_serial_device() local
2234 tiocmget = serial->tiocmget; in hso_stop_serial_device()
2235 if (tiocmget) { in hso_stop_serial_device()
2236 wake_up_interruptible(&tiocmget->waitq); in hso_stop_serial_device()
2237 usb_kill_urb(tiocmget->urb); in hso_stop_serial_device()
2574 struct hso_tiocmget *tiocmget; in hso_free_tiomget() local
2577 tiocmget = serial->tiocmget; in hso_free_tiomget()
2578 if (tiocmget) { in hso_free_tiomget()
2579 usb_free_urb(tiocmget->urb); in hso_free_tiomget()
2580 tiocmget->urb = NULL; in hso_free_tiomget()
2581 serial->tiocmget = NULL; in hso_free_tiomget()
2582 kfree(tiocmget); in hso_free_tiomget()
2615 struct hso_tiocmget *tiocmget; in hso_create_bulk_serial_device() local
2630 serial->tiocmget = kzalloc(sizeof(struct hso_tiocmget), in hso_create_bulk_serial_device()
2635 if (serial->tiocmget) { in hso_create_bulk_serial_device()
2636 tiocmget = serial->tiocmget; in hso_create_bulk_serial_device()
2637 tiocmget->urb = usb_alloc_urb(0, GFP_KERNEL); in hso_create_bulk_serial_device()
2638 if (tiocmget->urb) { in hso_create_bulk_serial_device()
2639 mutex_init(&tiocmget->mutex); in hso_create_bulk_serial_device()
2640 init_waitqueue_head(&tiocmget->waitq); in hso_create_bulk_serial_device()
2641 tiocmget->endp = hso_get_ep( in hso_create_bulk_serial_device()
3200 .tiocmget = hso_serial_tiocmget,