Lines Matching full:oct
45 lio_setup_response_list(struct octeon_device *oct) in lio_setup_response_list() argument
51 STAILQ_INIT(&oct->response_list[i].head); in lio_setup_response_list()
52 mtx_init(&oct->response_list[i].lock, "response_list_lock", in lio_setup_response_list()
54 atomic_store_rel_int(&oct->response_list[i].pending_req_count, in lio_setup_response_list()
57 mtx_init(&oct->cmd_resp_wqlock, "cmd_resp_wqlock", NULL, MTX_DEF); in lio_setup_response_list()
59 ctq = &oct->dma_comp_tq; in lio_setup_response_list()
65 ctq->ctxptr = oct; in lio_setup_response_list()
67 oct->cmd_resp_state = LIO_DRV_ONLINE; in lio_setup_response_list()
69 oct->octeon_id); in lio_setup_response_list()
76 lio_delete_response_list(struct octeon_device *oct) in lio_delete_response_list() argument
79 if (oct->dma_comp_tq.tq != NULL) { in lio_delete_response_list()
80 while (taskqueue_cancel_timeout(oct->dma_comp_tq.tq, in lio_delete_response_list()
81 &oct->dma_comp_tq.work, NULL)) in lio_delete_response_list()
82 taskqueue_drain_timeout(oct->dma_comp_tq.tq, in lio_delete_response_list()
83 &oct->dma_comp_tq.work); in lio_delete_response_list()
84 taskqueue_free(oct->dma_comp_tq.tq); in lio_delete_response_list()
85 oct->dma_comp_tq.tq = NULL; in lio_delete_response_list()
199 struct octeon_device *oct = (struct octeon_device *)ctq->ctxptr; in lio_poll_req_completion() local
201 lio_process_ordered_list(oct, 0); in lio_poll_req_completion()