Home
last modified time | relevance | path

Searched refs:cwait (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/usb/serial/
Dti_usb_3410_5052.c1221 unsigned cwait; in ti_get_serial_info() local
1226 cwait = port->port.closing_wait; in ti_get_serial_info()
1227 if (cwait != ASYNC_CLOSING_WAIT_NONE) in ti_get_serial_info()
1228 cwait = jiffies_to_msecs(cwait) / 10; in ti_get_serial_info()
1238 ret_serial.closing_wait = cwait; in ti_get_serial_info()
1251 unsigned cwait; in ti_set_serial_info() local
1256 cwait = new_serial.closing_wait; in ti_set_serial_info()
1257 if (cwait != ASYNC_CLOSING_WAIT_NONE) in ti_set_serial_info()
1258 cwait = msecs_to_jiffies(10 * new_serial.closing_wait); in ti_set_serial_info()
1261 tport->tp_port->port.closing_wait = cwait; in ti_set_serial_info()
Dio_ti.c2460 unsigned cwait; in get_serial_info() local
2465 cwait = edge_port->port->port.closing_wait; in get_serial_info()
2466 if (cwait != ASYNC_CLOSING_WAIT_NONE) in get_serial_info()
2467 cwait = jiffies_to_msecs(cwait) / 10; in get_serial_info()
2479 tmp.closing_wait = cwait; in get_serial_info()
/linux-4.4.14/kernel/
Dworkqueue.c2795 struct cwt_wait *cwait = container_of(wait, struct cwt_wait, wait); in cwt_wakefn() local
2797 if (cwait->work != key) in cwt_wakefn()
2827 struct cwt_wait cwait; in __cancel_work_timer() local
2829 init_wait(&cwait.wait); in __cancel_work_timer()
2830 cwait.wait.func = cwt_wakefn; in __cancel_work_timer()
2831 cwait.work = work; in __cancel_work_timer()
2833 prepare_to_wait_exclusive(&cancel_waitq, &cwait.wait, in __cancel_work_timer()
2837 finish_wait(&cancel_waitq, &cwait.wait); in __cancel_work_timer()