Lines Matching refs:E1000_READ_REG

244 	u32 latest = E1000_READ_REG(hw, reg);     \
589 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in igb_pf_reset_hw()
844 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in eth_igb_dev_init()
1063 uint32_t rctl = E1000_READ_REG(hw, E1000_RCTL); in igb_vmdq_vlan_hw_filter_enable()
1174 tctl = E1000_READ_REG(hw, E1000_TCTL); in eth_igb_rxtx_control()
1175 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_igb_rxtx_control()
1240 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in eth_igb_start()
1442 phpm_reg = E1000_READ_REG(hw, E1000_82580_PHY_POWER_MGMT); in eth_igb_stop()
1523 phpm_reg = E1000_READ_REG(hw, E1000_82580_PHY_POWER_MGMT); in eth_igb_close()
1601 rx_buf_size = (E1000_READ_REG(hw, E1000_RXPBS) & 0xffff) << 10; in igb_get_rx_buffer_size()
1604 rx_buf_size = (E1000_READ_REG(hw, E1000_RXPBS) & 0xf); in igb_get_rx_buffer_size()
1608 rx_buf_size = (E1000_READ_REG(hw, E1000_RXPBS) & 0x3f) << 10; in igb_get_rx_buffer_size()
1610 rx_buf_size = (E1000_READ_REG(hw, E1000_PBA) & 0xffff) << 10; in igb_get_rx_buffer_size()
1687 (E1000_READ_REG(hw, E1000_STATUS) & E1000_STATUS_LU)) { in igb_read_stats_registers()
1689 E1000_READ_REG(hw,E1000_SYMERRS); in igb_read_stats_registers()
1690 stats->sec += E1000_READ_REG(hw, E1000_SEC); in igb_read_stats_registers()
1693 stats->crcerrs += E1000_READ_REG(hw, E1000_CRCERRS); in igb_read_stats_registers()
1694 stats->mpc += E1000_READ_REG(hw, E1000_MPC); in igb_read_stats_registers()
1695 stats->scc += E1000_READ_REG(hw, E1000_SCC); in igb_read_stats_registers()
1696 stats->ecol += E1000_READ_REG(hw, E1000_ECOL); in igb_read_stats_registers()
1698 stats->mcc += E1000_READ_REG(hw, E1000_MCC); in igb_read_stats_registers()
1699 stats->latecol += E1000_READ_REG(hw, E1000_LATECOL); in igb_read_stats_registers()
1700 stats->colc += E1000_READ_REG(hw, E1000_COLC); in igb_read_stats_registers()
1701 stats->dc += E1000_READ_REG(hw, E1000_DC); in igb_read_stats_registers()
1702 stats->rlec += E1000_READ_REG(hw, E1000_RLEC); in igb_read_stats_registers()
1703 stats->xonrxc += E1000_READ_REG(hw, E1000_XONRXC); in igb_read_stats_registers()
1704 stats->xontxc += E1000_READ_REG(hw, E1000_XONTXC); in igb_read_stats_registers()
1709 pause_frames = E1000_READ_REG(hw, E1000_XOFFRXC); in igb_read_stats_registers()
1711 stats->xofftxc += E1000_READ_REG(hw, E1000_XOFFTXC); in igb_read_stats_registers()
1712 stats->fcruc += E1000_READ_REG(hw, E1000_FCRUC); in igb_read_stats_registers()
1713 stats->prc64 += E1000_READ_REG(hw, E1000_PRC64); in igb_read_stats_registers()
1714 stats->prc127 += E1000_READ_REG(hw, E1000_PRC127); in igb_read_stats_registers()
1715 stats->prc255 += E1000_READ_REG(hw, E1000_PRC255); in igb_read_stats_registers()
1716 stats->prc511 += E1000_READ_REG(hw, E1000_PRC511); in igb_read_stats_registers()
1717 stats->prc1023 += E1000_READ_REG(hw, E1000_PRC1023); in igb_read_stats_registers()
1718 stats->prc1522 += E1000_READ_REG(hw, E1000_PRC1522); in igb_read_stats_registers()
1719 stats->gprc += E1000_READ_REG(hw, E1000_GPRC); in igb_read_stats_registers()
1720 stats->bprc += E1000_READ_REG(hw, E1000_BPRC); in igb_read_stats_registers()
1721 stats->mprc += E1000_READ_REG(hw, E1000_MPRC); in igb_read_stats_registers()
1722 stats->gptc += E1000_READ_REG(hw, E1000_GPTC); in igb_read_stats_registers()
1728 stats->gorc += E1000_READ_REG(hw, E1000_GORCL); in igb_read_stats_registers()
1729 stats->gorc += ((uint64_t)E1000_READ_REG(hw, E1000_GORCH) << 32); in igb_read_stats_registers()
1731 stats->gotc += E1000_READ_REG(hw, E1000_GOTCL); in igb_read_stats_registers()
1732 stats->gotc += ((uint64_t)E1000_READ_REG(hw, E1000_GOTCH) << 32); in igb_read_stats_registers()
1735 stats->rnbc += E1000_READ_REG(hw, E1000_RNBC); in igb_read_stats_registers()
1736 stats->ruc += E1000_READ_REG(hw, E1000_RUC); in igb_read_stats_registers()
1737 stats->rfc += E1000_READ_REG(hw, E1000_RFC); in igb_read_stats_registers()
1738 stats->roc += E1000_READ_REG(hw, E1000_ROC); in igb_read_stats_registers()
1739 stats->rjc += E1000_READ_REG(hw, E1000_RJC); in igb_read_stats_registers()
1741 stats->tpr += E1000_READ_REG(hw, E1000_TPR); in igb_read_stats_registers()
1742 stats->tpt += E1000_READ_REG(hw, E1000_TPT); in igb_read_stats_registers()
1744 stats->tor += E1000_READ_REG(hw, E1000_TORL); in igb_read_stats_registers()
1745 stats->tor += ((uint64_t)E1000_READ_REG(hw, E1000_TORH) << 32); in igb_read_stats_registers()
1747 stats->tot += E1000_READ_REG(hw, E1000_TOTL); in igb_read_stats_registers()
1748 stats->tot += ((uint64_t)E1000_READ_REG(hw, E1000_TOTH) << 32); in igb_read_stats_registers()
1751 stats->ptc64 += E1000_READ_REG(hw, E1000_PTC64); in igb_read_stats_registers()
1752 stats->ptc127 += E1000_READ_REG(hw, E1000_PTC127); in igb_read_stats_registers()
1753 stats->ptc255 += E1000_READ_REG(hw, E1000_PTC255); in igb_read_stats_registers()
1754 stats->ptc511 += E1000_READ_REG(hw, E1000_PTC511); in igb_read_stats_registers()
1755 stats->ptc1023 += E1000_READ_REG(hw, E1000_PTC1023); in igb_read_stats_registers()
1756 stats->ptc1522 += E1000_READ_REG(hw, E1000_PTC1522); in igb_read_stats_registers()
1757 stats->mptc += E1000_READ_REG(hw, E1000_MPTC); in igb_read_stats_registers()
1758 stats->bptc += E1000_READ_REG(hw, E1000_BPTC); in igb_read_stats_registers()
1762 stats->iac += E1000_READ_REG(hw, E1000_IAC); in igb_read_stats_registers()
1763 stats->icrxptc += E1000_READ_REG(hw, E1000_ICRXPTC); in igb_read_stats_registers()
1764 stats->icrxatc += E1000_READ_REG(hw, E1000_ICRXATC); in igb_read_stats_registers()
1765 stats->ictxptc += E1000_READ_REG(hw, E1000_ICTXPTC); in igb_read_stats_registers()
1766 stats->ictxatc += E1000_READ_REG(hw, E1000_ICTXATC); in igb_read_stats_registers()
1767 stats->ictxqec += E1000_READ_REG(hw, E1000_ICTXQEC); in igb_read_stats_registers()
1768 stats->ictxqmtc += E1000_READ_REG(hw, E1000_ICTXQMTC); in igb_read_stats_registers()
1769 stats->icrxdmtc += E1000_READ_REG(hw, E1000_ICRXDMTC); in igb_read_stats_registers()
1770 stats->icrxoc += E1000_READ_REG(hw, E1000_ICRXOC); in igb_read_stats_registers()
1774 stats->cbtmpc += E1000_READ_REG(hw, E1000_CBTMPC); in igb_read_stats_registers()
1775 stats->htdpmc += E1000_READ_REG(hw, E1000_HTDPMC); in igb_read_stats_registers()
1776 stats->cbrdpc += E1000_READ_REG(hw, E1000_CBRDPC); in igb_read_stats_registers()
1777 stats->cbrmpc += E1000_READ_REG(hw, E1000_CBRMPC); in igb_read_stats_registers()
1778 stats->rpthc += E1000_READ_REG(hw, E1000_RPTHC); in igb_read_stats_registers()
1779 stats->hgptc += E1000_READ_REG(hw, E1000_HGPTC); in igb_read_stats_registers()
1780 stats->htcbdpc += E1000_READ_REG(hw, E1000_HTCBDPC); in igb_read_stats_registers()
1781 stats->hgorc += E1000_READ_REG(hw, E1000_HGORCL); in igb_read_stats_registers()
1782 stats->hgorc += ((uint64_t)E1000_READ_REG(hw, E1000_HGORCH) << 32); in igb_read_stats_registers()
1784 stats->hgotc += E1000_READ_REG(hw, E1000_HGOTCL); in igb_read_stats_registers()
1785 stats->hgotc += ((uint64_t)E1000_READ_REG(hw, E1000_HGOTCH) << 32); in igb_read_stats_registers()
1787 stats->lenerrs += E1000_READ_REG(hw, E1000_LENERRS); in igb_read_stats_registers()
1788 stats->scvpc += E1000_READ_REG(hw, E1000_SCVPC); in igb_read_stats_registers()
1789 stats->hrmpc += E1000_READ_REG(hw, E1000_HRMPC); in igb_read_stats_registers()
1791 stats->algnerrc += E1000_READ_REG(hw, E1000_ALGNERRC); in igb_read_stats_registers()
1792 stats->rxerrc += E1000_READ_REG(hw, E1000_RXERRC); in igb_read_stats_registers()
1793 stats->tncrs += E1000_READ_REG(hw, E1000_TNCRS); in igb_read_stats_registers()
1794 stats->cexterr += E1000_READ_REG(hw, E1000_CEXTERR); in igb_read_stats_registers()
1795 stats->tsctc += E1000_READ_REG(hw, E1000_TSCTC); in igb_read_stats_registers()
1796 stats->tsctfc += E1000_READ_REG(hw, E1000_TSCTFC); in igb_read_stats_registers()
2371 link_check = (E1000_READ_REG(hw, E1000_STATUS) & in eth_igb_link_update()
2427 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in igb_hw_control_acquire()
2442 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in igb_hw_control_release()
2456 uint32_t manc2h = E1000_READ_REG(hw, E1000_MANC2H); in igb_init_manageability()
2457 uint32_t manc = E1000_READ_REG(hw, E1000_MANC); in igb_init_manageability()
2475 uint32_t manc = E1000_READ_REG(hw, E1000_MANC); in igb_release_manageability()
2491 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_igb_promiscuous_enable()
2505 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_igb_promiscuous_disable()
2523 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_igb_allmulticast_enable()
2539 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_igb_allmulticast_disable()
2582 qinq = E1000_READ_REG(hw, E1000_CTRL_EXT); in eth_igb_vlan_tpid_set()
2587 reg = E1000_READ_REG(hw, E1000_VET); in eth_igb_vlan_tpid_set()
2609 reg = E1000_READ_REG(hw, E1000_RCTL); in igb_vlan_hw_filter_disable()
2626 reg = E1000_READ_REG(hw, E1000_RCTL); in igb_vlan_hw_filter_enable()
2644 reg = E1000_READ_REG(hw, E1000_CTRL); in igb_vlan_hw_strip_disable()
2657 reg = E1000_READ_REG(hw, E1000_CTRL); in igb_vlan_hw_strip_enable()
2670 reg = E1000_READ_REG(hw, E1000_CTRL_EXT); in igb_vlan_hw_extend_disable()
2686 reg = E1000_READ_REG(hw, E1000_CTRL_EXT); in igb_vlan_hw_extend_enable()
2779 regval = E1000_READ_REG(hw, E1000_EIMS); in eth_igb_rxq_interrupt_setup()
2808 icr = E1000_READ_REG(hw, E1000_ICR); in eth_igb_interrupt_get_status()
2918 eicr = E1000_READ_REG(hw, E1000_EICR); in eth_igbvf_interrupt_get_status()
2935 in_msg = E1000_READ_REG(hw, E1000_VMBMEM(0)); in igbvf_mbx_process()
3010 ctrl = E1000_READ_REG(hw, E1000_CTRL); in eth_igb_flow_ctrl_get()
3076 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_igb_flow_ctrl_set()
3090 ctrl = E1000_READ_REG(hw, E1000_CTRL); in eth_igb_flow_ctrl_set()
3136 rah = E1000_READ_REG(hw, E1000_RAH(index)); in eth_igb_rar_set()
3194 E1000_READ_REG(hw, E1000_EICR); in igbvf_stop_adapter()
3202 reg_val = E1000_READ_REG(hw, E1000_RXDCTL(i)); in igbvf_stop_adapter()
3205 while (E1000_READ_REG(hw, E1000_RXDCTL(i)) & E1000_RXDCTL_QUEUE_ENABLE) in igbvf_stop_adapter()
3236 if (!(E1000_READ_REG(hw, E1000_STATUS) & E1000_STATUS_LU)) in eth_igbvf_link_update()
3584 r = E1000_READ_REG(hw, E1000_RETA(i >> 2)); in eth_igb_rss_reta_update()
3622 reta = E1000_READ_REG(hw, E1000_RETA(i >> 2)); in eth_igb_rss_reta_query()
3647 synqf = E1000_READ_REG(hw, E1000_SYNQF(0)); in eth_igb_syn_filter_set()
3656 rfctl = E1000_READ_REG(hw, E1000_RFCTL); in eth_igb_syn_filter_set()
3915 wufc = E1000_READ_REG(hw, E1000_WUFC); in igb_inject_flex_filter()
3974 wufc = E1000_READ_REG(hw, E1000_WUFC); in igb_remove_flex_filter()
4374 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_igb_mtu_set()
4576 E1000_READ_REG(hw, E1000_SYSTIMR); in igb_read_systime_cyclecounter()
4578 systime_cycles = (uint64_t)E1000_READ_REG(hw, E1000_SYSTIML); in igb_read_systime_cyclecounter()
4579 systime_cycles += (uint64_t)E1000_READ_REG(hw, E1000_SYSTIMH) in igb_read_systime_cyclecounter()
4589 E1000_READ_REG(hw, E1000_SYSTIMR); in igb_read_systime_cyclecounter()
4590 systime_cycles = (uint64_t)E1000_READ_REG(hw, E1000_SYSTIML); in igb_read_systime_cyclecounter()
4592 systime_cycles |= (uint64_t)(E1000_READ_REG(hw, E1000_SYSTIMH) in igb_read_systime_cyclecounter()
4596 systime_cycles = (uint64_t)E1000_READ_REG(hw, E1000_SYSTIML); in igb_read_systime_cyclecounter()
4597 systime_cycles |= (uint64_t)E1000_READ_REG(hw, E1000_SYSTIMH) in igb_read_systime_cyclecounter()
4615 rx_tstamp_cycles = (uint64_t)E1000_READ_REG(hw, E1000_RXSTMPL); in igb_read_rx_tstamp_cyclecounter()
4616 rx_tstamp_cycles += (uint64_t)E1000_READ_REG(hw, E1000_RXSTMPH) in igb_read_rx_tstamp_cyclecounter()
4622 rx_tstamp_cycles = (uint64_t)E1000_READ_REG(hw, E1000_RXSTMPL); in igb_read_rx_tstamp_cyclecounter()
4624 rx_tstamp_cycles |= (uint64_t)(E1000_READ_REG(hw, E1000_RXSTMPH) in igb_read_rx_tstamp_cyclecounter()
4628 rx_tstamp_cycles = (uint64_t)E1000_READ_REG(hw, E1000_RXSTMPL); in igb_read_rx_tstamp_cyclecounter()
4629 rx_tstamp_cycles |= (uint64_t)E1000_READ_REG(hw, E1000_RXSTMPH) in igb_read_rx_tstamp_cyclecounter()
4647 tx_tstamp_cycles = (uint64_t)E1000_READ_REG(hw, E1000_TXSTMPL); in igb_read_tx_tstamp_cyclecounter()
4648 tx_tstamp_cycles += (uint64_t)E1000_READ_REG(hw, E1000_TXSTMPH) in igb_read_tx_tstamp_cyclecounter()
4654 tx_tstamp_cycles = (uint64_t)E1000_READ_REG(hw, E1000_TXSTMPL); in igb_read_tx_tstamp_cyclecounter()
4656 tx_tstamp_cycles |= (uint64_t)(E1000_READ_REG(hw, E1000_TXSTMPH) in igb_read_tx_tstamp_cyclecounter()
4660 tx_tstamp_cycles = (uint64_t)E1000_READ_REG(hw, E1000_TXSTMPL); in igb_read_tx_tstamp_cyclecounter()
4661 tx_tstamp_cycles |= (uint64_t)E1000_READ_REG(hw, E1000_TXSTMPH) in igb_read_tx_tstamp_cyclecounter()
4790 tsauxc = E1000_READ_REG(hw, E1000_TSAUXC); in igb_timesync_enable()
4803 tsync_ctl = E1000_READ_REG(hw, E1000_TSYNCRXCTL); in igb_timesync_enable()
4808 tsync_ctl = E1000_READ_REG(hw, E1000_TSYNCTXCTL); in igb_timesync_enable()
4822 tsync_ctl = E1000_READ_REG(hw, E1000_TSYNCTXCTL); in igb_timesync_disable()
4827 tsync_ctl = E1000_READ_REG(hw, E1000_TSYNCRXCTL); in igb_timesync_disable()
4851 tsync_rxctl = E1000_READ_REG(hw, E1000_TSYNCRXCTL); in igb_timesync_read_rx_timestamp()
4872 tsync_txctl = E1000_READ_REG(hw, E1000_TSYNCTXCTL); in igb_timesync_read_tx_timestamp()
5137 regval = E1000_READ_REG(hw, E1000_EIMS); in eth_igb_rx_queue_intr_enable()
5221 tmpval = E1000_READ_REG(hw, E1000_CTRL_EXT); in eth_igb_configure_msix_intr()
5233 regval = E1000_READ_REG(hw, E1000_EIAC); in eth_igb_configure_msix_intr()
5235 regval = E1000_READ_REG(hw, E1000_EIAM); in eth_igb_configure_msix_intr()
5256 regval = E1000_READ_REG(hw, E1000_EIAC); in eth_igb_configure_msix_intr()
5260 regval = E1000_READ_REG(hw, E1000_EIMS); in eth_igb_configure_msix_intr()
5278 regval = E1000_READ_REG(hw, E1000_EIAM); in eth_igb_configure_msix_intr()