• Home
  • Raw
  • Download

Lines Matching refs:IXGBE_WRITE_REG

832 	IXGBE_WRITE_REG(&adapter->hw, IXGBE_CTRL_EXT,  in ixgbe_release_hw_control()
842 IXGBE_WRITE_REG(&adapter->hw, IXGBE_CTRL_EXT, in ixgbe_get_hw_control()
868 IXGBE_WRITE_REG(hw, IXGBE_IVAR(index), ivar); in ixgbe_set_ivar()
882 IXGBE_WRITE_REG(&adapter->hw, IXGBE_IVAR_MISC, ivar); in ixgbe_set_ivar()
891 IXGBE_WRITE_REG(hw, IXGBE_IVAR(queue >> 1), ivar); in ixgbe_set_ivar()
907 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EICS, mask); in ixgbe_irq_rearm_queues()
915 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EICS_EX(0), mask); in ixgbe_irq_rearm_queues()
917 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EICS_EX(1), mask); in ixgbe_irq_rearm_queues()
1098 IXGBE_WRITE_REG(hw, IXGBE_RTTDQSEL, queue_index); in ixgbe_tx_maxrate()
1099 IXGBE_WRITE_REG(hw, IXGBE_RTTBCNRC, bcnrc_val); in ixgbe_tx_maxrate()
1306 IXGBE_WRITE_REG(hw, reg_offset, txctrl); in ixgbe_update_tx_dca()
1338 IXGBE_WRITE_REG(hw, IXGBE_DCA_RXCTRL(reg_idx), rxctrl); in ixgbe_update_rx_dca()
1367 IXGBE_WRITE_REG(&adapter->hw, IXGBE_DCA_CTRL, in ixgbe_setup_dca()
1370 IXGBE_WRITE_REG(&adapter->hw, IXGBE_DCA_CTRL, in ixgbe_setup_dca()
1394 IXGBE_WRITE_REG(&adapter->hw, IXGBE_DCA_CTRL, in __ixgbe_notify_dca()
1403 IXGBE_WRITE_REG(&adapter->hw, IXGBE_DCA_CTRL, in __ixgbe_notify_dca()
2468 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EITRSEL, eitrsel); in ixgbe_configure_msix()
2503 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EITR(v_idx), 1950); in ixgbe_configure_msix()
2511 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIAC, mask); in ixgbe_configure_msix()
2736 IXGBE_WRITE_REG(hw, IXGBE_EITR(v_idx), itr_reg); in ixgbe_write_eitr()
2831 IXGBE_WRITE_REG(hw, IXGBE_EICR, IXGBE_EICR_GPI_SDP1(hw)); in ixgbe_check_fan_failure()
2862 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMC, in ixgbe_check_overtemp_event()
2864 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EICR, in ixgbe_check_overtemp_event()
2916 IXGBE_WRITE_REG(hw, IXGBE_EICR, eicr_mask); in ixgbe_check_sfp_event()
2927 IXGBE_WRITE_REG(hw, IXGBE_EICR, IXGBE_EICR_GPI_SDP1(hw)); in ixgbe_check_sfp_event()
2943 IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_EIMC_LSC); in ixgbe_check_lsc()
2958 IXGBE_WRITE_REG(hw, IXGBE_EIMS, mask); in ixgbe_irq_enable_queues()
2967 IXGBE_WRITE_REG(hw, IXGBE_EIMS_EX(0), mask); in ixgbe_irq_enable_queues()
2970 IXGBE_WRITE_REG(hw, IXGBE_EIMS_EX(1), mask); in ixgbe_irq_enable_queues()
3036 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMS, mask); in ixgbe_irq_enable()
3066 IXGBE_WRITE_REG(hw, IXGBE_EICR, eicr); in ixgbe_msix_other()
3084 IXGBE_WRITE_REG(hw, IXGBE_EICR, in ixgbe_msix_other()
3091 IXGBE_WRITE_REG(hw, IXGBE_EICR, IXGBE_EICR_ECC); in ixgbe_msix_other()
3105 IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_EIMC_FLOW_DIR); in ixgbe_msix_other()
3296 IXGBE_WRITE_REG(hw, IXGBE_EIMC, IXGBE_IRQ_CLEAR_MASK); in ixgbe_intr()
3329 IXGBE_WRITE_REG(hw, IXGBE_EICR, IXGBE_EICR_ECC); in ixgbe_intr()
3418 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMC, ~0); in ixgbe_irq_disable()
3425 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMC, 0xFFFF0000); in ixgbe_irq_disable()
3426 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMC_EX(0), ~0); in ixgbe_irq_disable()
3427 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMC_EX(1), ~0); in ixgbe_irq_disable()
3483 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), 0); in ixgbe_configure_tx_ring()
3486 IXGBE_WRITE_REG(hw, IXGBE_TDBAL(reg_idx), in ixgbe_configure_tx_ring()
3488 IXGBE_WRITE_REG(hw, IXGBE_TDBAH(reg_idx), (tdba >> 32)); in ixgbe_configure_tx_ring()
3489 IXGBE_WRITE_REG(hw, IXGBE_TDLEN(reg_idx), in ixgbe_configure_tx_ring()
3491 IXGBE_WRITE_REG(hw, IXGBE_TDH(reg_idx), 0); in ixgbe_configure_tx_ring()
3492 IXGBE_WRITE_REG(hw, IXGBE_TDT(reg_idx), 0); in ixgbe_configure_tx_ring()
3543 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), txdctl); in ixgbe_configure_tx_ring()
3571 IXGBE_WRITE_REG(hw, IXGBE_RTTDCS, rttdcs); in ixgbe_setup_mtqc()
3600 IXGBE_WRITE_REG(hw, IXGBE_MTQC, mtqc); in ixgbe_setup_mtqc()
3606 IXGBE_WRITE_REG(hw, IXGBE_SECTXMINIFG, sectx); in ixgbe_setup_mtqc()
3611 IXGBE_WRITE_REG(hw, IXGBE_RTTDCS, rttdcs); in ixgbe_setup_mtqc()
3632 IXGBE_WRITE_REG(hw, IXGBE_DMATXCTL, dmatxctl); in ixgbe_configure_tx()
3651 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_enable_rx_drop()
3663 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_disable_rx_drop()
3744 IXGBE_WRITE_REG(hw, IXGBE_SRRCTL(reg_idx), srrctl); in ixgbe_configure_srrctl()
3777 IXGBE_WRITE_REG(hw, IXGBE_RSSRK(i), adapter->rss_key[i]); in ixgbe_store_key()
3832 IXGBE_WRITE_REG(hw, IXGBE_RETA(i >> 2), reta); in ixgbe_store_reta()
3834 IXGBE_WRITE_REG(hw, IXGBE_ERETA((i >> 2) - 32), in ixgbe_store_reta()
3862 IXGBE_WRITE_REG(hw, in ixgbe_store_vfreta()
3909 IXGBE_WRITE_REG(hw, in ixgbe_setup_vfreta()
3934 IXGBE_WRITE_REG(hw, IXGBE_RXCSUM, rxcsum); in ixgbe_setup_mrqc()
3985 IXGBE_WRITE_REG(hw, IXGBE_MRQC, mrqc); in ixgbe_setup_mrqc()
3993 IXGBE_WRITE_REG(hw, in ixgbe_setup_mrqc()
3999 IXGBE_WRITE_REG(hw, IXGBE_MRQC, mrqc); in ixgbe_setup_mrqc()
4026 IXGBE_WRITE_REG(hw, IXGBE_RSCCTL(reg_idx), rscctrl); in ixgbe_configure_rscctl()
4082 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_configure_rx_ring()
4085 IXGBE_WRITE_REG(hw, IXGBE_RDBAL(reg_idx), (rdba & DMA_BIT_MASK(32))); in ixgbe_configure_rx_ring()
4086 IXGBE_WRITE_REG(hw, IXGBE_RDBAH(reg_idx), (rdba >> 32)); in ixgbe_configure_rx_ring()
4087 IXGBE_WRITE_REG(hw, IXGBE_RDLEN(reg_idx), in ixgbe_configure_rx_ring()
4092 IXGBE_WRITE_REG(hw, IXGBE_RDH(reg_idx), 0); in ixgbe_configure_rx_ring()
4093 IXGBE_WRITE_REG(hw, IXGBE_RDT(reg_idx), 0); in ixgbe_configure_rx_ring()
4146 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_configure_rx_ring()
4177 IXGBE_WRITE_REG(hw, IXGBE_PSRTYPE(VMDQ_P(pool)), psrtype); in ixgbe_setup_psrtype()
4196 IXGBE_WRITE_REG(hw, IXGBE_VT_CTL, vmdctl); in ixgbe_configure_virtualization()
4203 IXGBE_WRITE_REG(hw, IXGBE_VMOLR(VMDQ_P(pool)), vmolr); in ixgbe_configure_virtualization()
4209 IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization()
4210 IXGBE_WRITE_REG(hw, IXGBE_VFRE(reg_offset ^ 1), reg_offset - 1); in ixgbe_configure_virtualization()
4211 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset), GENMASK(31, vf_shift)); in ixgbe_configure_virtualization()
4212 IXGBE_WRITE_REG(hw, IXGBE_VFTE(reg_offset ^ 1), reg_offset - 1); in ixgbe_configure_virtualization()
4214 IXGBE_WRITE_REG(hw, IXGBE_PFDTXGSWC, IXGBE_PFDTXGSWC_VT_LBEN); in ixgbe_configure_virtualization()
4238 IXGBE_WRITE_REG(hw, IXGBE_GCR_EXT, gcr_ext); in ixgbe_configure_virtualization()
4277 IXGBE_WRITE_REG(hw, IXGBE_MHADD, mhadd); in ixgbe_set_rx_buffer_len()
4283 IXGBE_WRITE_REG(hw, IXGBE_HLREG0, hlreg0); in ixgbe_set_rx_buffer_len()
4346 IXGBE_WRITE_REG(hw, IXGBE_RSCDBU, in ixgbe_setup_rdrxctl()
4358 IXGBE_WRITE_REG(hw, IXGBE_RDRXCTL, rdrxctl); in ixgbe_setup_rdrxctl()
4387 IXGBE_WRITE_REG(hw, IXGBE_RFCTL, rfctl); in ixgbe_configure_rx()
4466 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), 0); in ixgbe_update_pf_promisc_vlvf()
4467 IXGBE_WRITE_REG(hw, IXGBE_VLVF(idx), 0); in ixgbe_update_pf_promisc_vlvf()
4500 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlnctrl); in ixgbe_vlan_strip_disable()
4516 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(j), vlnctrl); in ixgbe_vlan_strip_disable()
4538 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlnctrl); in ixgbe_vlan_strip_enable()
4554 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(j), vlnctrl); in ixgbe_vlan_strip_enable()
4572 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlnctrl); in ixgbe_vlan_promisc_enable()
4575 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlnctrl); in ixgbe_vlan_promisc_enable()
4596 IXGBE_WRITE_REG(hw, reg_offset, vlvfb); in ixgbe_vlan_promisc_enable()
4601 IXGBE_WRITE_REG(hw, IXGBE_VFTA(i), ~0U); in ixgbe_vlan_promisc_enable()
4636 IXGBE_WRITE_REG(hw, IXGBE_VLVFB(word), bits); in ixgbe_scrub_vfta()
4647 IXGBE_WRITE_REG(hw, IXGBE_VFTA(vfta_offset + i), vfta[i]); in ixgbe_scrub_vfta()
4659 IXGBE_WRITE_REG(hw, IXGBE_VLNCTRL, vlnctrl); in ixgbe_vlan_promisc_disable()
4957 IXGBE_WRITE_REG(hw, IXGBE_VMOLR(VMDQ_P(0)), vmolr); in ixgbe_set_rx_mode()
4972 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in ixgbe_set_rx_mode()
5013 IXGBE_WRITE_REG(hw, IXGBE_VXLANCTRL, in ixgbe_udp_tunnel_sync()
5092 IXGBE_WRITE_REG(hw, IXGBE_RQTC, msb * 0x11111111); in ixgbe_configure_dcb()
5565 IXGBE_WRITE_REG(hw, IXGBE_EIAM, IXGBE_EICS_RTX_QUEUE); in ixgbe_setup_gpie()
5573 IXGBE_WRITE_REG(hw, IXGBE_EIAM_EX(0), 0xFFFFFFFF); in ixgbe_setup_gpie()
5574 IXGBE_WRITE_REG(hw, IXGBE_EIAM_EX(1), 0xFFFFFFFF); in ixgbe_setup_gpie()
5580 IXGBE_WRITE_REG(hw, IXGBE_EIAM, IXGBE_EICS_RTX_QUEUE); in ixgbe_setup_gpie()
5629 IXGBE_WRITE_REG(hw, IXGBE_GPIE, gpie); in ixgbe_setup_gpie()
5688 IXGBE_WRITE_REG(hw, IXGBE_CTRL_EXT, ctrl_ext); in ixgbe_up_complete()
5781 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_disable_rx()
5845 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), IXGBE_TXDCTL_SWFLSH); in ixgbe_disable_tx()
5853 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), IXGBE_TXDCTL_SWFLSH); in ixgbe_disable_tx()
5918 IXGBE_WRITE_REG(hw, IXGBE_DMATXCTL, in ixgbe_disable_tx()
6140 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EITRSEL, 0); in ixgbe_down()
6924 IXGBE_WRITE_REG(&adapter->hw, IXGBE_WUS, ~0); in ixgbe_resume()
6971 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in __ixgbe_shutdown()
6975 IXGBE_WRITE_REG(hw, IXGBE_CTRL, ctrl); in __ixgbe_shutdown()
6977 IXGBE_WRITE_REG(hw, IXGBE_WUFC, wufc); in __ixgbe_shutdown()
6979 IXGBE_WRITE_REG(hw, IXGBE_WUC, 0); in __ixgbe_shutdown()
6980 IXGBE_WRITE_REG(hw, IXGBE_WUFC, 0); in __ixgbe_shutdown()
7308 IXGBE_WRITE_REG(hw, IXGBE_EIMS, IXGBE_EIMS_FLOW_DIR); in ixgbe_fdir_reinit_subtask()
7350 IXGBE_WRITE_REG(hw, IXGBE_EICS, in ixgbe_check_hang_subtask()
7399 IXGBE_WRITE_REG(hw, IXGBE_EIMS, IXGBE_EIMC_LSC); in ixgbe_watchdog_update_link()
9020 IXGBE_WRITE_REG(hw, IXGBE_RTRUP2TC, reg); in ixgbe_validate_rtr()
9848 IXGBE_WRITE_REG(&adapter->hw, IXGBE_PFDTXGSWC, 0); in ixgbe_configure_bridge_mode()
9856 IXGBE_WRITE_REG(hw, IXGBE_VMD_CTL, vmdctl); in ixgbe_configure_bridge_mode()
9871 IXGBE_WRITE_REG(&adapter->hw, IXGBE_PFDTXGSWC, in ixgbe_configure_bridge_mode()
9880 IXGBE_WRITE_REG(hw, IXGBE_VMD_CTL, vmdctl); in ixgbe_configure_bridge_mode()
10319 IXGBE_WRITE_REG(hw, IXGBE_TXDCTL(reg_idx), IXGBE_TXDCTL_SWFLSH); in ixgbe_disable_txr_hw()
10360 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_disable_rxr_hw()
10411 IXGBE_WRITE_REG(&adapter->hw, IXGBE_EIMC, mask); in ixgbe_irq_disable_single()
10420 IXGBE_WRITE_REG(hw, IXGBE_EIMS_EX(0), mask); in ixgbe_irq_disable_single()
10423 IXGBE_WRITE_REG(hw, IXGBE_EIMS_EX(1), mask); in ixgbe_irq_disable_single()
10813 IXGBE_WRITE_REG(&adapter->hw, IXGBE_WUS, ~0); in ixgbe_probe()
11182 IXGBE_WRITE_REG(&adapter->hw, IXGBE_DCA_CTRL, in ixgbe_remove()
11395 IXGBE_WRITE_REG(&adapter->hw, IXGBE_WUS, ~0); in ixgbe_io_slot_reset()