Lines Matching refs:rxc
194 struct dln2_rx_context *rxc; in dln2_transfer_complete() local
201 rxc = &rxs->slots[rx_slot]; in dln2_transfer_complete()
204 if (rxc->in_use && !rxc->urb) { in dln2_transfer_complete()
205 rxc->urb = urb; in dln2_transfer_complete()
206 complete(&rxc->done); in dln2_transfer_complete()
366 struct dln2_rx_context *rxc = &rxs->slots[*slot]; in find_free_slot() local
369 rxc->in_use = true; in find_free_slot()
399 struct dln2_rx_context *rxc; in free_rx_slot() local
407 rxc = &rxs->slots[slot]; in free_rx_slot()
408 rxc->in_use = false; in free_rx_slot()
409 urb = rxc->urb; in free_rx_slot()
410 rxc->urb = NULL; in free_rx_slot()
411 reinit_completion(&rxc->done); in free_rx_slot()
434 struct dln2_rx_context *rxc; in _dln2_transfer() local
462 rxc = &rxs->slots[rx_slot]; in _dln2_transfer()
464 ret = wait_for_completion_interruptible_timeout(&rxc->done, timeout); in _dln2_transfer()
479 rsp = rxc->urb->transfer_buffer; in _dln2_transfer()
738 struct dln2_rx_context *rxc = &rxs->slots[j]; in dln2_stop() local
740 if (rxc->in_use) in dln2_stop()
741 complete(&rxc->done); in dln2_stop()