Lines Matching refs:tiocmget

231 	struct hso_tiocmget  *tiocmget;  member
1423 struct hso_tiocmget *tiocmget, in tiocmget_submit_urb() argument
1430 usb_fill_int_urb(tiocmget->urb, usb, in tiocmget_submit_urb()
1432 tiocmget->endp-> in tiocmget_submit_urb()
1434 tiocmget->serial_state_notification, in tiocmget_submit_urb()
1437 tiocmget->endp->bInterval); in tiocmget_submit_urb()
1438 result = usb_submit_urb(tiocmget->urb, GFP_ATOMIC); in tiocmget_submit_urb()
1450 struct hso_tiocmget *tiocmget; in tiocmget_intr_callback() local
1468 tiocmget = serial->tiocmget; in tiocmget_intr_callback()
1469 if (!tiocmget) in tiocmget_intr_callback()
1481 serial_state_notification = tiocmget->serial_state_notification; in tiocmget_intr_callback()
1496 prev_UART_state_bitmap = tiocmget->prev_UART_state_bitmap; in tiocmget_intr_callback()
1497 icount = &tiocmget->icount; in tiocmget_intr_callback()
1520 tiocmget->prev_UART_state_bitmap = UART_state_bitmap; in tiocmget_intr_callback()
1522 tiocmget->intr_completed = 1; in tiocmget_intr_callback()
1523 wake_up_interruptible(&tiocmget->waitq); in tiocmget_intr_callback()
1528 tiocmget, in tiocmget_intr_callback()
1545 struct hso_tiocmget *tiocmget; in hso_wait_modem_status() local
1548 tiocmget = serial->tiocmget; in hso_wait_modem_status()
1549 if (!tiocmget) in hso_wait_modem_status()
1555 memcpy(&cprev, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status()
1557 add_wait_queue(&tiocmget->waitq, &wait); in hso_wait_modem_status()
1560 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_wait_modem_status()
1578 remove_wait_queue(&tiocmget->waitq, &wait); in hso_wait_modem_status()
1594 struct hso_tiocmget *tiocmget = serial->tiocmget; in hso_get_count() local
1598 if (!tiocmget) in hso_get_count()
1601 memcpy(&cnow, &tiocmget->icount, sizeof(struct uart_icount)); in hso_get_count()
1624 struct hso_tiocmget *tiocmget; in hso_serial_tiocmget() local
1635 tiocmget = serial->tiocmget; in hso_serial_tiocmget()
1636 if (tiocmget) { in hso_serial_tiocmget()
1639 tiocmget->prev_UART_state_bitmap); in hso_serial_tiocmget()
2180 if (serial->tiocmget) in hso_start_serial_device()
2182 serial->tiocmget, in hso_start_serial_device()
2191 struct hso_tiocmget *tiocmget; in hso_stop_serial_device() local
2219 tiocmget = serial->tiocmget; in hso_stop_serial_device()
2220 if (tiocmget) { in hso_stop_serial_device()
2221 wake_up_interruptible(&tiocmget->waitq); in hso_stop_serial_device()
2222 usb_kill_urb(tiocmget->urb); in hso_stop_serial_device()
2578 struct hso_tiocmget *tiocmget; in hso_free_tiomget() local
2581 tiocmget = serial->tiocmget; in hso_free_tiomget()
2582 if (tiocmget) { in hso_free_tiomget()
2583 usb_free_urb(tiocmget->urb); in hso_free_tiomget()
2584 tiocmget->urb = NULL; in hso_free_tiomget()
2585 serial->tiocmget = NULL; in hso_free_tiomget()
2586 kfree(tiocmget->serial_state_notification); in hso_free_tiomget()
2587 tiocmget->serial_state_notification = NULL; in hso_free_tiomget()
2588 kfree(tiocmget); in hso_free_tiomget()
2621 struct hso_tiocmget *tiocmget; in hso_create_bulk_serial_device() local
2636 serial->tiocmget = kzalloc(sizeof(struct hso_tiocmget), in hso_create_bulk_serial_device()
2638 if (!serial->tiocmget) in hso_create_bulk_serial_device()
2640 serial->tiocmget->serial_state_notification in hso_create_bulk_serial_device()
2643 if (!serial->tiocmget->serial_state_notification) in hso_create_bulk_serial_device()
2645 tiocmget = serial->tiocmget; in hso_create_bulk_serial_device()
2646 tiocmget->endp = hso_get_ep(interface, in hso_create_bulk_serial_device()
2649 if (!tiocmget->endp) { in hso_create_bulk_serial_device()
2654 tiocmget->urb = usb_alloc_urb(0, GFP_KERNEL); in hso_create_bulk_serial_device()
2655 if (!tiocmget->urb) in hso_create_bulk_serial_device()
2658 mutex_init(&tiocmget->mutex); in hso_create_bulk_serial_device()
2659 init_waitqueue_head(&tiocmget->waitq); in hso_create_bulk_serial_device()
3217 .tiocmget = hso_serial_tiocmget,