Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c785 u32 wol_ctrl, speed; in atl1c_power_saving() local
788 wol_ctrl = 0; in atl1c_power_saving()
817 wol_ctrl |= WOL_MAGIC_EN | WOL_MAGIC_PME_EN; in atl1c_power_saving()
819 wol_ctrl |= WOL_PATTERN_EN | WOL_PATTERN_PME_EN; in atl1c_power_saving()
822 wol_ctrl |= WOL_LINK_CHG_EN | WOL_LINK_CHG_PME_EN; in atl1c_power_saving()
832 atl1c_driver_name, mac_ctrl, master_ctrl, phy_ctrl, wol_ctrl); in atl1c_power_saving()
836 AT_WRITE_REG(hw, REG_WOL_CTRL, wol_ctrl); in atl1c_power_saving()
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_main.c4179 u16 wol_ctrl; in ice_is_wol_supported() local
4184 if (ice_read_sr_word(hw, ICE_SR_NVM_WOL_CFG, &wol_ctrl)) in ice_is_wol_supported()
4187 return !(BIT(hw->port_info->lport) & wol_ctrl); in ice_is_wol_supported()