Lines Matching refs:wr32
331 wr32(hw, TXGBE_PORTCTL, ctrl_ext); in txgbe_pf_reset_hw()
345 wr32(hw, TXGBE_IENMISC, intr->mask_misc); in txgbe_enable_intr()
346 wr32(hw, TXGBE_IMC(0), TXGBE_IMC_MASK); in txgbe_enable_intr()
347 wr32(hw, TXGBE_IMC(1), TXGBE_IMC_MASK); in txgbe_enable_intr()
356 wr32(hw, TXGBE_IENMISC, ~BIT_MASK32); in txgbe_disable_intr()
357 wr32(hw, TXGBE_IMS(0), TXGBE_IMC_MASK); in txgbe_disable_intr()
358 wr32(hw, TXGBE_IMS(1), TXGBE_IMC_MASK); in txgbe_disable_intr()
740 wr32(hw, TXGBE_PORTCTL, ctrl_ext); in eth_txgbe_dev_init()
972 wr32(hw, TXGBE_VLANTBL(vid_idx), vfta); in txgbe_vlan_filter_set()
1011 wr32(hw, TXGBE_RXBAL(rxq->reg_idx), rxbal); in txgbe_vlan_strip_queue_set()
1012 wr32(hw, TXGBE_RXBAH(rxq->reg_idx), rxbah); in txgbe_vlan_strip_queue_set()
1013 wr32(hw, TXGBE_RXCFG(rxq->reg_idx), rxcfg); in txgbe_vlan_strip_queue_set()
1092 wr32(hw, TXGBE_VLANCTL, vlnctrl); in txgbe_vlan_hw_filter_disable()
1109 wr32(hw, TXGBE_VLANCTL, vlnctrl); in txgbe_vlan_hw_filter_enable()
1113 wr32(hw, TXGBE_VLANTBL(i), shadow_vfta->vfta[i]); in txgbe_vlan_hw_filter_enable()
1154 wr32(hw, TXGBE_RXCFG(queue), ctrl); in txgbe_vlan_hw_strip_disable()
1170 wr32(hw, TXGBE_RXCFG(queue), ctrl); in txgbe_vlan_hw_strip_enable()
1186 wr32(hw, TXGBE_PORTCTL, ctrl); in txgbe_vlan_hw_extend_disable()
1199 wr32(hw, TXGBE_PORTCTL, ctrl); in txgbe_vlan_hw_extend_enable()
1212 wr32(hw, TXGBE_PORTCTL, ctrl); in txgbe_qinq_hw_strip_disable()
1225 wr32(hw, TXGBE_PORTCTL, ctrl); in txgbe_qinq_hw_strip_enable()
1319 wr32(hw, TXGBE_VLANCTL, vlanctrl); in txgbe_vmdq_vlan_hw_filter_enable()
1526 wr32(hw, TXGBE_GPIOINTEN, gpie); in txgbe_dev_phy_intr_setup()
2778 wr32(hw, TXGBE_PSRCTL, fctrl); in txgbe_dev_promiscuous_enable()
2795 wr32(hw, TXGBE_PSRCTL, fctrl); in txgbe_dev_promiscuous_disable()
2808 wr32(hw, TXGBE_PSRCTL, fctrl); in txgbe_dev_allmulticast_enable()
2824 wr32(hw, TXGBE_PSRCTL, fctrl); in txgbe_dev_allmulticast_disable()
2935 wr32(hw, TXGBE_PX_INTA, 1); in txgbe_dev_interrupt_get_status()
3545 wr32(hw, TXGBE_UCADDRTBL(uta_idx), reg_val); in txgbe_uc_hash_table_set()
3555 wr32(hw, TXGBE_PSRCTL, psrctl); in txgbe_uc_hash_table_set()
3575 wr32(hw, TXGBE_UCADDRTBL(i), ~0); in txgbe_uc_all_hash_table_set()
3580 wr32(hw, TXGBE_UCADDRTBL(i), 0); in txgbe_uc_all_hash_table_set()
3592 wr32(hw, TXGBE_PSRCTL, psrctl); in txgbe_uc_all_hash_table_set()
3627 wr32(hw, TXGBE_IMS(0), mask); in txgbe_dev_rx_queue_intr_enable()
3631 wr32(hw, TXGBE_IMS(1), mask); in txgbe_dev_rx_queue_intr_enable()
3647 wr32(hw, TXGBE_IMS(0), mask); in txgbe_dev_rx_queue_intr_disable()
3651 wr32(hw, TXGBE_IMS(1), mask); in txgbe_dev_rx_queue_intr_disable()
3681 wr32(hw, TXGBE_IVARMISC, tmp); in txgbe_set_ivar_map()
3689 wr32(hw, TXGBE_IVAR(queue >> 1), tmp); in txgbe_set_ivar_map()
3726 wr32(hw, TXGBE_GPIE, gpie); in txgbe_configure_msix()
3745 wr32(hw, TXGBE_ITR(TXGBE_MISC_VEC_ID), in txgbe_configure_msix()
3771 wr32(hw, TXGBE_ARBTXMMW, 0x14); in txgbe_set_queue_rate_limit()
3774 wr32(hw, TXGBE_ARBPOOLIDX, queue_idx); in txgbe_set_queue_rate_limit()
3775 wr32(hw, TXGBE_ARBTXRATE, bcnrc_val); in txgbe_set_queue_rate_limit()
3814 wr32(hw, TXGBE_SYNCLS, synqf); in txgbe_syn_filter_set()
3863 wr32(hw, TXGBE_5TFDADDR(i), be_to_le32(filter->filter_info.dst_ip)); in txgbe_inject_5tuple_filter()
3864 wr32(hw, TXGBE_5TFSADDR(i), be_to_le32(filter->filter_info.src_ip)); in txgbe_inject_5tuple_filter()
3865 wr32(hw, TXGBE_5TFPORT(i), sdpqf); in txgbe_inject_5tuple_filter()
3866 wr32(hw, TXGBE_5TFCTL0(i), ftqf); in txgbe_inject_5tuple_filter()
3869 wr32(hw, TXGBE_5TFCTL1(i), l34timir); in txgbe_inject_5tuple_filter()
3938 wr32(hw, TXGBE_5TFDADDR(index), 0); in txgbe_remove_5tuple_filter()
3939 wr32(hw, TXGBE_5TFSADDR(index), 0); in txgbe_remove_5tuple_filter()
3940 wr32(hw, TXGBE_5TFPORT(index), 0); in txgbe_remove_5tuple_filter()
3941 wr32(hw, TXGBE_5TFCTL0(index), 0); in txgbe_remove_5tuple_filter()
3942 wr32(hw, TXGBE_5TFCTL1(index), 0); in txgbe_remove_5tuple_filter()
4170 wr32(hw, TXGBE_ETFLT(ret), etqf); in txgbe_add_del_ethertype_filter()
4171 wr32(hw, TXGBE_ETCLS(ret), etqs); in txgbe_add_del_ethertype_filter()
4278 wr32(hw, TXGBE_TSTIMEINC, TXGBE_TSTIMEINC_VP(incval, 2)); in txgbe_start_timecounters()
4344 wr32(hw, TXGBE_TSTIMEINC, 0x0); in txgbe_timesync_enable()
4346 wr32(hw, TXGBE_TSTIMEL, 0x0); in txgbe_timesync_enable()
4347 wr32(hw, TXGBE_TSTIMEH, 0x0); in txgbe_timesync_enable()
4352 wr32(hw, TXGBE_ETFLT(TXGBE_ETF_ID_1588), in txgbe_timesync_enable()
4358 wr32(hw, TXGBE_TSRXCTL, tsync_ctl); in txgbe_timesync_enable()
4363 wr32(hw, TXGBE_TSTXCTL, tsync_ctl); in txgbe_timesync_enable()
4379 wr32(hw, TXGBE_TSTXCTL, tsync_ctl); in txgbe_timesync_disable()
4384 wr32(hw, TXGBE_TSRXCTL, tsync_ctl); in txgbe_timesync_disable()
4387 wr32(hw, TXGBE_ETFLT(TXGBE_ETF_ID_1588), 0); in txgbe_timesync_disable()
4390 wr32(hw, TXGBE_TSTIMEINC, 0); in txgbe_timesync_disable()
4717 wr32(hw, TXGBE_EXTAG, etag_etype); in txgbe_update_e_tag_eth_type()
4731 wr32(hw, TXGBE_PORTCTL, etag_etype); in txgbe_e_tag_enable()
4749 wr32(hw, TXGBE_ETHADDRIDX, i); in txgbe_e_tag_filter_del()
4756 wr32(hw, TXGBE_ETHADDRL, 0); in txgbe_e_tag_filter_del()
4757 wr32(hw, TXGBE_ETHADDRH, 0); in txgbe_e_tag_filter_del()
4783 wr32(hw, TXGBE_ETHADDRIDX, i); in txgbe_e_tag_filter_add()
4792 wr32(hw, TXGBE_ETHADDRL, rar_low); in txgbe_e_tag_filter_add()
4793 wr32(hw, TXGBE_ETHADDRH, rar_high); in txgbe_e_tag_filter_add()
4961 wr32(hw, TXGBE_POOLCTL, ctrl); in txgbe_e_tag_forwarding_en_dis()
4984 wr32(hw, TXGBE_VXLANPORT, udp_tunnel->udp_port); in txgbe_dev_udp_tunnel_port_add()
4992 wr32(hw, TXGBE_GENEVEPORT, udp_tunnel->udp_port); in txgbe_dev_udp_tunnel_port_add()
5000 wr32(hw, TXGBE_TEREDOPORT, udp_tunnel->udp_port); in txgbe_dev_udp_tunnel_port_add()
5008 wr32(hw, TXGBE_VXLANPORTGPE, udp_tunnel->udp_port); in txgbe_dev_udp_tunnel_port_add()
5042 wr32(hw, TXGBE_VXLANPORT, 0); in txgbe_dev_udp_tunnel_port_del()
5052 wr32(hw, TXGBE_GENEVEPORT, 0); in txgbe_dev_udp_tunnel_port_del()
5062 wr32(hw, TXGBE_TEREDOPORT, 0); in txgbe_dev_udp_tunnel_port_del()
5072 wr32(hw, TXGBE_VXLANPORTGPE, 0); in txgbe_dev_udp_tunnel_port_del()
5107 wr32(hw, TXGBE_ETFLT(i), in txgbe_ethertype_filter_restore()
5109 wr32(hw, TXGBE_ETCLS(i), in txgbe_ethertype_filter_restore()
5127 wr32(hw, TXGBE_SYNCLS, synqf); in txgbe_syn_filter_restore()
5211 wr32(hw, TXGBE_ETFLT(i), 0); in txgbe_clear_all_ethertype_filter()
5212 wr32(hw, TXGBE_ETCLS(i), 0); in txgbe_clear_all_ethertype_filter()
5228 wr32(hw, TXGBE_SYNCLS, 0); in txgbe_clear_syn_filter()