Home
last modified time | relevance | path

Searched refs:mac_ctrl_data (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c271 u32 mac_ctrl_data = 0; in atl1e_set_multi() local
278 mac_ctrl_data |= MAC_CTRL_PROMIS_EN; in atl1e_set_multi()
280 mac_ctrl_data |= MAC_CTRL_MC_ALL_EN; in atl1e_set_multi()
304 *mac_ctrl_data |= MAC_CTRL_DBG; in __atl1e_rx_mode()
307 *mac_ctrl_data &= ~MAC_CTRL_DBG; in __atl1e_rx_mode()
315 u32 mac_ctrl_data = 0; in atl1e_rx_mode() local
342 u32 mac_ctrl_data = 0; in atl1e_vlan_mode() local
2075 u32 mac_ctrl_data = 0; in atl1e_suspend() local
2145 mac_ctrl_data = MAC_CTRL_RX_EN; in atl1e_suspend()
2156 mac_ctrl_data |= MAC_CTRL_BC_EN; in atl1e_suspend()
[all …]
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c392 u32 mac_ctrl_data; in atl1c_set_multi() local
396 AT_READ_REG(hw, REG_MAC_CTRL, &mac_ctrl_data); in atl1c_set_multi()
399 mac_ctrl_data |= MAC_CTRL_PROMIS_EN; in atl1c_set_multi()
401 mac_ctrl_data |= MAC_CTRL_MC_ALL_EN; in atl1c_set_multi()
402 mac_ctrl_data &= ~MAC_CTRL_PROMIS_EN; in atl1c_set_multi()
407 AT_WRITE_REG(hw, REG_MAC_CTRL, mac_ctrl_data); in atl1c_set_multi()
424 *mac_ctrl_data |= MAC_CTRL_RMV_VLAN; in __atl1c_vlan_mode()
427 *mac_ctrl_data &= ~MAC_CTRL_RMV_VLAN; in __atl1c_vlan_mode()
436 u32 mac_ctrl_data = 0; in atl1c_vlan_mode() local
442 AT_READ_REG(&adapter->hw, REG_MAC_CTRL, &mac_ctrl_data); in atl1c_vlan_mode()
[all …]