Lines Matching refs:rd32

328 	ctrl_ext = rd32(hw, TXGBE_PORTCTL);  in txgbe_pf_reset_hw()
735 ctrl_ext = rd32(hw, TXGBE_PORTCTL); in eth_txgbe_dev_init()
967 vfta = rd32(hw, TXGBE_VLANTBL(vid_idx)); in txgbe_vlan_filter_set()
994 rxbal = rd32(hw, TXGBE_RXBAL(rxq->reg_idx)); in txgbe_vlan_strip_queue_set()
995 rxbah = rd32(hw, TXGBE_RXBAH(rxq->reg_idx)); in txgbe_vlan_strip_queue_set()
996 rxcfg = rd32(hw, TXGBE_RXCFG(rxq->reg_idx)); in txgbe_vlan_strip_queue_set()
1027 portctrl = rd32(hw, TXGBE_PORTCTL); in txgbe_vlan_tpid_set()
1090 vlnctrl = rd32(hw, TXGBE_VLANCTL); in txgbe_vlan_hw_filter_disable()
1106 vlnctrl = rd32(hw, TXGBE_VLANCTL); in txgbe_vlan_hw_filter_enable()
1152 ctrl = rd32(hw, TXGBE_RXCFG(queue)); in txgbe_vlan_hw_strip_disable()
1168 ctrl = rd32(hw, TXGBE_RXCFG(queue)); in txgbe_vlan_hw_strip_enable()
1184 ctrl = rd32(hw, TXGBE_PORTCTL); in txgbe_vlan_hw_extend_disable()
1197 ctrl = rd32(hw, TXGBE_PORTCTL); in txgbe_vlan_hw_extend_enable()
1210 ctrl = rd32(hw, TXGBE_PORTCTL); in txgbe_qinq_hw_strip_disable()
1223 ctrl = rd32(hw, TXGBE_PORTCTL); in txgbe_qinq_hw_strip_enable()
1316 uint32_t vlanctrl = rd32(hw, TXGBE_VLANCTL); in txgbe_vmdq_vlan_hw_filter_enable()
1524 gpie = rd32(hw, TXGBE_GPIOINTEN); in txgbe_dev_phy_intr_setup()
2069 uint32_t current_counter = rd32(hw, reg); \
2080 uint64_t current_counter_lsb = rd32(hw, reg_lsb); \
2081 uint64_t current_counter_msb = rd32(hw, reg_msb); \
2122 rd32(hw, TXGBE_PBRXUPXON(i)); in txgbe_read_stats_registers()
2124 rd32(hw, TXGBE_PBRXUPXOFF(i)); in txgbe_read_stats_registers()
2126 rd32(hw, TXGBE_PBTXUPXON(i)); in txgbe_read_stats_registers()
2128 rd32(hw, TXGBE_PBTXUPXOFF(i)); in txgbe_read_stats_registers()
2130 rd32(hw, TXGBE_PBTXUPOFF(i)); in txgbe_read_stats_registers()
2132 rd32(hw, TXGBE_PBRXMISS(i)); in txgbe_read_stats_registers()
2134 hw_stats->rx_xon_packets += rd32(hw, TXGBE_PBRXLNKXON); in txgbe_read_stats_registers()
2135 hw_stats->rx_xoff_packets += rd32(hw, TXGBE_PBRXLNKXOFF); in txgbe_read_stats_registers()
2136 hw_stats->tx_xon_packets += rd32(hw, TXGBE_PBTXLNKXON); in txgbe_read_stats_registers()
2137 hw_stats->tx_xoff_packets += rd32(hw, TXGBE_PBTXLNKXOFF); in txgbe_read_stats_registers()
2140 hw_stats->rx_packets += rd32(hw, TXGBE_DMARXPKT); in txgbe_read_stats_registers()
2141 hw_stats->tx_packets += rd32(hw, TXGBE_DMATXPKT); in txgbe_read_stats_registers()
2145 hw_stats->rx_dma_drop += rd32(hw, TXGBE_DMARXDROP); in txgbe_read_stats_registers()
2146 hw_stats->rx_drop_packets += rd32(hw, TXGBE_PBRXDROP); in txgbe_read_stats_registers()
2158 hw_stats->tx_broadcast_packets += rd32(hw, TXGBE_MACTXOCTL); in txgbe_read_stats_registers()
2178 hw_stats->rx_oversize_errors += rd32(hw, TXGBE_MACRXOVERSIZE); in txgbe_read_stats_registers()
2179 hw_stats->rx_jabber_errors += rd32(hw, TXGBE_MACRXJABBER); in txgbe_read_stats_registers()
2182 hw_stats->mng_bmc2host_packets = rd32(hw, TXGBE_MNGBMC2OS); in txgbe_read_stats_registers()
2183 hw_stats->mng_host2bmc_packets = rd32(hw, TXGBE_MNGOS2BMC); in txgbe_read_stats_registers()
2184 hw_stats->rx_management_packets = rd32(hw, TXGBE_DMARXMNG); in txgbe_read_stats_registers()
2185 hw_stats->tx_management_packets = rd32(hw, TXGBE_DMATXMNG); in txgbe_read_stats_registers()
2188 hw_stats->rx_fcoe_crc_errors += rd32(hw, TXGBE_FCOECRC); in txgbe_read_stats_registers()
2189 hw_stats->rx_fcoe_mbuf_allocation_errors += rd32(hw, TXGBE_FCOELAST); in txgbe_read_stats_registers()
2190 hw_stats->rx_fcoe_dropped += rd32(hw, TXGBE_FCOERPDC); in txgbe_read_stats_registers()
2191 hw_stats->rx_fcoe_packets += rd32(hw, TXGBE_FCOEPRC); in txgbe_read_stats_registers()
2192 hw_stats->tx_fcoe_packets += rd32(hw, TXGBE_FCOEPTC); in txgbe_read_stats_registers()
2193 hw_stats->rx_fcoe_bytes += rd32(hw, TXGBE_FCOEDWRC); in txgbe_read_stats_registers()
2194 hw_stats->tx_fcoe_bytes += rd32(hw, TXGBE_FCOEDWTC); in txgbe_read_stats_registers()
2197 hw_stats->flow_director_matched_filters += rd32(hw, TXGBE_FDIRMATCH); in txgbe_read_stats_registers()
2198 hw_stats->flow_director_missed_filters += rd32(hw, TXGBE_FDIRMISS); in txgbe_read_stats_registers()
2200 TXGBE_FDIRUSED_ADD(rd32(hw, TXGBE_FDIRUSED)); in txgbe_read_stats_registers()
2202 TXGBE_FDIRUSED_REM(rd32(hw, TXGBE_FDIRUSED)); in txgbe_read_stats_registers()
2204 TXGBE_FDIRFAIL_ADD(rd32(hw, TXGBE_FDIRFAIL)); in txgbe_read_stats_registers()
2206 TXGBE_FDIRFAIL_REM(rd32(hw, TXGBE_FDIRFAIL)); in txgbe_read_stats_registers()
2209 hw_stats->tx_macsec_pkts_untagged += rd32(hw, TXGBE_LSECTX_UTPKT); in txgbe_read_stats_registers()
2211 rd32(hw, TXGBE_LSECTX_ENCPKT); in txgbe_read_stats_registers()
2213 rd32(hw, TXGBE_LSECTX_PROTPKT); in txgbe_read_stats_registers()
2215 rd32(hw, TXGBE_LSECTX_ENCOCT); in txgbe_read_stats_registers()
2217 rd32(hw, TXGBE_LSECTX_PROTOCT); in txgbe_read_stats_registers()
2218 hw_stats->rx_macsec_pkts_untagged += rd32(hw, TXGBE_LSECRX_UTPKT); in txgbe_read_stats_registers()
2219 hw_stats->rx_macsec_pkts_badtag += rd32(hw, TXGBE_LSECRX_BTPKT); in txgbe_read_stats_registers()
2220 hw_stats->rx_macsec_pkts_nosci += rd32(hw, TXGBE_LSECRX_NOSCIPKT); in txgbe_read_stats_registers()
2221 hw_stats->rx_macsec_pkts_unknownsci += rd32(hw, TXGBE_LSECRX_UNSCIPKT); in txgbe_read_stats_registers()
2222 hw_stats->rx_macsec_octets_decrypted += rd32(hw, TXGBE_LSECRX_DECOCT); in txgbe_read_stats_registers()
2223 hw_stats->rx_macsec_octets_validated += rd32(hw, TXGBE_LSECRX_VLDOCT); in txgbe_read_stats_registers()
2225 rd32(hw, TXGBE_LSECRX_UNCHKPKT); in txgbe_read_stats_registers()
2226 hw_stats->rx_macsec_sc_pkts_delayed += rd32(hw, TXGBE_LSECRX_DLYPKT); in txgbe_read_stats_registers()
2227 hw_stats->rx_macsec_sc_pkts_late += rd32(hw, TXGBE_LSECRX_LATEPKT); in txgbe_read_stats_registers()
2230 rd32(hw, TXGBE_LSECRX_OKPKT(i)); in txgbe_read_stats_registers()
2232 rd32(hw, TXGBE_LSECRX_INVPKT(i)); in txgbe_read_stats_registers()
2234 rd32(hw, TXGBE_LSECRX_BADPKT(i)); in txgbe_read_stats_registers()
2237 rd32(hw, TXGBE_LSECRX_INVSAPKT); in txgbe_read_stats_registers()
2239 rd32(hw, TXGBE_LSECRX_BADSAPKT); in txgbe_read_stats_registers()
2776 fctrl = rd32(hw, TXGBE_PSRCTL); in txgbe_dev_promiscuous_enable()
2789 fctrl = rd32(hw, TXGBE_PSRCTL); in txgbe_dev_promiscuous_disable()
2806 fctrl = rd32(hw, TXGBE_PSRCTL); in txgbe_dev_allmulticast_enable()
2822 fctrl = rd32(hw, TXGBE_PSRCTL); in txgbe_dev_allmulticast_disable()
3201 mflcn_reg = rd32(hw, TXGBE_RXFCCFG); in txgbe_flow_ctrl_get()
3211 fccfg_reg = rd32(hw, TXGBE_TXFCCFG); in txgbe_flow_ctrl_get()
3246 rx_buf_size = rd32(hw, TXGBE_PBRXSIZE(0)); in txgbe_flow_ctrl_set()
3307 rx_buf_size = rd32(hw, TXGBE_PBRXSIZE(tc_num)); in txgbe_priority_flow_ctrl_set()
3534 reg_val = rd32(hw, TXGBE_UCADDRTBL(uta_idx)); in txgbe_uc_hash_table_set()
3547 psrctl = rd32(hw, TXGBE_PSRCTL); in txgbe_uc_hash_table_set()
3584 psrctl = rd32(hw, TXGBE_PSRCTL); in txgbe_uc_all_hash_table_set()
3625 mask = rd32(hw, TXGBE_IMS(0)); in txgbe_dev_rx_queue_intr_enable()
3629 mask = rd32(hw, TXGBE_IMS(1)); in txgbe_dev_rx_queue_intr_enable()
3645 mask = rd32(hw, TXGBE_IMS(0)); in txgbe_dev_rx_queue_intr_disable()
3649 mask = rd32(hw, TXGBE_IMS(1)); in txgbe_dev_rx_queue_intr_disable()
3678 tmp = rd32(hw, TXGBE_IVARMISC); in txgbe_set_ivar_map()
3686 tmp = rd32(hw, TXGBE_IVAR(queue >> 1)); in txgbe_set_ivar_map()
3713 gpie = rd32(hw, TXGBE_GPIE); in txgbe_configure_msix()
3724 gpie = rd32(hw, TXGBE_GPIE); in txgbe_configure_msix()
3807 synqf = rd32(hw, TXGBE_SYNCLS); in txgbe_syn_filter_set()
4217 systime_cycles = (uint64_t)rd32(hw, TXGBE_TSTIMEL); in txgbe_read_systime_cyclecounter()
4218 systime_cycles |= (uint64_t)rd32(hw, TXGBE_TSTIMEH) << 32; in txgbe_read_systime_cyclecounter()
4230 rx_tstamp_cycles = (uint64_t)rd32(hw, TXGBE_TSRXSTMPL); in txgbe_read_rx_tstamp_cyclecounter()
4231 rx_tstamp_cycles |= (uint64_t)rd32(hw, TXGBE_TSRXSTMPH) << 32; in txgbe_read_rx_tstamp_cyclecounter()
4243 tx_tstamp_cycles = (uint64_t)rd32(hw, TXGBE_TSTXSTMPL); in txgbe_read_tx_tstamp_cyclecounter()
4244 tx_tstamp_cycles |= (uint64_t)rd32(hw, TXGBE_TSTXSTMPH) << 32; in txgbe_read_tx_tstamp_cyclecounter()
4356 tsync_ctl = rd32(hw, TXGBE_TSRXCTL); in txgbe_timesync_enable()
4361 tsync_ctl = rd32(hw, TXGBE_TSTXCTL); in txgbe_timesync_enable()
4377 tsync_ctl = rd32(hw, TXGBE_TSTXCTL); in txgbe_timesync_disable()
4382 tsync_ctl = rd32(hw, TXGBE_TSRXCTL); in txgbe_timesync_disable()
4406 tsync_rxctl = rd32(hw, TXGBE_TSRXCTL); in txgbe_timesync_read_rx_timestamp()
4427 tsync_txctl = rd32(hw, TXGBE_TSTXCTL); in txgbe_timesync_read_tx_timestamp()
4714 etag_etype = rd32(hw, TXGBE_EXTAG); in txgbe_update_e_tag_eth_type()
4729 etag_etype = rd32(hw, TXGBE_PORTCTL); in txgbe_e_tag_enable()
4750 rar_high = rd32(hw, TXGBE_ETHADDRH); in txgbe_e_tag_filter_del()
4751 rar_low = rd32(hw, TXGBE_ETHADDRL); in txgbe_e_tag_filter_del()
4784 rar_high = rd32(hw, TXGBE_ETHADDRH); in txgbe_e_tag_filter_add()
4957 ctrl = rd32(hw, TXGBE_POOLCTL); in txgbe_e_tag_forwarding_en_dis()
5035 cur_port = (uint16_t)rd32(hw, TXGBE_VXLANPORT); in txgbe_dev_udp_tunnel_port_del()
5045 cur_port = (uint16_t)rd32(hw, TXGBE_GENEVEPORT); in txgbe_dev_udp_tunnel_port_del()
5055 cur_port = (uint16_t)rd32(hw, TXGBE_TEREDOPORT); in txgbe_dev_udp_tunnel_port_del()
5065 cur_port = (uint16_t)rd32(hw, TXGBE_VXLANPORTGPE); in txgbe_dev_udp_tunnel_port_del()