Lines Matching refs:fbnic_ring_wr32

39 static void fbnic_ring_wr32(struct fbnic_ring *ring, unsigned int csr, u32 val)  in fbnic_ring_wr32()  function
1487 fbnic_ring_wr32(txr, FBNIC_QUEUE_TWQ0_CTL, twq_ctl); in fbnic_disable_twq0()
1492 fbnic_ring_wr32(txr, FBNIC_QUEUE_TCQ_CTL, 0); in fbnic_disable_tcq()
1493 fbnic_ring_wr32(txr, FBNIC_QUEUE_TIM_MASK, FBNIC_QUEUE_TIM_MASK_MASK); in fbnic_disable_tcq()
1502 fbnic_ring_wr32(hpq, FBNIC_QUEUE_BDQ_CTL, bdq_ctl); in fbnic_disable_bdq()
1507 fbnic_ring_wr32(rxr, FBNIC_QUEUE_RCQ_CTL, 0); in fbnic_disable_rcq()
1508 fbnic_ring_wr32(rxr, FBNIC_QUEUE_RIM_MASK, FBNIC_QUEUE_RIM_MASK_MASK); in fbnic_disable_rcq()
1731 fbnic_ring_wr32(twq, FBNIC_QUEUE_TWQ0_CTL, FBNIC_QUEUE_TWQ_CTL_RESET); in fbnic_enable_twq0()
1736 fbnic_ring_wr32(twq, FBNIC_QUEUE_TWQ0_BAL, lower_32_bits(twq->dma)); in fbnic_enable_twq0()
1737 fbnic_ring_wr32(twq, FBNIC_QUEUE_TWQ0_BAH, upper_32_bits(twq->dma)); in fbnic_enable_twq0()
1740 fbnic_ring_wr32(twq, FBNIC_QUEUE_TWQ0_SIZE, log_size & 0xf); in fbnic_enable_twq0()
1742 fbnic_ring_wr32(twq, FBNIC_QUEUE_TWQ0_CTL, FBNIC_QUEUE_TWQ_CTL_ENABLE); in fbnic_enable_twq0()
1754 fbnic_ring_wr32(tcq, FBNIC_QUEUE_TCQ_CTL, FBNIC_QUEUE_TCQ_CTL_RESET); in fbnic_enable_tcq()
1759 fbnic_ring_wr32(tcq, FBNIC_QUEUE_TCQ_BAL, lower_32_bits(tcq->dma)); in fbnic_enable_tcq()
1760 fbnic_ring_wr32(tcq, FBNIC_QUEUE_TCQ_BAH, upper_32_bits(tcq->dma)); in fbnic_enable_tcq()
1763 fbnic_ring_wr32(tcq, FBNIC_QUEUE_TCQ_SIZE, log_size & 0xf); in fbnic_enable_tcq()
1766 fbnic_ring_wr32(tcq, FBNIC_QUEUE_TIM_CTL, nv->v_idx); in fbnic_enable_tcq()
1767 fbnic_ring_wr32(tcq, FBNIC_QUEUE_TIM_THRESHOLD, tcq->size_mask / 2); in fbnic_enable_tcq()
1768 fbnic_ring_wr32(tcq, FBNIC_QUEUE_TIM_MASK, 0); in fbnic_enable_tcq()
1771 fbnic_ring_wr32(tcq, FBNIC_QUEUE_TCQ_CTL, FBNIC_QUEUE_TCQ_CTL_ENABLE); in fbnic_enable_tcq()
1780 fbnic_ring_wr32(hpq, FBNIC_QUEUE_BDQ_CTL, FBNIC_QUEUE_BDQ_CTL_RESET); in fbnic_enable_bdq()
1789 fbnic_ring_wr32(hpq, FBNIC_QUEUE_BDQ_HPQ_BAL, lower_32_bits(hpq->dma)); in fbnic_enable_bdq()
1790 fbnic_ring_wr32(hpq, FBNIC_QUEUE_BDQ_HPQ_BAH, upper_32_bits(hpq->dma)); in fbnic_enable_bdq()
1793 fbnic_ring_wr32(hpq, FBNIC_QUEUE_BDQ_HPQ_SIZE, log_size & 0xf); in fbnic_enable_bdq()
1804 fbnic_ring_wr32(ppq, FBNIC_QUEUE_BDQ_PPQ_BAL, lower_32_bits(ppq->dma)); in fbnic_enable_bdq()
1805 fbnic_ring_wr32(ppq, FBNIC_QUEUE_BDQ_PPQ_BAH, upper_32_bits(ppq->dma)); in fbnic_enable_bdq()
1806 fbnic_ring_wr32(ppq, FBNIC_QUEUE_BDQ_PPQ_SIZE, log_size & 0xf); in fbnic_enable_bdq()
1809 fbnic_ring_wr32(hpq, FBNIC_QUEUE_BDQ_CTL, bdq_ctl); in fbnic_enable_bdq()
1824 fbnic_ring_wr32(rcq, FBNIC_QUEUE_RDE_CTL0, rcq_ctl); in fbnic_config_drop_mode_rcq()
1842 fbnic_ring_wr32(rcq, FBNIC_QUEUE_RDE_CTL1, rcq_ctl); in fbnic_enable_rcq()
1845 fbnic_ring_wr32(rcq, FBNIC_QUEUE_RCQ_CTL, FBNIC_QUEUE_RCQ_CTL_RESET); in fbnic_enable_rcq()
1850 fbnic_ring_wr32(rcq, FBNIC_QUEUE_RCQ_BAL, lower_32_bits(rcq->dma)); in fbnic_enable_rcq()
1851 fbnic_ring_wr32(rcq, FBNIC_QUEUE_RCQ_BAH, upper_32_bits(rcq->dma)); in fbnic_enable_rcq()
1854 fbnic_ring_wr32(rcq, FBNIC_QUEUE_RCQ_SIZE, log_size & 0xf); in fbnic_enable_rcq()
1857 fbnic_ring_wr32(rcq, FBNIC_QUEUE_RIM_CTL, nv->v_idx); in fbnic_enable_rcq()
1858 fbnic_ring_wr32(rcq, FBNIC_QUEUE_RIM_THRESHOLD, rcq->size_mask / 2); in fbnic_enable_rcq()
1859 fbnic_ring_wr32(rcq, FBNIC_QUEUE_RIM_MASK, 0); in fbnic_enable_rcq()
1862 fbnic_ring_wr32(rcq, FBNIC_QUEUE_RCQ_CTL, FBNIC_QUEUE_RCQ_CTL_ENABLE); in fbnic_enable_rcq()