Lines Matching refs:hwc_wq
121 mana_hwc_post_rx_wqe(const struct hwc_wq *hwc_rxq, in mana_hwc_post_rx_wqe()
223 struct hwc_wq *hwc_rxq = hwc->rxq; in mana_hwc_rx_event_handler()
285 struct hwc_wq *hwc_txq = hwc->txq; in mana_hwc_tx_event_handler()
519 struct hwc_wq *hwc_wq) in mana_hwc_destroy_wq() argument
521 mana_hwc_dealloc_dma_buf(hwc, hwc_wq->msg_buf); in mana_hwc_destroy_wq()
523 if (hwc_wq->gdma_wq) in mana_hwc_destroy_wq()
525 hwc_wq->gdma_wq); in mana_hwc_destroy_wq()
527 free(hwc_wq, M_DEVBUF); in mana_hwc_destroy_wq()
534 struct hwc_wq **hwc_wq_ptr) in mana_hwc_create_wq()
537 struct hwc_wq *hwc_wq; in mana_hwc_create_wq() local
554 hwc_wq = malloc(sizeof(*hwc_wq), M_DEVBUF, M_WAITOK | M_ZERO); in mana_hwc_create_wq()
560 hwc_wq->hwc = hwc; in mana_hwc_create_wq()
561 hwc_wq->gdma_wq = queue; in mana_hwc_create_wq()
562 hwc_wq->queue_depth = q_depth; in mana_hwc_create_wq()
563 hwc_wq->hwc_cq = hwc_cq; in mana_hwc_create_wq()
566 &hwc_wq->msg_buf); in mana_hwc_create_wq()
570 *hwc_wq_ptr = hwc_wq; in mana_hwc_create_wq()
574 mana_hwc_destroy_wq(hwc, hwc_wq); in mana_hwc_create_wq()
579 mana_hwc_post_tx_wqe(const struct hwc_wq *hwc_txq, in mana_hwc_post_tx_wqe()
646 struct hwc_wq *hwc_rxq = hwc->rxq; in mana_hwc_test_channel()
867 struct hwc_wq *txq = hwc->txq; in mana_hwc_send_request()