Lines Matching refs:rx_config
734 u16 rx_config, val; in rtase_hw_set_features() local
736 rx_config = rtase_r16(tp, RTASE_RX_CONFIG_0); in rtase_hw_set_features()
738 rx_config |= (RTASE_ACCEPT_ERR | RTASE_ACCEPT_RUNT); in rtase_hw_set_features()
740 rx_config &= ~(RTASE_ACCEPT_ERR | RTASE_ACCEPT_RUNT); in rtase_hw_set_features()
742 rtase_w16(tp, RTASE_RX_CONFIG_0, rx_config); in rtase_hw_set_features()
750 rx_config = rtase_r16(tp, RTASE_RX_CONFIG_1); in rtase_hw_set_features()
752 rx_config |= (RTASE_INNER_VLAN_DETAG_EN | in rtase_hw_set_features()
755 rx_config &= ~(RTASE_INNER_VLAN_DETAG_EN | in rtase_hw_set_features()
758 rtase_w16(tp, RTASE_RX_CONFIG_1, rx_config); in rtase_hw_set_features()
834 u16 rx_config; in rtase_nic_reset() local
837 rx_config = rtase_r16(tp, RTASE_RX_CONFIG_0); in rtase_nic_reset()
838 rtase_w16(tp, RTASE_RX_CONFIG_0, rx_config & ~RTASE_ACCEPT_MASK); in rtase_nic_reset()
861 rtase_w16(tp, RTASE_RX_CONFIG_0, rx_config); in rtase_nic_reset()