Lines Matching refs:IXGBE_WRITE_REG

835 	IXGBE_WRITE_REG(&adapter->hw, IXGBE_CTRL_EXT,  in ixgbe_release_hw_control()
845 IXGBE_WRITE_REG(&adapter->hw, IXGBE_CTRL_EXT, in ixgbe_get_hw_control()
871 IXGBE_WRITE_REG(hw, IXGBE_IVAR(index), ivar); in ixgbe_set_ivar()
885 IXGBE_WRITE_REG(&adapter->hw, IXGBE_IVAR_MISC, ivar); in ixgbe_set_ivar()
894 IXGBE_WRITE_REG(hw, IXGBE_IVAR(queue >> 1), ivar); in ixgbe_set_ivar()
910 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EICS, mask); in ixgbe_irq_rearm_queues()
918 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EICS_EX(0), mask); in ixgbe_irq_rearm_queues()
920 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EICS_EX(1), mask); in ixgbe_irq_rearm_queues()
1101 IXGBE_WRITE_REG(hw, IXGBE_RTTDQSEL, queue_index); in ixgbe_tx_maxrate()
1102 IXGBE_WRITE_REG(hw, IXGBE_RTTBCNRC, bcnrc_val); in ixgbe_tx_maxrate()
1334 IXGBE_WRITE_REG(hw, reg_offset, txctrl); in ixgbe_update_tx_dca()
1366 IXGBE_WRITE_REG(hw, IXGBE_DCA_RXCTRL(reg_idx), rxctrl); in ixgbe_update_rx_dca()
1395 IXGBE_WRITE_REG(&adapter->hw, IXGBE_DCA_CTRL, in ixgbe_setup_dca()
1398 IXGBE_WRITE_REG(&adapter->hw, IXGBE_DCA_CTRL, in ixgbe_setup_dca()
1422 IXGBE_WRITE_REG(&adapter->hw, IXGBE_DCA_CTRL, in __ixgbe_notify_dca()
1431 IXGBE_WRITE_REG(&adapter->hw, IXGBE_DCA_CTRL, in __ixgbe_notify_dca()
2487 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EITRSEL, eitrsel); in ixgbe_configure_msix()
2522 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EITR(v_idx), 1950); in ixgbe_configure_msix()
2530 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIAC, mask); in ixgbe_configure_msix()
2755 IXGBE_WRITE_REG(hw, IXGBE_EITR(v_idx), itr_reg); in ixgbe_write_eitr()
2850 IXGBE_WRITE_REG(hw, IXGBE_EICR, IXGBE_EICR_GPI_SDP1(hw)); in ixgbe_check_fan_failure()
2881 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMC, in ixgbe_check_overtemp_event()
2883 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EICR, in ixgbe_check_overtemp_event()
2935 IXGBE_WRITE_REG(hw, IXGBE_EICR, eicr_mask); in ixgbe_check_sfp_event()
2946 IXGBE_WRITE_REG(hw, IXGBE_EICR, IXGBE_EICR_GPI_SDP1(hw)); in ixgbe_check_sfp_event()
2962 IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_EIMC_LSC); in ixgbe_check_lsc()
2977 IXGBE_WRITE_REG(hw, IXGBE_EIMS, mask); in ixgbe_irq_enable_queues()
2986 IXGBE_WRITE_REG(hw, IXGBE_EIMS_EX(0), mask); in ixgbe_irq_enable_queues()
2989 IXGBE_WRITE_REG(hw, IXGBE_EIMS_EX(1), mask); in ixgbe_irq_enable_queues()
3055 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMS, mask); in ixgbe_irq_enable()
3085 IXGBE_WRITE_REG(hw, IXGBE_EICR, eicr); in ixgbe_msix_other()
3103 IXGBE_WRITE_REG(hw, IXGBE_EICR, in ixgbe_msix_other()
3110 IXGBE_WRITE_REG(hw, IXGBE_EICR, IXGBE_EICR_ECC); in ixgbe_msix_other()
3124 IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_EIMC_FLOW_DIR); in ixgbe_msix_other()
3315 IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_IRQ_CLEAR_MASK); in ixgbe_intr()
3348 IXGBE_WRITE_REG(hw, IXGBE_EICR, IXGBE_EICR_ECC); in ixgbe_intr()
3437 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMC, ~0); in ixgbe_irq_disable()
3444 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMC, 0xFFFF0000); in ixgbe_irq_disable()
3445 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMC_EX(0), ~0); in ixgbe_irq_disable()
3446 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMC_EX(1), ~0); in ixgbe_irq_disable()
3502 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), 0); in ixgbe_configure_tx_ring()
3505 IXGBE_WRITE_REG(hw, IXGBE_TDBAL(reg_idx), in ixgbe_configure_tx_ring()
3507 IXGBE_WRITE_REG(hw, IXGBE_TDBAH(reg_idx), (tdba >> 32)); in ixgbe_configure_tx_ring()
3508 IXGBE_WRITE_REG(hw, IXGBE_TDLEN(reg_idx), in ixgbe_configure_tx_ring()
3510 IXGBE_WRITE_REG(hw, IXGBE_TDH(reg_idx), 0); in ixgbe_configure_tx_ring()
3511 IXGBE_WRITE_REG(hw, IXGBE_TDT(reg_idx), 0); in ixgbe_configure_tx_ring()
3562 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), txdctl); in ixgbe_configure_tx_ring()
3590 IXGBE_WRITE_REG(hw, IXGBE_RTTDCS, rttdcs); in ixgbe_setup_mtqc()
3619 IXGBE_WRITE_REG(hw, IXGBE_MTQC, mtqc); in ixgbe_setup_mtqc()
3625 IXGBE_WRITE_REG(hw, IXGBE_SECTXMINIFG, sectx); in ixgbe_setup_mtqc()
3630 IXGBE_WRITE_REG(hw, IXGBE_RTTDCS, rttdcs); in ixgbe_setup_mtqc()
3651 IXGBE_WRITE_REG(hw, IXGBE_DMATXCTL, dmatxctl); in ixgbe_configure_tx()
3670 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_enable_rx_drop()
3682 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_disable_rx_drop()
3763 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_configure_srrctl()
3796 IXGBE_WRITE_REG(hw, IXGBE_RSSRK(i), adapter->rss_key[i]); in ixgbe_store_key()
3851 IXGBE_WRITE_REG(hw, IXGBE_RETA(i >> 2), reta); in ixgbe_store_reta()
3853 IXGBE_WRITE_REG(hw, IXGBE_ERETA((i >> 2) - 32), in ixgbe_store_reta()
3881 IXGBE_WRITE_REG(hw, in ixgbe_store_vfreta()
3928 IXGBE_WRITE_REG(hw, in ixgbe_setup_vfreta()
3953 IXGBE_WRITE_REG(hw, IXGBE_RXCSUM, rxcsum); in ixgbe_setup_mrqc()
4004 IXGBE_WRITE_REG(hw, IXGBE_MRQC, mrqc); in ixgbe_setup_mrqc()
4012 IXGBE_WRITE_REG(hw, in ixgbe_setup_mrqc()
4018 IXGBE_WRITE_REG(hw, IXGBE_MRQC, mrqc); in ixgbe_setup_mrqc()
4045 IXGBE_WRITE_REG(hw, IXGBE_RSCCTL(reg_idx), rscctrl); in ixgbe_configure_rscctl()
4101 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_configure_rx_ring()
4104 IXGBE_WRITE_REG(hw, IXGBE_RDBAL(reg_idx), (rdba & DMA_BIT_MASK(32))); in ixgbe_configure_rx_ring()
4105 IXGBE_WRITE_REG(hw, IXGBE_RDBAH(reg_idx), (rdba >> 32)); in ixgbe_configure_rx_ring()
4106 IXGBE_WRITE_REG(hw, IXGBE_RDLEN(reg_idx), in ixgbe_configure_rx_ring()
4111 IXGBE_WRITE_REG(hw, IXGBE_RDH(reg_idx), 0); in ixgbe_configure_rx_ring()
4112 IXGBE_WRITE_REG(hw, IXGBE_RDT(reg_idx), 0); in ixgbe_configure_rx_ring()
4167 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_configure_rx_ring()
4198 IXGBE_WRITE_REG(hw, IXGBE_PSRTYPE(VMDQ_P(pool)), psrtype); in ixgbe_setup_psrtype()
4217 IXGBE_WRITE_REG(hw, IXGBE_VT_CTL, vmdctl); in ixgbe_configure_virtualization()
4224 IXGBE_WRITE_REG(hw, IXGBE_VMOLR(VMDQ_P(pool)), vmolr); in ixgbe_configure_virtualization()
4230 IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization()
4231 IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset ^ 1), reg_offset - 1); in ixgbe_configure_virtualization()
4232 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization()
4233 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset ^ 1), reg_offset - 1); in ixgbe_configure_virtualization()
4235 IXGBE_WRITE_REG(hw, IXGBE_PFDTXGSWC, IXGBE_PFDTXGSWC_VT_LBEN); in ixgbe_configure_virtualization()
4259 IXGBE_WRITE_REG(hw, IXGBE_GCR_EXT, gcr_ext); in ixgbe_configure_virtualization()
4298 IXGBE_WRITE_REG(hw, IXGBE_MHADD, mhadd); in ixgbe_set_rx_buffer_len()
4304 IXGBE_WRITE_REG(hw, IXGBE_HLREG0, hlreg0); in ixgbe_set_rx_buffer_len()
4367 IXGBE_WRITE_REG(hw, IXGBE_RSCDBU, in ixgbe_setup_rdrxctl()
4379 IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, rdrxctl); in ixgbe_setup_rdrxctl()
4408 IXGBE_WRITE_REG(hw, IXGBE_RFCTL, rfctl); in ixgbe_configure_rx()
4487 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), 0); in ixgbe_update_pf_promisc_vlvf()
4488 IXGBE_WRITE_REG(hw, IXGBE_VLVF(idx), 0); in ixgbe_update_pf_promisc_vlvf()
4521 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlnctrl); in ixgbe_vlan_strip_disable()
4537 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(j), vlnctrl); in ixgbe_vlan_strip_disable()
4559 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlnctrl); in ixgbe_vlan_strip_enable()
4575 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(j), vlnctrl); in ixgbe_vlan_strip_enable()
4593 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlnctrl); in ixgbe_vlan_promisc_enable()
4596 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlnctrl); in ixgbe_vlan_promisc_enable()
4617 IXGBE_WRITE_REG(hw, reg_offset, vlvfb); in ixgbe_vlan_promisc_enable()
4622 IXGBE_WRITE_REG(hw, IXGBE_VFTA(i), ~0U); in ixgbe_vlan_promisc_enable()
4657 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), bits); in ixgbe_scrub_vfta()
4668 IXGBE_WRITE_REG(hw, IXGBE_VFTA(vfta_offset + i), vfta[i]); in ixgbe_scrub_vfta()
4680 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlnctrl); in ixgbe_vlan_promisc_disable()
4978 IXGBE_WRITE_REG(hw, IXGBE_VMOLR(VMDQ_P(0)), vmolr); in ixgbe_set_rx_mode()
4993 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in ixgbe_set_rx_mode()
5034 IXGBE_WRITE_REG(hw, IXGBE_VXLANCTRL, in ixgbe_udp_tunnel_sync()
5113 IXGBE_WRITE_REG(hw, IXGBE_RQTC, msb * 0x11111111); in ixgbe_configure_dcb()
5625 IXGBE_WRITE_REG(hw, IXGBE_EIAM, IXGBE_EICS_RTX_QUEUE); in ixgbe_setup_gpie()
5633 IXGBE_WRITE_REG(hw, IXGBE_EIAM_EX(0), 0xFFFFFFFF); in ixgbe_setup_gpie()
5634 IXGBE_WRITE_REG(hw, IXGBE_EIAM_EX(1), 0xFFFFFFFF); in ixgbe_setup_gpie()
5640 IXGBE_WRITE_REG(hw, IXGBE_EIAM, IXGBE_EICS_RTX_QUEUE); in ixgbe_setup_gpie()
5689 IXGBE_WRITE_REG(hw, IXGBE_GPIE, gpie); in ixgbe_setup_gpie()
5749 IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_up_complete()
5845 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_disable_rx()
5909 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), IXGBE_TXDCTL_SWFLSH); in ixgbe_disable_tx()
5917 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), IXGBE_TXDCTL_SWFLSH); in ixgbe_disable_tx()
5982 IXGBE_WRITE_REG(hw, IXGBE_DMATXCTL, in ixgbe_disable_tx()
6204 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EITRSEL, 0); in ixgbe_down()
6996 IXGBE_WRITE_REG(&adapter->hw, IXGBE_WUS, ~0); in ixgbe_resume()
7043 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in __ixgbe_shutdown()
7047 IXGBE_WRITE_REG(hw, IXGBE_CTRL, ctrl); in __ixgbe_shutdown()
7049 IXGBE_WRITE_REG(hw, IXGBE_WUFC, wufc); in __ixgbe_shutdown()
7051 IXGBE_WRITE_REG(hw, IXGBE_WUC, 0); in __ixgbe_shutdown()
7052 IXGBE_WRITE_REG(hw, IXGBE_WUFC, 0); in __ixgbe_shutdown()
7406 IXGBE_WRITE_REG(hw, IXGBE_EIMS, IXGBE_EIMS_FLOW_DIR); in ixgbe_fdir_reinit_subtask()
7448 IXGBE_WRITE_REG(hw, IXGBE_EICS, in ixgbe_check_hang_subtask()
7497 IXGBE_WRITE_REG(hw, IXGBE_EIMS, IXGBE_EIMC_LSC); in ixgbe_watchdog_update_link()
9161 IXGBE_WRITE_REG(hw, IXGBE_RTRUP2TC, reg); in ixgbe_validate_rtr()
9989 IXGBE_WRITE_REG(&adapter->hw, IXGBE_PFDTXGSWC, 0); in ixgbe_configure_bridge_mode()
9997 IXGBE_WRITE_REG(hw, IXGBE_VMD_CTL, vmdctl); in ixgbe_configure_bridge_mode()
10012 IXGBE_WRITE_REG(&adapter->hw, IXGBE_PFDTXGSWC, in ixgbe_configure_bridge_mode()
10021 IXGBE_WRITE_REG(hw, IXGBE_VMD_CTL, vmdctl); in ixgbe_configure_bridge_mode()
10471 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), IXGBE_TXDCTL_SWFLSH); in ixgbe_disable_txr_hw()
10512 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_disable_rxr_hw()
10563 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMC, mask); in ixgbe_irq_disable_single()
10572 IXGBE_WRITE_REG(hw, IXGBE_EIMS_EX(0), mask); in ixgbe_irq_disable_single()
10575 IXGBE_WRITE_REG(hw, IXGBE_EIMS_EX(1), mask); in ixgbe_irq_disable_single()
10961 IXGBE_WRITE_REG(&adapter->hw, IXGBE_WUS, ~0); in ixgbe_probe()
11330 IXGBE_WRITE_REG(&adapter->hw, IXGBE_DCA_CTRL, in ixgbe_remove()
11541 IXGBE_WRITE_REG(&adapter->hw, IXGBE_WUS, ~0); in ixgbe_io_slot_reset()