• Home
  • Raw
  • Download

Lines Matching refs:reg_idx

1226 			IXGBE_READ_REG(hw, IXGBE_TDH(tx_ring->reg_idx)),  in ixgbe_clean_tx_irq()
1227 IXGBE_READ_REG(hw, IXGBE_TDT(tx_ring->reg_idx)), in ixgbe_clean_tx_irq()
1285 reg_offset = IXGBE_DCA_TXCTRL(tx_ring->reg_idx); in ixgbe_update_tx_dca()
1289 reg_offset = IXGBE_DCA_TXCTRL_82599(tx_ring->reg_idx); in ixgbe_update_tx_dca()
1315 u8 reg_idx = rx_ring->reg_idx; in ixgbe_update_rx_dca() local
1338 IXGBE_WRITE_REG(hw, IXGBE_DCA_RXCTRL(reg_idx), rxctrl); in ixgbe_update_rx_dca()
2472 ixgbe_set_ivar(adapter, 0, ring->reg_idx, v_idx); in ixgbe_configure_msix()
2475 ixgbe_set_ivar(adapter, 1, ring->reg_idx, v_idx); in ixgbe_configure_msix()
3468 u8 reg_idx = ring->reg_idx; in ixgbe_configure_tx_ring() local
3475 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), 0); in ixgbe_configure_tx_ring()
3478 IXGBE_WRITE_REG(hw, IXGBE_TDBAL(reg_idx), in ixgbe_configure_tx_ring()
3480 IXGBE_WRITE_REG(hw, IXGBE_TDBAH(reg_idx), (tdba >> 32)); in ixgbe_configure_tx_ring()
3481 IXGBE_WRITE_REG(hw, IXGBE_TDLEN(reg_idx), in ixgbe_configure_tx_ring()
3483 IXGBE_WRITE_REG(hw, IXGBE_TDH(reg_idx), 0); in ixgbe_configure_tx_ring()
3484 IXGBE_WRITE_REG(hw, IXGBE_TDT(reg_idx), 0); in ixgbe_configure_tx_ring()
3485 ring->tail = adapter->io_addr + IXGBE_TDT(reg_idx); in ixgbe_configure_tx_ring()
3535 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), txdctl); in ixgbe_configure_tx_ring()
3545 txdctl = IXGBE_READ_REG(hw, IXGBE_TXDCTL(reg_idx)); in ixgbe_configure_tx_ring()
3548 hw_dbg(hw, "Could not enable Tx Queue %d\n", reg_idx); in ixgbe_configure_tx_ring()
3638 u8 reg_idx = ring->reg_idx; in ixgbe_enable_rx_drop() local
3639 u32 srrctl = IXGBE_READ_REG(hw, IXGBE_SRRCTL(reg_idx)); in ixgbe_enable_rx_drop()
3643 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_enable_rx_drop()
3650 u8 reg_idx = ring->reg_idx; in ixgbe_disable_rx_drop() local
3651 u32 srrctl = IXGBE_READ_REG(hw, IXGBE_SRRCTL(reg_idx)); in ixgbe_disable_rx_drop()
3655 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_disable_rx_drop()
3696 u8 reg_idx = rx_ring->reg_idx; in ixgbe_configure_srrctl() local
3705 reg_idx &= mask; in ixgbe_configure_srrctl()
3736 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_configure_srrctl()
4005 u8 reg_idx = ring->reg_idx; in ixgbe_configure_rscctl() local
4010 rscctrl = IXGBE_READ_REG(hw, IXGBE_RSCCTL(reg_idx)); in ixgbe_configure_rscctl()
4018 IXGBE_WRITE_REG(hw, IXGBE_RSCCTL(reg_idx), rscctrl); in ixgbe_configure_rscctl()
4028 u8 reg_idx = ring->reg_idx; in ixgbe_rx_desc_queue_enable() local
4039 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_rx_desc_queue_enable()
4044 "the polling period\n", reg_idx); in ixgbe_rx_desc_queue_enable()
4055 u8 reg_idx = ring->reg_idx; in ixgbe_configure_rx_ring() local
4070 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_configure_rx_ring()
4074 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_configure_rx_ring()
4077 IXGBE_WRITE_REG(hw, IXGBE_RDBAL(reg_idx), (rdba & DMA_BIT_MASK(32))); in ixgbe_configure_rx_ring()
4078 IXGBE_WRITE_REG(hw, IXGBE_RDBAH(reg_idx), (rdba >> 32)); in ixgbe_configure_rx_ring()
4079 IXGBE_WRITE_REG(hw, IXGBE_RDLEN(reg_idx), in ixgbe_configure_rx_ring()
4084 IXGBE_WRITE_REG(hw, IXGBE_RDH(reg_idx), 0); in ixgbe_configure_rx_ring()
4085 IXGBE_WRITE_REG(hw, IXGBE_RDT(reg_idx), 0); in ixgbe_configure_rx_ring()
4086 ring->tail = adapter->io_addr + IXGBE_RDT(reg_idx); in ixgbe_configure_rx_ring()
4140 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_configure_rx_ring()
4507 j = ring->reg_idx; in ixgbe_vlan_strip_disable()
4545 j = ring->reg_idx; in ixgbe_vlan_strip_enable()
5271 queue = adapter->rx_ring[ring]->reg_idx; in ixgbe_fdir_filter_restore()
5768 u8 reg_idx = ring->reg_idx; in ixgbe_disable_rx() local
5770 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_disable_rx()
5775 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_disable_rx()
5811 u8 reg_idx = ring->reg_idx; in ixgbe_disable_rx() local
5813 rxdctl |= IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_disable_rx()
5837 u8 reg_idx = ring->reg_idx; in ixgbe_disable_tx() local
5839 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), IXGBE_TXDCTL_SWFLSH); in ixgbe_disable_tx()
5845 u8 reg_idx = ring->reg_idx; in ixgbe_disable_tx() local
5847 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), IXGBE_TXDCTL_SWFLSH); in ixgbe_disable_tx()
5886 u8 reg_idx = ring->reg_idx; in ixgbe_disable_tx() local
5888 txdctl |= IXGBE_READ_REG(hw, IXGBE_TXDCTL(reg_idx)); in ixgbe_disable_tx()
5892 u8 reg_idx = ring->reg_idx; in ixgbe_disable_tx() local
5894 txdctl |= IXGBE_READ_REG(hw, IXGBE_TXDCTL(reg_idx)); in ixgbe_disable_tx()
9276 data->queue = adapter->rx_ring[vadapter->rx_base_queue]->reg_idx; in get_macvlan_queue()
10301 u8 reg_idx = tx_ring->reg_idx; in ixgbe_disable_txr_hw() local
10305 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), IXGBE_TXDCTL_SWFLSH); in ixgbe_disable_txr_hw()
10316 txdctl = IXGBE_READ_REG(hw, IXGBE_TXDCTL(reg_idx)); in ixgbe_disable_txr_hw()
10337 u8 reg_idx = rx_ring->reg_idx; in ixgbe_disable_rxr_hw() local
10341 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_disable_rxr_hw()
10346 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_disable_rxr_hw()
10362 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_disable_rxr_hw()