Searched refs:mac_ctrl_data (Results 1 – 2 of 2) sorted by relevance
385 u32 mac_ctrl_data; in atl1c_set_multi() local389 AT_READ_REG(hw, REG_MAC_CTRL, &mac_ctrl_data); in atl1c_set_multi()392 mac_ctrl_data |= MAC_CTRL_PROMIS_EN; in atl1c_set_multi()394 mac_ctrl_data |= MAC_CTRL_MC_ALL_EN; in atl1c_set_multi()395 mac_ctrl_data &= ~MAC_CTRL_PROMIS_EN; in atl1c_set_multi()397 mac_ctrl_data &= ~(MAC_CTRL_PROMIS_EN | MAC_CTRL_MC_ALL_EN); in atl1c_set_multi()400 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1c_set_multi()413 static void __atl1c_vlan_mode(netdev_features_t features, u32 *mac_ctrl_data) in __atl1c_vlan_mode() argument417 *mac_ctrl_data |= MAC_CTRL_RMV_VLAN; in __atl1c_vlan_mode()420 *mac_ctrl_data &= ~MAC_CTRL_RMV_VLAN; in __atl1c_vlan_mode()[all …]
288 u32 mac_ctrl_data = 0; in atl1e_set_multi() local292 mac_ctrl_data = AT_READ_REG(hw, REG_MAC_CTRL); in atl1e_set_multi()295 mac_ctrl_data |= MAC_CTRL_PROMIS_EN; in atl1e_set_multi()297 mac_ctrl_data |= MAC_CTRL_MC_ALL_EN; in atl1e_set_multi()298 mac_ctrl_data &= ~MAC_CTRL_PROMIS_EN; in atl1e_set_multi()300 mac_ctrl_data &= ~(MAC_CTRL_PROMIS_EN | MAC_CTRL_MC_ALL_EN); in atl1e_set_multi()303 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1e_set_multi()316 static void __atl1e_vlan_mode(netdev_features_t features, u32 *mac_ctrl_data) in __atl1e_vlan_mode() argument320 *mac_ctrl_data |= MAC_CTRL_RMV_VLAN; in __atl1e_vlan_mode()323 *mac_ctrl_data &= ~MAC_CTRL_RMV_VLAN; in __atl1e_vlan_mode()[all …]