Lines Matching refs:hwc_wq
80 static int mana_hwc_post_rx_wqe(const struct hwc_wq *hwc_rxq, in mana_hwc_post_rx_wqe()
187 struct hwc_wq *hwc_rxq = hwc->rxq; in mana_hwc_rx_event_handler()
233 struct hwc_wq *hwc_txq = hwc->txq; in mana_hwc_tx_event_handler()
452 struct hwc_wq *hwc_wq) in mana_hwc_destroy_wq() argument
454 mana_hwc_dealloc_dma_buf(hwc, hwc_wq->msg_buf); in mana_hwc_destroy_wq()
456 if (hwc_wq->gdma_wq) in mana_hwc_destroy_wq()
458 hwc_wq->gdma_wq); in mana_hwc_destroy_wq()
460 kfree(hwc_wq); in mana_hwc_destroy_wq()
466 struct hwc_wq **hwc_wq_ptr) in mana_hwc_create_wq()
469 struct hwc_wq *hwc_wq; in mana_hwc_create_wq() local
483 hwc_wq = kzalloc(sizeof(*hwc_wq), GFP_KERNEL); in mana_hwc_create_wq()
484 if (!hwc_wq) in mana_hwc_create_wq()
491 hwc_wq->hwc = hwc; in mana_hwc_create_wq()
492 hwc_wq->gdma_wq = queue; in mana_hwc_create_wq()
493 hwc_wq->queue_depth = q_depth; in mana_hwc_create_wq()
494 hwc_wq->hwc_cq = hwc_cq; in mana_hwc_create_wq()
497 &hwc_wq->msg_buf); in mana_hwc_create_wq()
501 *hwc_wq_ptr = hwc_wq; in mana_hwc_create_wq()
505 mana_hwc_destroy_wq(hwc, hwc_wq); in mana_hwc_create_wq()
509 static int mana_hwc_post_tx_wqe(const struct hwc_wq *hwc_txq, in mana_hwc_post_tx_wqe()
571 struct hwc_wq *hwc_rxq = hwc->rxq; in mana_hwc_test_channel()
786 struct hwc_wq *txq = hwc->txq; in mana_hwc_send_request()