Lines Matching refs:E1000_READ_REG
504 tctl = E1000_READ_REG(hw, E1000_TCTL); in eth_em_rxtx_control()
505 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_rxtx_control()
796 rx_buf_size = ((E1000_READ_REG(hw, E1000_PBA) & UINT16_MAX) << 10); in em_get_rx_buffer_size()
883 (E1000_READ_REG(hw, E1000_STATUS) & E1000_STATUS_LU)) { in eth_em_stats_get()
884 stats->symerrs += E1000_READ_REG(hw,E1000_SYMERRS); in eth_em_stats_get()
885 stats->sec += E1000_READ_REG(hw, E1000_SEC); in eth_em_stats_get()
888 stats->crcerrs += E1000_READ_REG(hw, E1000_CRCERRS); in eth_em_stats_get()
889 stats->mpc += E1000_READ_REG(hw, E1000_MPC); in eth_em_stats_get()
890 stats->scc += E1000_READ_REG(hw, E1000_SCC); in eth_em_stats_get()
891 stats->ecol += E1000_READ_REG(hw, E1000_ECOL); in eth_em_stats_get()
893 stats->mcc += E1000_READ_REG(hw, E1000_MCC); in eth_em_stats_get()
894 stats->latecol += E1000_READ_REG(hw, E1000_LATECOL); in eth_em_stats_get()
895 stats->colc += E1000_READ_REG(hw, E1000_COLC); in eth_em_stats_get()
896 stats->dc += E1000_READ_REG(hw, E1000_DC); in eth_em_stats_get()
897 stats->rlec += E1000_READ_REG(hw, E1000_RLEC); in eth_em_stats_get()
898 stats->xonrxc += E1000_READ_REG(hw, E1000_XONRXC); in eth_em_stats_get()
899 stats->xontxc += E1000_READ_REG(hw, E1000_XONTXC); in eth_em_stats_get()
905 pause_frames = E1000_READ_REG(hw, E1000_XOFFRXC); in eth_em_stats_get()
907 stats->xofftxc += E1000_READ_REG(hw, E1000_XOFFTXC); in eth_em_stats_get()
908 stats->fcruc += E1000_READ_REG(hw, E1000_FCRUC); in eth_em_stats_get()
909 stats->prc64 += E1000_READ_REG(hw, E1000_PRC64); in eth_em_stats_get()
910 stats->prc127 += E1000_READ_REG(hw, E1000_PRC127); in eth_em_stats_get()
911 stats->prc255 += E1000_READ_REG(hw, E1000_PRC255); in eth_em_stats_get()
912 stats->prc511 += E1000_READ_REG(hw, E1000_PRC511); in eth_em_stats_get()
913 stats->prc1023 += E1000_READ_REG(hw, E1000_PRC1023); in eth_em_stats_get()
914 stats->prc1522 += E1000_READ_REG(hw, E1000_PRC1522); in eth_em_stats_get()
915 stats->gprc += E1000_READ_REG(hw, E1000_GPRC); in eth_em_stats_get()
916 stats->bprc += E1000_READ_REG(hw, E1000_BPRC); in eth_em_stats_get()
917 stats->mprc += E1000_READ_REG(hw, E1000_MPRC); in eth_em_stats_get()
918 stats->gptc += E1000_READ_REG(hw, E1000_GPTC); in eth_em_stats_get()
925 stats->gorc += E1000_READ_REG(hw, E1000_GORCL); in eth_em_stats_get()
926 stats->gorc += ((uint64_t)E1000_READ_REG(hw, E1000_GORCH) << 32); in eth_em_stats_get()
927 stats->gotc += E1000_READ_REG(hw, E1000_GOTCL); in eth_em_stats_get()
928 stats->gotc += ((uint64_t)E1000_READ_REG(hw, E1000_GOTCH) << 32); in eth_em_stats_get()
930 stats->rnbc += E1000_READ_REG(hw, E1000_RNBC); in eth_em_stats_get()
931 stats->ruc += E1000_READ_REG(hw, E1000_RUC); in eth_em_stats_get()
932 stats->rfc += E1000_READ_REG(hw, E1000_RFC); in eth_em_stats_get()
933 stats->roc += E1000_READ_REG(hw, E1000_ROC); in eth_em_stats_get()
934 stats->rjc += E1000_READ_REG(hw, E1000_RJC); in eth_em_stats_get()
936 stats->tor += E1000_READ_REG(hw, E1000_TORH); in eth_em_stats_get()
937 stats->tot += E1000_READ_REG(hw, E1000_TOTH); in eth_em_stats_get()
939 stats->tpr += E1000_READ_REG(hw, E1000_TPR); in eth_em_stats_get()
940 stats->tpt += E1000_READ_REG(hw, E1000_TPT); in eth_em_stats_get()
941 stats->ptc64 += E1000_READ_REG(hw, E1000_PTC64); in eth_em_stats_get()
942 stats->ptc127 += E1000_READ_REG(hw, E1000_PTC127); in eth_em_stats_get()
943 stats->ptc255 += E1000_READ_REG(hw, E1000_PTC255); in eth_em_stats_get()
944 stats->ptc511 += E1000_READ_REG(hw, E1000_PTC511); in eth_em_stats_get()
945 stats->ptc1023 += E1000_READ_REG(hw, E1000_PTC1023); in eth_em_stats_get()
946 stats->ptc1522 += E1000_READ_REG(hw, E1000_PTC1522); in eth_em_stats_get()
947 stats->mptc += E1000_READ_REG(hw, E1000_MPTC); in eth_em_stats_get()
948 stats->bptc += E1000_READ_REG(hw, E1000_BPTC); in eth_em_stats_get()
953 stats->iac += E1000_READ_REG(hw, E1000_IAC); in eth_em_stats_get()
954 stats->icrxptc += E1000_READ_REG(hw, E1000_ICRXPTC); in eth_em_stats_get()
955 stats->icrxatc += E1000_READ_REG(hw, E1000_ICRXATC); in eth_em_stats_get()
956 stats->ictxptc += E1000_READ_REG(hw, E1000_ICTXPTC); in eth_em_stats_get()
957 stats->ictxatc += E1000_READ_REG(hw, E1000_ICTXATC); in eth_em_stats_get()
958 stats->ictxqec += E1000_READ_REG(hw, E1000_ICTXQEC); in eth_em_stats_get()
959 stats->ictxqmtc += E1000_READ_REG(hw, E1000_ICTXQMTC); in eth_em_stats_get()
960 stats->icrxdmtc += E1000_READ_REG(hw, E1000_ICRXDMTC); in eth_em_stats_get()
961 stats->icrxoc += E1000_READ_REG(hw, E1000_ICRXOC); in eth_em_stats_get()
965 stats->algnerrc += E1000_READ_REG(hw, E1000_ALGNERRC); in eth_em_stats_get()
966 stats->rxerrc += E1000_READ_REG(hw, E1000_RXERRC); in eth_em_stats_get()
967 stats->tncrs += E1000_READ_REG(hw, E1000_TNCRS); in eth_em_stats_get()
968 stats->cexterr += E1000_READ_REG(hw, E1000_CEXTERR); in eth_em_stats_get()
969 stats->tsctc += E1000_READ_REG(hw, E1000_TSCTC); in eth_em_stats_get()
970 stats->tsctfc += E1000_READ_REG(hw, E1000_TSCTFC); in eth_em_stats_get()
1145 link_up = (E1000_READ_REG(hw, E1000_STATUS) & in eth_em_link_update()
1197 swsm = E1000_READ_REG(hw, E1000_SWSM); in em_hw_control_acquire()
1201 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in em_hw_control_acquire()
1220 swsm = E1000_READ_REG(hw, E1000_SWSM); in em_hw_control_release()
1223 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in em_hw_control_release()
1238 uint32_t manc2h = E1000_READ_REG(hw, E1000_MANC2H); in em_init_manageability()
1239 uint32_t manc = E1000_READ_REG(hw, E1000_MANC); in em_init_manageability()
1263 manc = E1000_READ_REG(hw, E1000_MANC); in em_release_manageability()
1280 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_promiscuous_enable()
1294 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_promiscuous_disable()
1312 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_allmulticast_enable()
1328 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_allmulticast_disable()
1370 reg = E1000_READ_REG(hw, E1000_RCTL); in em_vlan_hw_filter_disable()
1387 reg = E1000_READ_REG(hw, E1000_RCTL); in em_vlan_hw_filter_enable()
1405 reg = E1000_READ_REG(hw, E1000_CTRL); in em_vlan_hw_strip_disable()
1419 reg = E1000_READ_REG(hw, E1000_CTRL); in em_vlan_hw_strip_enable()
1465 E1000_READ_REG(hw, E1000_ICR); in eth_em_interrupt_setup()
1466 regval = E1000_READ_REG(hw, E1000_IMS); in eth_em_interrupt_setup()
1489 E1000_READ_REG(hw, E1000_ICR); in eth_em_rxq_interrupt_setup()
1532 E1000_READ_REG(hw, E1000_ICR); in em_rxq_intr_disable()
1558 icr = E1000_READ_REG(hw, E1000_ICR); in eth_em_interrupt_get_status()
1677 ctrl = E1000_READ_REG(hw, E1000_CTRL); in eth_em_flow_ctrl_get()
1742 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_flow_ctrl_set()
1816 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_mtu_set()