Home
last modified time | relevance | path

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

/linux-4.1.27/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.c2320 unsigned cwait; in get_serial_info() local
2325 cwait = edge_port->port->port.closing_wait; in get_serial_info()
2326 if (cwait != ASYNC_CLOSING_WAIT_NONE) in get_serial_info()
2327 cwait = jiffies_to_msecs(cwait) / 10; in get_serial_info()
2339 tmp.closing_wait = cwait; in get_serial_info()
/linux-4.1.27/kernel/
Dworkqueue.c2802 struct cwt_wait *cwait = container_of(wait, struct cwt_wait, wait); in cwt_wakefn() local
2804 if (cwait->work != key) in cwt_wakefn()
2834 struct cwt_wait cwait; in __cancel_work_timer() local
2836 init_wait(&cwait.wait); in __cancel_work_timer()
2837 cwait.wait.func = cwt_wakefn; in __cancel_work_timer()
2838 cwait.work = work; in __cancel_work_timer()
2840 prepare_to_wait_exclusive(&cancel_waitq, &cwait.wait, in __cancel_work_timer()
2844 finish_wait(&cancel_waitq, &cwait.wait); in __cancel_work_timer()