Lines Matching refs:wr32

256 	wr32(hw, NGBE_PORTCTL, ctrl_ext);  in ngbe_pf_reset_hw()
270 wr32(hw, NGBE_IENMISC, intr->mask_misc); in ngbe_enable_intr()
271 wr32(hw, NGBE_IMC(0), intr->mask & BIT_MASK32); in ngbe_enable_intr()
280 wr32(hw, NGBE_IMS(0), NGBE_IMS_MASK); in ngbe_disable_intr()
470 wr32(hw, NGBE_PORTCTL, ctrl_ext); in eth_ngbe_dev_init()
550 wr32(hw, NGBE_VLANTBL(vid_idx), vfta); in ngbe_vlan_filter_set()
589 wr32(hw, NGBE_RXBAL(rxq->reg_idx), rxbal); in ngbe_vlan_strip_queue_set()
590 wr32(hw, NGBE_RXBAH(rxq->reg_idx), rxbah); in ngbe_vlan_strip_queue_set()
591 wr32(hw, NGBE_RXCFG(rxq->reg_idx), rxcfg); in ngbe_vlan_strip_queue_set()
670 wr32(hw, NGBE_VLANCTL, vlnctrl); in ngbe_vlan_hw_filter_disable()
687 wr32(hw, NGBE_VLANCTL, vlnctrl); in ngbe_vlan_hw_filter_enable()
691 wr32(hw, NGBE_VLANTBL(i), shadow_vfta->vfta[i]); in ngbe_vlan_hw_filter_enable()
732 wr32(hw, NGBE_RXCFG(queue), ctrl); in ngbe_vlan_hw_strip_disable()
748 wr32(hw, NGBE_RXCFG(queue), ctrl); in ngbe_vlan_hw_strip_enable()
765 wr32(hw, NGBE_PORTCTL, ctrl); in ngbe_vlan_hw_extend_disable()
778 wr32(hw, NGBE_PORTCTL, ctrl); in ngbe_vlan_hw_extend_enable()
791 wr32(hw, NGBE_PORTCTL, ctrl); in ngbe_qinq_hw_strip_disable()
804 wr32(hw, NGBE_PORTCTL, ctrl); in ngbe_qinq_hw_strip_enable()
919 wr32(hw, NGBE_GPIODIR, NGBE_GPIODIR_DDR(1)); in ngbe_dev_phy_intr_setup()
920 wr32(hw, NGBE_GPIOINTEN, NGBE_GPIOINTEN_INT(3)); in ngbe_dev_phy_intr_setup()
921 wr32(hw, NGBE_GPIOINTTYPE, NGBE_GPIOINTTYPE_LEVEL(0)); in ngbe_dev_phy_intr_setup()
923 wr32(hw, NGBE_GPIOINTPOL, NGBE_GPIOINTPOL_ACT(0)); in ngbe_dev_phy_intr_setup()
925 wr32(hw, NGBE_GPIOINTPOL, NGBE_GPIOINTPOL_ACT(3)); in ngbe_dev_phy_intr_setup()
1109 wr32(hw, NGBE_GPIODATA, 0); in ngbe_dev_start()
1152 wr32(hw, NGBE_GPIODATA, NGBE_GPIOBIT_0); in ngbe_dev_stop()
1941 wr32(hw, NGBE_PSRCTL, fctrl); in ngbe_dev_promiscuous_enable()
1958 wr32(hw, NGBE_PSRCTL, fctrl); in ngbe_dev_promiscuous_disable()
1971 wr32(hw, NGBE_PSRCTL, fctrl); in ngbe_dev_allmulticast_enable()
1987 wr32(hw, NGBE_PSRCTL, fctrl); in ngbe_dev_allmulticast_disable()
2545 wr32(hw, NGBE_UCADDRTBL(uta_idx), reg_val); in ngbe_uc_hash_table_set()
2555 wr32(hw, NGBE_PSRCTL, psrctl); in ngbe_uc_hash_table_set()
2571 wr32(hw, NGBE_UCADDRTBL(i), ~0); in ngbe_uc_all_hash_table_set()
2576 wr32(hw, NGBE_UCADDRTBL(i), 0); in ngbe_uc_all_hash_table_set()
2588 wr32(hw, NGBE_PSRCTL, psrctl); in ngbe_uc_all_hash_table_set()
2617 wr32(hw, NGBE_IVARMISC, tmp); in ngbe_set_ivar_map()
2625 wr32(hw, NGBE_IVAR(queue >> 1), tmp); in ngbe_set_ivar_map()
2663 wr32(hw, NGBE_GPIE, gpie); in ngbe_configure_msix()
2682 wr32(hw, NGBE_ITR(NGBE_MISC_VEC_ID), in ngbe_configure_msix()
2761 wr32(hw, NGBE_TSTIMEINC, NGBE_TSTIMEINC_IV(incval)); in ngbe_start_timecounters()
2827 wr32(hw, NGBE_TSTIMEINC, 0x0); in ngbe_timesync_enable()
2829 wr32(hw, NGBE_TSTIMEL, 0x0); in ngbe_timesync_enable()
2830 wr32(hw, NGBE_TSTIMEH, 0x0); in ngbe_timesync_enable()
2835 wr32(hw, NGBE_ETFLT(NGBE_ETF_ID_1588), in ngbe_timesync_enable()
2841 wr32(hw, NGBE_TSRXCTL, tsync_ctl); in ngbe_timesync_enable()
2846 wr32(hw, NGBE_TSTXCTL, tsync_ctl); in ngbe_timesync_enable()
2862 wr32(hw, NGBE_TSTXCTL, tsync_ctl); in ngbe_timesync_disable()
2867 wr32(hw, NGBE_TSRXCTL, tsync_ctl); in ngbe_timesync_disable()
2870 wr32(hw, NGBE_ETFLT(NGBE_ETF_ID_1588), 0); in ngbe_timesync_disable()
2873 wr32(hw, NGBE_TSTIMEINC, 0); in ngbe_timesync_disable()