Lines Matching refs:E1000_READ_REG

502 	tctl = E1000_READ_REG(hw, E1000_TCTL);  in eth_em_rxtx_control()
503 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_rxtx_control()
789 rx_buf_size = ((E1000_READ_REG(hw, E1000_PBA) & UINT16_MAX) << 10); in em_get_rx_buffer_size()
876 (E1000_READ_REG(hw, E1000_STATUS) & E1000_STATUS_LU)) { in eth_em_stats_get()
877 stats->symerrs += E1000_READ_REG(hw,E1000_SYMERRS); in eth_em_stats_get()
878 stats->sec += E1000_READ_REG(hw, E1000_SEC); in eth_em_stats_get()
881 stats->crcerrs += E1000_READ_REG(hw, E1000_CRCERRS); in eth_em_stats_get()
882 stats->mpc += E1000_READ_REG(hw, E1000_MPC); in eth_em_stats_get()
883 stats->scc += E1000_READ_REG(hw, E1000_SCC); in eth_em_stats_get()
884 stats->ecol += E1000_READ_REG(hw, E1000_ECOL); in eth_em_stats_get()
886 stats->mcc += E1000_READ_REG(hw, E1000_MCC); in eth_em_stats_get()
887 stats->latecol += E1000_READ_REG(hw, E1000_LATECOL); in eth_em_stats_get()
888 stats->colc += E1000_READ_REG(hw, E1000_COLC); in eth_em_stats_get()
889 stats->dc += E1000_READ_REG(hw, E1000_DC); in eth_em_stats_get()
890 stats->rlec += E1000_READ_REG(hw, E1000_RLEC); in eth_em_stats_get()
891 stats->xonrxc += E1000_READ_REG(hw, E1000_XONRXC); in eth_em_stats_get()
892 stats->xontxc += E1000_READ_REG(hw, E1000_XONTXC); in eth_em_stats_get()
898 pause_frames = E1000_READ_REG(hw, E1000_XOFFRXC); in eth_em_stats_get()
900 stats->xofftxc += E1000_READ_REG(hw, E1000_XOFFTXC); in eth_em_stats_get()
901 stats->fcruc += E1000_READ_REG(hw, E1000_FCRUC); in eth_em_stats_get()
902 stats->prc64 += E1000_READ_REG(hw, E1000_PRC64); in eth_em_stats_get()
903 stats->prc127 += E1000_READ_REG(hw, E1000_PRC127); in eth_em_stats_get()
904 stats->prc255 += E1000_READ_REG(hw, E1000_PRC255); in eth_em_stats_get()
905 stats->prc511 += E1000_READ_REG(hw, E1000_PRC511); in eth_em_stats_get()
906 stats->prc1023 += E1000_READ_REG(hw, E1000_PRC1023); in eth_em_stats_get()
907 stats->prc1522 += E1000_READ_REG(hw, E1000_PRC1522); in eth_em_stats_get()
908 stats->gprc += E1000_READ_REG(hw, E1000_GPRC); in eth_em_stats_get()
909 stats->bprc += E1000_READ_REG(hw, E1000_BPRC); in eth_em_stats_get()
910 stats->mprc += E1000_READ_REG(hw, E1000_MPRC); in eth_em_stats_get()
911 stats->gptc += E1000_READ_REG(hw, E1000_GPTC); in eth_em_stats_get()
918 stats->gorc += E1000_READ_REG(hw, E1000_GORCL); in eth_em_stats_get()
919 stats->gorc += ((uint64_t)E1000_READ_REG(hw, E1000_GORCH) << 32); in eth_em_stats_get()
920 stats->gotc += E1000_READ_REG(hw, E1000_GOTCL); in eth_em_stats_get()
921 stats->gotc += ((uint64_t)E1000_READ_REG(hw, E1000_GOTCH) << 32); in eth_em_stats_get()
923 stats->rnbc += E1000_READ_REG(hw, E1000_RNBC); in eth_em_stats_get()
924 stats->ruc += E1000_READ_REG(hw, E1000_RUC); in eth_em_stats_get()
925 stats->rfc += E1000_READ_REG(hw, E1000_RFC); in eth_em_stats_get()
926 stats->roc += E1000_READ_REG(hw, E1000_ROC); in eth_em_stats_get()
927 stats->rjc += E1000_READ_REG(hw, E1000_RJC); in eth_em_stats_get()
929 stats->tor += E1000_READ_REG(hw, E1000_TORH); in eth_em_stats_get()
930 stats->tot += E1000_READ_REG(hw, E1000_TOTH); in eth_em_stats_get()
932 stats->tpr += E1000_READ_REG(hw, E1000_TPR); in eth_em_stats_get()
933 stats->tpt += E1000_READ_REG(hw, E1000_TPT); in eth_em_stats_get()
934 stats->ptc64 += E1000_READ_REG(hw, E1000_PTC64); in eth_em_stats_get()
935 stats->ptc127 += E1000_READ_REG(hw, E1000_PTC127); in eth_em_stats_get()
936 stats->ptc255 += E1000_READ_REG(hw, E1000_PTC255); in eth_em_stats_get()
937 stats->ptc511 += E1000_READ_REG(hw, E1000_PTC511); in eth_em_stats_get()
938 stats->ptc1023 += E1000_READ_REG(hw, E1000_PTC1023); in eth_em_stats_get()
939 stats->ptc1522 += E1000_READ_REG(hw, E1000_PTC1522); in eth_em_stats_get()
940 stats->mptc += E1000_READ_REG(hw, E1000_MPTC); in eth_em_stats_get()
941 stats->bptc += E1000_READ_REG(hw, E1000_BPTC); in eth_em_stats_get()
946 stats->iac += E1000_READ_REG(hw, E1000_IAC); in eth_em_stats_get()
947 stats->icrxptc += E1000_READ_REG(hw, E1000_ICRXPTC); in eth_em_stats_get()
948 stats->icrxatc += E1000_READ_REG(hw, E1000_ICRXATC); in eth_em_stats_get()
949 stats->ictxptc += E1000_READ_REG(hw, E1000_ICTXPTC); in eth_em_stats_get()
950 stats->ictxatc += E1000_READ_REG(hw, E1000_ICTXATC); in eth_em_stats_get()
951 stats->ictxqec += E1000_READ_REG(hw, E1000_ICTXQEC); in eth_em_stats_get()
952 stats->ictxqmtc += E1000_READ_REG(hw, E1000_ICTXQMTC); in eth_em_stats_get()
953 stats->icrxdmtc += E1000_READ_REG(hw, E1000_ICRXDMTC); in eth_em_stats_get()
954 stats->icrxoc += E1000_READ_REG(hw, E1000_ICRXOC); in eth_em_stats_get()
958 stats->algnerrc += E1000_READ_REG(hw, E1000_ALGNERRC); in eth_em_stats_get()
959 stats->rxerrc += E1000_READ_REG(hw, E1000_RXERRC); in eth_em_stats_get()
960 stats->tncrs += E1000_READ_REG(hw, E1000_TNCRS); in eth_em_stats_get()
961 stats->cexterr += E1000_READ_REG(hw, E1000_CEXTERR); in eth_em_stats_get()
962 stats->tsctc += E1000_READ_REG(hw, E1000_TSCTC); in eth_em_stats_get()
963 stats->tsctfc += E1000_READ_REG(hw, E1000_TSCTFC); in eth_em_stats_get()
1139 link_up = (E1000_READ_REG(hw, E1000_STATUS) & in eth_em_link_update()
1191 swsm = E1000_READ_REG(hw, E1000_SWSM); in em_hw_control_acquire()
1195 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in em_hw_control_acquire()
1214 swsm = E1000_READ_REG(hw, E1000_SWSM); in em_hw_control_release()
1217 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT); in em_hw_control_release()
1232 uint32_t manc2h = E1000_READ_REG(hw, E1000_MANC2H); in em_init_manageability()
1233 uint32_t manc = E1000_READ_REG(hw, E1000_MANC); in em_init_manageability()
1257 manc = E1000_READ_REG(hw, E1000_MANC); in em_release_manageability()
1274 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_promiscuous_enable()
1288 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_promiscuous_disable()
1306 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_allmulticast_enable()
1322 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_allmulticast_disable()
1364 reg = E1000_READ_REG(hw, E1000_RCTL); in em_vlan_hw_filter_disable()
1381 reg = E1000_READ_REG(hw, E1000_RCTL); in em_vlan_hw_filter_enable()
1399 reg = E1000_READ_REG(hw, E1000_CTRL); in em_vlan_hw_strip_disable()
1413 reg = E1000_READ_REG(hw, E1000_CTRL); in em_vlan_hw_strip_enable()
1459 E1000_READ_REG(hw, E1000_ICR); in eth_em_interrupt_setup()
1460 regval = E1000_READ_REG(hw, E1000_IMS); in eth_em_interrupt_setup()
1483 E1000_READ_REG(hw, E1000_ICR); in eth_em_rxq_interrupt_setup()
1526 E1000_READ_REG(hw, E1000_ICR); in em_rxq_intr_disable()
1552 icr = E1000_READ_REG(hw, E1000_ICR); in eth_em_interrupt_get_status()
1671 ctrl = E1000_READ_REG(hw, E1000_CTRL); in eth_em_flow_ctrl_get()
1736 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_flow_ctrl_set()
1803 rctl = E1000_READ_REG(hw, E1000_RCTL); in eth_em_mtu_set()