Lines Matching refs:hwc_wq
55 static int mana_hwc_post_rx_wqe(const struct hwc_wq *hwc_rxq, in mana_hwc_post_rx_wqe()
214 struct hwc_wq *hwc_rxq = hwc->rxq; in mana_hwc_rx_event_handler()
258 struct hwc_wq *hwc_txq = hwc->txq; in mana_hwc_tx_event_handler()
478 struct hwc_wq *hwc_wq) in mana_hwc_destroy_wq() argument
480 mana_hwc_dealloc_dma_buf(hwc, hwc_wq->msg_buf); in mana_hwc_destroy_wq()
482 if (hwc_wq->gdma_wq) in mana_hwc_destroy_wq()
484 hwc_wq->gdma_wq); in mana_hwc_destroy_wq()
486 kfree(hwc_wq); in mana_hwc_destroy_wq()
492 struct hwc_wq **hwc_wq_ptr) in mana_hwc_create_wq()
495 struct hwc_wq *hwc_wq; in mana_hwc_create_wq() local
509 hwc_wq = kzalloc(sizeof(*hwc_wq), GFP_KERNEL); in mana_hwc_create_wq()
510 if (!hwc_wq) in mana_hwc_create_wq()
517 hwc_wq->hwc = hwc; in mana_hwc_create_wq()
518 hwc_wq->gdma_wq = queue; in mana_hwc_create_wq()
519 hwc_wq->queue_depth = q_depth; in mana_hwc_create_wq()
520 hwc_wq->hwc_cq = hwc_cq; in mana_hwc_create_wq()
523 &hwc_wq->msg_buf); in mana_hwc_create_wq()
527 *hwc_wq_ptr = hwc_wq; in mana_hwc_create_wq()
531 mana_hwc_destroy_wq(hwc, hwc_wq); in mana_hwc_create_wq()
535 static int mana_hwc_post_tx_wqe(const struct hwc_wq *hwc_txq, in mana_hwc_post_tx_wqe()
597 struct hwc_wq *hwc_rxq = hwc->rxq; in mana_hwc_test_channel()
815 struct hwc_wq *txq = hwc->txq; in mana_hwc_send_request()