Lines Matching refs:pf_q

79 static int ice_pf_rxq_wait(struct ice_pf *pf, int pf_q, bool ena)  in ice_pf_rxq_wait()  argument
84 if (ena == !!(rd32(&pf->hw, QRX_CTRL(pf_q)) & in ice_pf_rxq_wait()
279 ice_setup_tx_ctx(struct ice_tx_ring *ring, struct ice_tlan_ctx *tlan_ctx, u16 pf_q) in ice_setup_tx_ctx() argument
339 tlan_ctx->tso_qnum = pf_q; in ice_setup_tx_ctx()
377 u16 pf_q; in ice_setup_rx_ctx() local
383 pf_q = vsi->rxq_map[ring->q_index]; in ice_setup_rx_ctx()
458 ice_write_qrxflxp_cntxt(hw, pf_q, rxdid, 0x3, true); in ice_setup_rx_ctx()
460 ice_write_qrxflxp_cntxt(hw, pf_q, ICE_RXDID_LEGACY_1, 0x3, in ice_setup_rx_ctx()
464 err = ice_write_rxq_ctx(hw, &rlan_ctx, pf_q); in ice_setup_rx_ctx()
467 pf_q, err); in ice_setup_rx_ctx()
483 ring->tail = hw->hw_addr + QRX_TAIL(pf_q); in ice_setup_rx_ctx()
559 u16 pf_q = ring->vsi->rxq_map[ring->q_index]; in ice_vsi_cfg_rxq() local
562 ring->q_index, pf_q); in ice_vsi_cfg_rxq()
609 int pf_q = vsi->rxq_map[rxq_idx]; in ice_vsi_ctrl_one_rx_ring() local
614 rx_reg = rd32(hw, QRX_CTRL(pf_q)); in ice_vsi_ctrl_one_rx_ring()
625 wr32(hw, QRX_CTRL(pf_q), rx_reg); in ice_vsi_ctrl_one_rx_ring()
631 return ice_pf_rxq_wait(pf, pf_q, ena); in ice_vsi_ctrl_one_rx_ring()
647 int pf_q = vsi->rxq_map[rxq_idx]; in ice_vsi_wait_one_rx_ring() local
650 return ice_pf_rxq_wait(pf, pf_q, ena); in ice_vsi_wait_one_rx_ring()
777 u16 pf_q; in ice_vsi_cfg_txq() local
783 pf_q = ring->reg_idx; in ice_vsi_cfg_txq()
784 ice_setup_tx_ctx(ring, &tlan_ctx, pf_q); in ice_vsi_cfg_txq()
786 qg_buf->txqs[0].txq_id = cpu_to_le16(pf_q); in ice_vsi_cfg_txq()
793 ring->tail = hw->hw_addr + QTX_COMM_DBELL(pf_q); in ice_vsi_cfg_txq()
831 if (pf_q == le16_to_cpu(txq->txq_id)) in ice_vsi_cfg_txq()