Lines Matching refs:rxqcqs

64 				     lif->rxqcqs[qi]->intr.index,  in ionic_dim_work()
429 if (lif->rxqcqs) { in ionic_qcqs_free()
432 devm_kfree(dev, lif->rxqcqs); in ionic_qcqs_free()
433 lif->rxqcqs = NULL; in ionic_qcqs_free()
693 lif->rxqcqs = devm_kcalloc(dev, lif->ionic->nrxqs_per_lif, in ionic_qcqs_alloc()
694 sizeof(*lif->rxqcqs), GFP_KERNEL); in ionic_qcqs_alloc()
695 if (!lif->rxqcqs) in ionic_qcqs_alloc()
1869 if (lif->rxqcqs) { in ionic_txrx_disable()
1871 err = ionic_qcq_disable(lif, lif->rxqcqs[i], err); in ionic_txrx_disable()
1892 if (lif->rxqcqs) { in ionic_txrx_deinit()
1893 for (i = 0; i < lif->nxqs && lif->rxqcqs[i]; i++) { in ionic_txrx_deinit()
1894 ionic_lif_qcq_deinit(lif, lif->rxqcqs[i]); in ionic_txrx_deinit()
1895 ionic_rx_empty(&lif->rxqcqs[i]->q); in ionic_txrx_deinit()
1924 if (lif->rxqcqs) { in ionic_txrx_free()
1925 for (i = 0; i < lif->ionic->nrxqs_per_lif && lif->rxqcqs[i]; i++) { in ionic_txrx_free()
1926 ionic_qcq_free(lif, lif->rxqcqs[i]); in ionic_txrx_free()
1927 devm_kfree(lif->ionic->dev, lif->rxqcqs[i]); in ionic_txrx_free()
1928 lif->rxqcqs[i] = NULL; in ionic_txrx_free()
1996 lif->kern_pid, &lif->rxqcqs[i]); in ionic_txrx_alloc()
2000 lif->rxqcqs[i]->q.features = lif->rxq_features; in ionic_txrx_alloc()
2003 lif->rxqcqs[i]->intr.index, in ionic_txrx_alloc()
2006 lif->rxqcqs[i]->intr.dim_coal_hw = lif->rx_coalesce_hw; in ionic_txrx_alloc()
2009 ionic_link_qcq_interrupts(lif->rxqcqs[i], in ionic_txrx_alloc()
2012 ionic_debugfs_add_qcq(lif, lif->rxqcqs[i]); in ionic_txrx_alloc()
2033 err = ionic_lif_rxq_init(lif, lif->rxqcqs[i]); in ionic_txrx_init()
2050 ionic_lif_qcq_deinit(lif, lif->rxqcqs[i]); in ionic_txrx_init()
2062 if (!(lif->rxqcqs[i] && lif->txqcqs[i])) { in ionic_txrx_enable()
2068 ionic_rx_fill(&lif->rxqcqs[i]->q); in ionic_txrx_enable()
2069 err = ionic_qcq_enable(lif->rxqcqs[i]); in ionic_txrx_enable()
2075 derr = ionic_qcq_disable(lif, lif->rxqcqs[i], err); in ionic_txrx_enable()
2103 derr = ionic_qcq_disable(lif, lif->rxqcqs[i], derr); in ionic_txrx_enable()
2686 flags = lif->rxqcqs[i]->flags & ~IONIC_QCQ_F_INTR; in ionic_reconfigure_queues()
2721 ionic_swap_queues(lif->rxqcqs[i], rx_qcqs[i]); in ionic_reconfigure_queues()
2738 ionic_qcq_intr_free(lif, lif->rxqcqs[i]); in ionic_reconfigure_queues()
2743 lif->rxqcqs[i]->flags |= IONIC_QCQ_F_INTR; in ionic_reconfigure_queues()
2744 err = ionic_alloc_qcq_interrupt(lif, lif->rxqcqs[i]); in ionic_reconfigure_queues()
2746 lif->rxqcqs[i]->intr.index, in ionic_reconfigure_queues()
2759 ionic_link_qcq_interrupts(lif->rxqcqs[i], lif->txqcqs[i]); in ionic_reconfigure_queues()
2774 ionic_debugfs_del_qcq(lif->rxqcqs[i]); in ionic_reconfigure_queues()
2775 ionic_debugfs_add_qcq(lif, lif->rxqcqs[i]); in ionic_reconfigure_queues()
2825 if (lif->rxqcqs && lif->rxqcqs[i]) { in ionic_reconfigure_queues()
2826 lif->rxqcqs[i]->flags &= ~IONIC_QCQ_F_INTR; in ionic_reconfigure_queues()
2827 ionic_qcq_free(lif, lif->rxqcqs[i]); in ionic_reconfigure_queues()