Lines Matching refs:rd32

317 	ctrl_ext = rd32(hw, TXGBE_PORTCTL);  in txgbe_pf_reset_hw()
651 ctrl_ext = rd32(hw, TXGBE_PORTCTL); in eth_txgbe_dev_init()
761 vfta = rd32(hw, TXGBE_VLANTBL(vid_idx)); in txgbe_vlan_filter_set()
788 rxbal = rd32(hw, TXGBE_RXBAL(rxq->reg_idx)); in txgbe_vlan_strip_queue_set()
789 rxbah = rd32(hw, TXGBE_RXBAH(rxq->reg_idx)); in txgbe_vlan_strip_queue_set()
790 rxcfg = rd32(hw, TXGBE_RXCFG(rxq->reg_idx)); in txgbe_vlan_strip_queue_set()
821 portctrl = rd32(hw, TXGBE_PORTCTL); in txgbe_vlan_tpid_set()
884 vlnctrl = rd32(hw, TXGBE_VLANCTL); in txgbe_vlan_hw_filter_disable()
900 vlnctrl = rd32(hw, TXGBE_VLANCTL); in txgbe_vlan_hw_filter_enable()
946 ctrl = rd32(hw, TXGBE_RXCFG(queue)); in txgbe_vlan_hw_strip_disable()
962 ctrl = rd32(hw, TXGBE_RXCFG(queue)); in txgbe_vlan_hw_strip_enable()
978 ctrl = rd32(hw, TXGBE_PORTCTL); in txgbe_vlan_hw_extend_disable()
994 ctrl = rd32(hw, TXGBE_PORTCTL); in txgbe_vlan_hw_extend_enable()
1083 uint32_t vlanctrl = rd32(hw, TXGBE_VLANCTL); in txgbe_vmdq_vlan_hw_filter_enable()
1291 gpie = rd32(hw, TXGBE_GPIOINTEN); in txgbe_dev_phy_intr_setup()
1808 uint32_t current_counter = rd32(hw, reg); \
1819 uint64_t current_counter_lsb = rd32(hw, reg_lsb); \
1820 uint64_t current_counter_msb = rd32(hw, reg_msb); \
1861 rd32(hw, TXGBE_PBRXUPXON(i)); in txgbe_read_stats_registers()
1863 rd32(hw, TXGBE_PBRXUPXOFF(i)); in txgbe_read_stats_registers()
1865 rd32(hw, TXGBE_PBTXUPXON(i)); in txgbe_read_stats_registers()
1867 rd32(hw, TXGBE_PBTXUPXOFF(i)); in txgbe_read_stats_registers()
1869 rd32(hw, TXGBE_PBTXUPOFF(i)); in txgbe_read_stats_registers()
1871 rd32(hw, TXGBE_PBRXMISS(i)); in txgbe_read_stats_registers()
1873 hw_stats->rx_xon_packets += rd32(hw, TXGBE_PBRXLNKXON); in txgbe_read_stats_registers()
1874 hw_stats->rx_xoff_packets += rd32(hw, TXGBE_PBRXLNKXOFF); in txgbe_read_stats_registers()
1875 hw_stats->tx_xon_packets += rd32(hw, TXGBE_PBTXLNKXON); in txgbe_read_stats_registers()
1876 hw_stats->tx_xoff_packets += rd32(hw, TXGBE_PBTXLNKXOFF); in txgbe_read_stats_registers()
1879 hw_stats->rx_packets += rd32(hw, TXGBE_DMARXPKT); in txgbe_read_stats_registers()
1880 hw_stats->tx_packets += rd32(hw, TXGBE_DMATXPKT); in txgbe_read_stats_registers()
1884 hw_stats->rx_drop_packets += rd32(hw, TXGBE_PBRXDROP); in txgbe_read_stats_registers()
1896 hw_stats->tx_broadcast_packets += rd32(hw, TXGBE_MACTXOCTL); in txgbe_read_stats_registers()
1916 hw_stats->rx_oversize_errors += rd32(hw, TXGBE_MACRXOVERSIZE); in txgbe_read_stats_registers()
1917 hw_stats->rx_jabber_errors += rd32(hw, TXGBE_MACRXJABBER); in txgbe_read_stats_registers()
1920 hw_stats->mng_bmc2host_packets = rd32(hw, TXGBE_MNGBMC2OS); in txgbe_read_stats_registers()
1921 hw_stats->mng_host2bmc_packets = rd32(hw, TXGBE_MNGOS2BMC); in txgbe_read_stats_registers()
1922 hw_stats->rx_management_packets = rd32(hw, TXGBE_DMARXMNG); in txgbe_read_stats_registers()
1923 hw_stats->tx_management_packets = rd32(hw, TXGBE_DMATXMNG); in txgbe_read_stats_registers()
1926 hw_stats->rx_fcoe_crc_errors += rd32(hw, TXGBE_FCOECRC); in txgbe_read_stats_registers()
1927 hw_stats->rx_fcoe_mbuf_allocation_errors += rd32(hw, TXGBE_FCOELAST); in txgbe_read_stats_registers()
1928 hw_stats->rx_fcoe_dropped += rd32(hw, TXGBE_FCOERPDC); in txgbe_read_stats_registers()
1929 hw_stats->rx_fcoe_packets += rd32(hw, TXGBE_FCOEPRC); in txgbe_read_stats_registers()
1930 hw_stats->tx_fcoe_packets += rd32(hw, TXGBE_FCOEPTC); in txgbe_read_stats_registers()
1931 hw_stats->rx_fcoe_bytes += rd32(hw, TXGBE_FCOEDWRC); in txgbe_read_stats_registers()
1932 hw_stats->tx_fcoe_bytes += rd32(hw, TXGBE_FCOEDWTC); in txgbe_read_stats_registers()
1935 hw_stats->flow_director_matched_filters += rd32(hw, TXGBE_FDIRMATCH); in txgbe_read_stats_registers()
1936 hw_stats->flow_director_missed_filters += rd32(hw, TXGBE_FDIRMISS); in txgbe_read_stats_registers()
1938 TXGBE_FDIRUSED_ADD(rd32(hw, TXGBE_FDIRUSED)); in txgbe_read_stats_registers()
1940 TXGBE_FDIRUSED_REM(rd32(hw, TXGBE_FDIRUSED)); in txgbe_read_stats_registers()
1942 TXGBE_FDIRFAIL_ADD(rd32(hw, TXGBE_FDIRFAIL)); in txgbe_read_stats_registers()
1944 TXGBE_FDIRFAIL_REM(rd32(hw, TXGBE_FDIRFAIL)); in txgbe_read_stats_registers()
1947 hw_stats->tx_macsec_pkts_untagged += rd32(hw, TXGBE_LSECTX_UTPKT); in txgbe_read_stats_registers()
1949 rd32(hw, TXGBE_LSECTX_ENCPKT); in txgbe_read_stats_registers()
1951 rd32(hw, TXGBE_LSECTX_PROTPKT); in txgbe_read_stats_registers()
1953 rd32(hw, TXGBE_LSECTX_ENCOCT); in txgbe_read_stats_registers()
1955 rd32(hw, TXGBE_LSECTX_PROTOCT); in txgbe_read_stats_registers()
1956 hw_stats->rx_macsec_pkts_untagged += rd32(hw, TXGBE_LSECRX_UTPKT); in txgbe_read_stats_registers()
1957 hw_stats->rx_macsec_pkts_badtag += rd32(hw, TXGBE_LSECRX_BTPKT); in txgbe_read_stats_registers()
1958 hw_stats->rx_macsec_pkts_nosci += rd32(hw, TXGBE_LSECRX_NOSCIPKT); in txgbe_read_stats_registers()
1959 hw_stats->rx_macsec_pkts_unknownsci += rd32(hw, TXGBE_LSECRX_UNSCIPKT); in txgbe_read_stats_registers()
1960 hw_stats->rx_macsec_octets_decrypted += rd32(hw, TXGBE_LSECRX_DECOCT); in txgbe_read_stats_registers()
1961 hw_stats->rx_macsec_octets_validated += rd32(hw, TXGBE_LSECRX_VLDOCT); in txgbe_read_stats_registers()
1963 rd32(hw, TXGBE_LSECRX_UNCHKPKT); in txgbe_read_stats_registers()
1964 hw_stats->rx_macsec_sc_pkts_delayed += rd32(hw, TXGBE_LSECRX_DLYPKT); in txgbe_read_stats_registers()
1965 hw_stats->rx_macsec_sc_pkts_late += rd32(hw, TXGBE_LSECRX_LATEPKT); in txgbe_read_stats_registers()
1968 rd32(hw, TXGBE_LSECRX_OKPKT(i)); in txgbe_read_stats_registers()
1970 rd32(hw, TXGBE_LSECRX_INVPKT(i)); in txgbe_read_stats_registers()
1972 rd32(hw, TXGBE_LSECRX_BADPKT(i)); in txgbe_read_stats_registers()
1975 rd32(hw, TXGBE_LSECRX_INVSAPKT); in txgbe_read_stats_registers()
1977 rd32(hw, TXGBE_LSECRX_BADSAPKT); in txgbe_read_stats_registers()
2507 fctrl = rd32(hw, TXGBE_PSRCTL); in txgbe_dev_promiscuous_enable()
2520 fctrl = rd32(hw, TXGBE_PSRCTL); in txgbe_dev_promiscuous_disable()
2537 fctrl = rd32(hw, TXGBE_PSRCTL); in txgbe_dev_allmulticast_enable()
2553 fctrl = rd32(hw, TXGBE_PSRCTL); in txgbe_dev_allmulticast_disable()
2892 mflcn_reg = rd32(hw, TXGBE_RXFCCFG); in txgbe_flow_ctrl_get()
2902 fccfg_reg = rd32(hw, TXGBE_TXFCCFG); in txgbe_flow_ctrl_get()
2937 rx_buf_size = rd32(hw, TXGBE_PBRXSIZE(0)); in txgbe_flow_ctrl_set()
2998 rx_buf_size = rd32(hw, TXGBE_PBRXSIZE(tc_num)); in txgbe_priority_flow_ctrl_set()
3238 reg_val = rd32(hw, TXGBE_UCADDRTBL(uta_idx)); in txgbe_uc_hash_table_set()
3251 psrctl = rd32(hw, TXGBE_PSRCTL); in txgbe_uc_hash_table_set()
3288 psrctl = rd32(hw, TXGBE_PSRCTL); in txgbe_uc_all_hash_table_set()
3329 mask = rd32(hw, TXGBE_IMS(0)); in txgbe_dev_rx_queue_intr_enable()
3333 mask = rd32(hw, TXGBE_IMS(1)); in txgbe_dev_rx_queue_intr_enable()
3349 mask = rd32(hw, TXGBE_IMS(0)); in txgbe_dev_rx_queue_intr_disable()
3353 mask = rd32(hw, TXGBE_IMS(1)); in txgbe_dev_rx_queue_intr_disable()
3382 tmp = rd32(hw, TXGBE_IVARMISC); in txgbe_set_ivar_map()
3390 tmp = rd32(hw, TXGBE_IVAR(queue >> 1)); in txgbe_set_ivar_map()
3417 gpie = rd32(hw, TXGBE_GPIE); in txgbe_configure_msix()
3428 gpie = rd32(hw, TXGBE_GPIE); in txgbe_configure_msix()
3515 systime_cycles = (uint64_t)rd32(hw, TXGBE_TSTIMEL); in txgbe_read_systime_cyclecounter()
3516 systime_cycles |= (uint64_t)rd32(hw, TXGBE_TSTIMEH) << 32; in txgbe_read_systime_cyclecounter()
3528 rx_tstamp_cycles = (uint64_t)rd32(hw, TXGBE_TSRXSTMPL); in txgbe_read_rx_tstamp_cyclecounter()
3529 rx_tstamp_cycles |= (uint64_t)rd32(hw, TXGBE_TSRXSTMPH) << 32; in txgbe_read_rx_tstamp_cyclecounter()
3541 tx_tstamp_cycles = (uint64_t)rd32(hw, TXGBE_TSTXSTMPL); in txgbe_read_tx_tstamp_cyclecounter()
3542 tx_tstamp_cycles |= (uint64_t)rd32(hw, TXGBE_TSTXSTMPH) << 32; in txgbe_read_tx_tstamp_cyclecounter()
3654 tsync_ctl = rd32(hw, TXGBE_TSRXCTL); in txgbe_timesync_enable()
3659 tsync_ctl = rd32(hw, TXGBE_TSTXCTL); in txgbe_timesync_enable()
3675 tsync_ctl = rd32(hw, TXGBE_TSTXCTL); in txgbe_timesync_disable()
3680 tsync_ctl = rd32(hw, TXGBE_TSRXCTL); in txgbe_timesync_disable()
3704 tsync_rxctl = rd32(hw, TXGBE_TSRXCTL); in txgbe_timesync_read_rx_timestamp()
3725 tsync_txctl = rd32(hw, TXGBE_TSTXCTL); in txgbe_timesync_read_tx_timestamp()