Lines Matching refs:IXGBE_READ_REG

477 			regs[i] = IXGBE_READ_REG(hw, IXGBE_SRRCTL(i));  in ixgbe_regdump()
481 regs[i] = IXGBE_READ_REG(hw, IXGBE_DCA_RXCTRL(i)); in ixgbe_regdump()
485 regs[i] = IXGBE_READ_REG(hw, IXGBE_RDLEN(i)); in ixgbe_regdump()
489 regs[i] = IXGBE_READ_REG(hw, IXGBE_RDH(i)); in ixgbe_regdump()
493 regs[i] = IXGBE_READ_REG(hw, IXGBE_RDT(i)); in ixgbe_regdump()
497 regs[i] = IXGBE_READ_REG(hw, IXGBE_RXDCTL(i)); in ixgbe_regdump()
501 regs[i] = IXGBE_READ_REG(hw, IXGBE_RDBAL(i)); in ixgbe_regdump()
505 regs[i] = IXGBE_READ_REG(hw, IXGBE_RDBAH(i)); in ixgbe_regdump()
509 regs[i] = IXGBE_READ_REG(hw, IXGBE_TDBAL(i)); in ixgbe_regdump()
513 regs[i] = IXGBE_READ_REG(hw, IXGBE_TDBAH(i)); in ixgbe_regdump()
517 regs[i] = IXGBE_READ_REG(hw, IXGBE_TDLEN(i)); in ixgbe_regdump()
521 regs[i] = IXGBE_READ_REG(hw, IXGBE_TDH(i)); in ixgbe_regdump()
525 regs[i] = IXGBE_READ_REG(hw, IXGBE_TDT(i)); in ixgbe_regdump()
529 regs[i] = IXGBE_READ_REG(hw, IXGBE_TXDCTL(i)); in ixgbe_regdump()
533 reginfo->name, IXGBE_READ_REG(hw, reginfo->ofs)); in ixgbe_regdump()
834 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_release_hw_control()
844 ctrl_ext = IXGBE_READ_REG(&adapter->hw, IXGBE_CTRL_EXT); in ixgbe_get_hw_control()
868 ivar = IXGBE_READ_REG(hw, IXGBE_IVAR(index)); in ixgbe_set_ivar()
882 ivar = IXGBE_READ_REG(&adapter->hw, IXGBE_IVAR_MISC); in ixgbe_set_ivar()
891 ivar = IXGBE_READ_REG(hw, IXGBE_IVAR(queue >> 1)); in ixgbe_set_ivar()
940 data = IXGBE_READ_REG(hw, IXGBE_LXOFFRXC); in ixgbe_update_xoff_rx_lfc()
943 data = IXGBE_READ_REG(hw, IXGBE_LXOFFRXCNT); in ixgbe_update_xoff_rx_lfc()
983 pxoffrxc = IXGBE_READ_REG(hw, IXGBE_PXOFFRXC(i)); in ixgbe_update_xoff_received()
986 pxoffrxc = IXGBE_READ_REG(hw, IXGBE_PXOFFRXCNT(i)); in ixgbe_update_xoff_received()
1264 IXGBE_READ_REG(hw, IXGBE_TDH(tx_ring->reg_idx)), in ixgbe_clean_tx_irq()
1265 IXGBE_READ_REG(hw, IXGBE_TDT(tx_ring->reg_idx)), in ixgbe_clean_tx_irq()
3074 eicr = IXGBE_READ_REG(hw, IXGBE_EICS); in ixgbe_msix_other()
3319 eicr = IXGBE_READ_REG(hw, IXGBE_EICR); in ixgbe_intr()
3566 !(IXGBE_READ_REG(hw, IXGBE_LINKS) & IXGBE_LINKS_UP)) in ixgbe_configure_tx_ring()
3572 txdctl = IXGBE_READ_REG(hw, IXGBE_TXDCTL(reg_idx)); in ixgbe_configure_tx_ring()
3588 rttdcs = IXGBE_READ_REG(hw, IXGBE_RTTDCS); in ixgbe_setup_mtqc()
3623 u32 sectx = IXGBE_READ_REG(hw, IXGBE_SECTXMINIFG); in ixgbe_setup_mtqc()
3649 dmatxctl = IXGBE_READ_REG(hw, IXGBE_DMATXCTL); in ixgbe_configure_tx()
3666 u32 srrctl = IXGBE_READ_REG(hw, IXGBE_SRRCTL(reg_idx)); in ixgbe_enable_rx_drop()
3678 u32 srrctl = IXGBE_READ_REG(hw, IXGBE_SRRCTL(reg_idx)); in ixgbe_disable_rx_drop()
3951 rxcsum = IXGBE_READ_REG(hw, IXGBE_RXCSUM); in ixgbe_setup_mrqc()
4037 rscctrl = IXGBE_READ_REG(hw, IXGBE_RSCCTL(reg_idx)); in ixgbe_configure_rscctl()
4061 !(IXGBE_READ_REG(hw, IXGBE_LINKS) & IXGBE_LINKS_UP)) in ixgbe_rx_desc_queue_enable()
4066 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_rx_desc_queue_enable()
4097 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_configure_rx_ring()
4212 vmdctl = IXGBE_READ_REG(hw, IXGBE_VT_CTL); in ixgbe_configure_virtualization()
4293 mhadd = IXGBE_READ_REG(hw, IXGBE_MHADD); in ixgbe_set_rx_buffer_len()
4301 hlreg0 = IXGBE_READ_REG(hw, IXGBE_HLREG0); in ixgbe_set_rx_buffer_len()
4342 u32 rdrxctl = IXGBE_READ_REG(hw, IXGBE_RDRXCTL); in ixgbe_setup_rdrxctl()
4368 (IXGBE_RSCDBU_RSCACKDIS | IXGBE_READ_REG(hw, IXGBE_RSCDBU))); in ixgbe_setup_rdrxctl()
4401 rfctl = IXGBE_READ_REG(hw, IXGBE_RFCTL); in ixgbe_configure_rx()
4423 rxctrl = IXGBE_READ_REG(hw, IXGBE_RXCTRL); in ixgbe_configure_rx()
4459 vlvf = IXGBE_READ_REG(hw, IXGBE_VLVF(idx)); in ixgbe_find_vlvf_entry()
4482 bits &= IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); in ixgbe_update_pf_promisc_vlvf()
4485 if (!bits && !IXGBE_READ_REG(hw, IXGBE_VLVFB(word ^ 1))) { in ixgbe_update_pf_promisc_vlvf()
4519 vlnctrl = IXGBE_READ_REG(hw, IXGBE_VLNCTRL); in ixgbe_vlan_strip_disable()
4535 vlnctrl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(j)); in ixgbe_vlan_strip_disable()
4557 vlnctrl = IXGBE_READ_REG(hw, IXGBE_VLNCTRL); in ixgbe_vlan_strip_enable()
4573 vlnctrl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(j)); in ixgbe_vlan_strip_enable()
4588 vlnctrl = IXGBE_READ_REG(hw, IXGBE_VLNCTRL); in ixgbe_vlan_promisc_enable()
4614 u32 vlvfb = IXGBE_READ_REG(hw, reg_offset); in ixgbe_vlan_promisc_enable()
4635 u32 vlvf = IXGBE_READ_REG(hw, IXGBE_VLVF(i)); in ixgbe_scrub_vfta()
4656 bits &= IXGBE_READ_REG(hw, IXGBE_VLVFB(word)); in ixgbe_scrub_vfta()
4678 vlnctrl = IXGBE_READ_REG(hw, IXGBE_VLNCTRL); in ixgbe_vlan_promisc_disable()
4929 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_set_rx_mode()
4975 vmolr |= IXGBE_READ_REG(hw, IXGBE_VMOLR(VMDQ_P(0))) & in ixgbe_set_rx_mode()
5163 rx_pba = IXGBE_READ_REG(hw, IXGBE_RXPBSIZE(pb)) >> 10; in ixgbe_hpbthresh()
5583 IXGBE_READ_REG(hw, IXGBE_PVFGPRC(i)); in ixgbe_clear_vf_stats_counters()
5588 IXGBE_READ_REG(hw, IXGBE_PVFGPTC(i)); in ixgbe_clear_vf_stats_counters()
5593 IXGBE_READ_REG(hw, IXGBE_PVFGORC_LSB(i)); in ixgbe_clear_vf_stats_counters()
5598 IXGBE_READ_REG(hw, IXGBE_PVFGOTC_LSB(i)); in ixgbe_clear_vf_stats_counters()
5603 IXGBE_READ_REG(hw, IXGBE_PVFMPRC(i)); in ixgbe_clear_vf_stats_counters()
5726 IXGBE_READ_REG(hw, IXGBE_EICR); in ixgbe_up_complete()
5734 u32 esdp = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_up_complete()
5747 ctrl_ext = IXGBE_READ_REG(hw, IXGBE_CTRL_EXT); in ixgbe_up_complete()
5840 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_disable_rx()
5850 !(IXGBE_READ_REG(hw, IXGBE_LINKS) & IXGBE_LINKS_UP)) in ixgbe_disable_rx()
5883 rxdctl |= IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_disable_rx()
5925 if (!(IXGBE_READ_REG(hw, IXGBE_LINKS) & IXGBE_LINKS_UP)) in ixgbe_disable_tx()
5958 txdctl |= IXGBE_READ_REG(hw, IXGBE_TXDCTL(reg_idx)); in ixgbe_disable_tx()
5964 txdctl |= IXGBE_READ_REG(hw, IXGBE_TXDCTL(reg_idx)); in ixgbe_disable_tx()
5983 (IXGBE_READ_REG(hw, IXGBE_DMATXCTL) & in ixgbe_disable_tx()
6421 fwsm = IXGBE_READ_REG(hw, IXGBE_FWSM(hw)); in ixgbe_sw_init()
7041 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in __ixgbe_shutdown()
7045 ctrl = IXGBE_READ_REG(hw, IXGBE_CTRL); in __ixgbe_shutdown()
7187 hwstats->crcerrs += IXGBE_READ_REG(hw, IXGBE_CRCERRS); in ixgbe_update_stats()
7192 mpc = IXGBE_READ_REG(hw, IXGBE_MPC(i)); in ixgbe_update_stats()
7196 hwstats->pxontxc[i] += IXGBE_READ_REG(hw, IXGBE_PXONTXC(i)); in ixgbe_update_stats()
7197 hwstats->pxofftxc[i] += IXGBE_READ_REG(hw, IXGBE_PXOFFTXC(i)); in ixgbe_update_stats()
7200 hwstats->rnbc[i] += IXGBE_READ_REG(hw, IXGBE_RNBC(i)); in ixgbe_update_stats()
7201 hwstats->qbtc[i] += IXGBE_READ_REG(hw, IXGBE_QBTC(i)); in ixgbe_update_stats()
7202 hwstats->qbrc[i] += IXGBE_READ_REG(hw, IXGBE_QBRC(i)); in ixgbe_update_stats()
7204 IXGBE_READ_REG(hw, IXGBE_PXONRXC(i)); in ixgbe_update_stats()
7212 IXGBE_READ_REG(hw, IXGBE_PXONRXCNT(i)); in ixgbe_update_stats()
7221 hwstats->qptc[i] += IXGBE_READ_REG(hw, IXGBE_QPTC(i)); in ixgbe_update_stats()
7222 hwstats->qprc[i] += IXGBE_READ_REG(hw, IXGBE_QPRC(i)); in ixgbe_update_stats()
7228 hwstats->qbtc[i] += IXGBE_READ_REG(hw, IXGBE_QBTC_L(i)); in ixgbe_update_stats()
7229 IXGBE_READ_REG(hw, IXGBE_QBTC_H(i)); /* to clear */ in ixgbe_update_stats()
7230 hwstats->qbrc[i] += IXGBE_READ_REG(hw, IXGBE_QBRC_L(i)); in ixgbe_update_stats()
7231 IXGBE_READ_REG(hw, IXGBE_QBRC_H(i)); /* to clear */ in ixgbe_update_stats()
7235 hwstats->gprc += IXGBE_READ_REG(hw, IXGBE_GPRC); in ixgbe_update_stats()
7244 hwstats->lxonrxc += IXGBE_READ_REG(hw, IXGBE_LXONRXC); in ixgbe_update_stats()
7245 hwstats->gorc += IXGBE_READ_REG(hw, IXGBE_GORCH); in ixgbe_update_stats()
7246 hwstats->gotc += IXGBE_READ_REG(hw, IXGBE_GOTCH); in ixgbe_update_stats()
7247 hwstats->tor += IXGBE_READ_REG(hw, IXGBE_TORH); in ixgbe_update_stats()
7254 hwstats->o2bgptc += IXGBE_READ_REG(hw, IXGBE_O2BGPTC); in ixgbe_update_stats()
7255 hwstats->o2bspc += IXGBE_READ_REG(hw, IXGBE_O2BSPC); in ixgbe_update_stats()
7256 hwstats->b2ospc += IXGBE_READ_REG(hw, IXGBE_B2OSPC); in ixgbe_update_stats()
7257 hwstats->b2ogprc += IXGBE_READ_REG(hw, IXGBE_B2OGPRC); in ixgbe_update_stats()
7262 IXGBE_READ_REG(hw, IXGBE_QPRDC(i)); in ixgbe_update_stats()
7263 hwstats->gorc += IXGBE_READ_REG(hw, IXGBE_GORCL); in ixgbe_update_stats()
7264 IXGBE_READ_REG(hw, IXGBE_GORCH); /* to clear */ in ixgbe_update_stats()
7265 hwstats->gotc += IXGBE_READ_REG(hw, IXGBE_GOTCL); in ixgbe_update_stats()
7266 IXGBE_READ_REG(hw, IXGBE_GOTCH); /* to clear */ in ixgbe_update_stats()
7267 hwstats->tor += IXGBE_READ_REG(hw, IXGBE_TORL); in ixgbe_update_stats()
7268 IXGBE_READ_REG(hw, IXGBE_TORH); /* to clear */ in ixgbe_update_stats()
7269 hwstats->lxonrxc += IXGBE_READ_REG(hw, IXGBE_LXONRXCNT); in ixgbe_update_stats()
7270 hwstats->fdirmatch += IXGBE_READ_REG(hw, IXGBE_FDIRMATCH); in ixgbe_update_stats()
7271 hwstats->fdirmiss += IXGBE_READ_REG(hw, IXGBE_FDIRMISS); in ixgbe_update_stats()
7273 hwstats->fccrc += IXGBE_READ_REG(hw, IXGBE_FCCRC); in ixgbe_update_stats()
7274 hwstats->fcoerpdc += IXGBE_READ_REG(hw, IXGBE_FCOERPDC); in ixgbe_update_stats()
7275 hwstats->fcoeprc += IXGBE_READ_REG(hw, IXGBE_FCOEPRC); in ixgbe_update_stats()
7276 hwstats->fcoeptc += IXGBE_READ_REG(hw, IXGBE_FCOEPTC); in ixgbe_update_stats()
7277 hwstats->fcoedwrc += IXGBE_READ_REG(hw, IXGBE_FCOEDWRC); in ixgbe_update_stats()
7278 hwstats->fcoedwtc += IXGBE_READ_REG(hw, IXGBE_FCOEDWTC); in ixgbe_update_stats()
7298 bprc = IXGBE_READ_REG(hw, IXGBE_BPRC); in ixgbe_update_stats()
7300 hwstats->mprc += IXGBE_READ_REG(hw, IXGBE_MPRC); in ixgbe_update_stats()
7303 hwstats->roc += IXGBE_READ_REG(hw, IXGBE_ROC); in ixgbe_update_stats()
7304 hwstats->prc64 += IXGBE_READ_REG(hw, IXGBE_PRC64); in ixgbe_update_stats()
7305 hwstats->prc127 += IXGBE_READ_REG(hw, IXGBE_PRC127); in ixgbe_update_stats()
7306 hwstats->prc255 += IXGBE_READ_REG(hw, IXGBE_PRC255); in ixgbe_update_stats()
7307 hwstats->prc511 += IXGBE_READ_REG(hw, IXGBE_PRC511); in ixgbe_update_stats()
7308 hwstats->prc1023 += IXGBE_READ_REG(hw, IXGBE_PRC1023); in ixgbe_update_stats()
7309 hwstats->prc1522 += IXGBE_READ_REG(hw, IXGBE_PRC1522); in ixgbe_update_stats()
7310 hwstats->rlec += IXGBE_READ_REG(hw, IXGBE_RLEC); in ixgbe_update_stats()
7311 lxon = IXGBE_READ_REG(hw, IXGBE_LXONTXC); in ixgbe_update_stats()
7313 lxoff = IXGBE_READ_REG(hw, IXGBE_LXOFFTXC); in ixgbe_update_stats()
7315 hwstats->gptc += IXGBE_READ_REG(hw, IXGBE_GPTC); in ixgbe_update_stats()
7316 hwstats->mptc += IXGBE_READ_REG(hw, IXGBE_MPTC); in ixgbe_update_stats()
7324 hwstats->ruc += IXGBE_READ_REG(hw, IXGBE_RUC); in ixgbe_update_stats()
7325 hwstats->rfc += IXGBE_READ_REG(hw, IXGBE_RFC); in ixgbe_update_stats()
7326 hwstats->rjc += IXGBE_READ_REG(hw, IXGBE_RJC); in ixgbe_update_stats()
7327 hwstats->tpr += IXGBE_READ_REG(hw, IXGBE_TPR); in ixgbe_update_stats()
7328 hwstats->ptc64 += IXGBE_READ_REG(hw, IXGBE_PTC64); in ixgbe_update_stats()
7330 hwstats->ptc127 += IXGBE_READ_REG(hw, IXGBE_PTC127); in ixgbe_update_stats()
7331 hwstats->ptc255 += IXGBE_READ_REG(hw, IXGBE_PTC255); in ixgbe_update_stats()
7332 hwstats->ptc511 += IXGBE_READ_REG(hw, IXGBE_PTC511); in ixgbe_update_stats()
7333 hwstats->ptc1023 += IXGBE_READ_REG(hw, IXGBE_PTC1023); in ixgbe_update_stats()
7334 hwstats->ptc1522 += IXGBE_READ_REG(hw, IXGBE_PTC1522); in ixgbe_update_stats()
7335 hwstats->bptc += IXGBE_READ_REG(hw, IXGBE_BPTC); in ixgbe_update_stats()
7543 u32 frctl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_watchdog_link_is_up()
7544 u32 rmcs = IXGBE_READ_REG(hw, IXGBE_RMCS); in ixgbe_watchdog_link_is_up()
7554 u32 mflcn = IXGBE_READ_REG(hw, IXGBE_MFLCN); in ixgbe_watchdog_link_is_up()
7555 u32 fccfg = IXGBE_READ_REG(hw, IXGBE_FCCFG); in ixgbe_watchdog_link_is_up()
7683 h = IXGBE_READ_REG(hw, IXGBE_PVFTDHN(q_per_pool, i, j)); in ixgbe_vf_tx_pending()
7684 t = IXGBE_READ_REG(hw, IXGBE_PVFTDTN(q_per_pool, i, j)); in ixgbe_vf_tx_pending()
7746 gpc = IXGBE_READ_REG(hw, IXGBE_TXDGPC); in ixgbe_check_for_bad_vf()
7783 ssvpc = IXGBE_READ_REG(&adapter->hw, IXGBE_SSVPC); in ixgbe_spoof_check()
8015 fwsm = IXGBE_READ_REG(hw, IXGBE_FWSM(hw)); in ixgbe_check_fw_error()
9149 reg = IXGBE_READ_REG(hw, IXGBE_RTRUP2TC); in ixgbe_validate_rtr()
9995 vmdctl = IXGBE_READ_REG(hw, IXGBE_VMD_CTL); in ixgbe_configure_bridge_mode()
10018 vmdctl = IXGBE_READ_REG(hw, IXGBE_VMD_CTL); in ixgbe_configure_bridge_mode()
10482 txdctl = IXGBE_READ_REG(hw, IXGBE_TXDCTL(reg_idx)); in ixgbe_disable_txr_hw()
10507 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_disable_rxr_hw()
10516 !(IXGBE_READ_REG(hw, IXGBE_LINKS) & IXGBE_LINKS_UP)) in ixgbe_disable_rxr_hw()
10528 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_disable_rxr_hw()
10910 eec = IXGBE_READ_REG(hw, IXGBE_EEC(hw)); in ixgbe_probe()
10972 u32 esdp = IXGBE_READ_REG(hw, IXGBE_ESDP); in ixgbe_probe()