Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c759 u32 wol_ctrl, speed; in atl1c_power_saving() local
762 wol_ctrl = 0; in atl1c_power_saving()
791 wol_ctrl |= WOL_MAGIC_EN | WOL_MAGIC_PME_EN; in atl1c_power_saving()
793 wol_ctrl |= WOL_PATTERN_EN | WOL_PATTERN_PME_EN; in atl1c_power_saving()
796 wol_ctrl |= WOL_LINK_CHG_EN | WOL_LINK_CHG_PME_EN; in atl1c_power_saving()
806 atl1c_driver_name, mac_ctrl, master_ctrl, phy_ctrl, wol_ctrl); in atl1c_power_saving()
810 AT_WRITE_REG(hw, REG_WOL_CTRL, wol_ctrl); in atl1c_power_saving()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_main.c3531 u16 wol_ctrl; in ice_is_wol_supported() local
3536 if (ice_read_sr_word(hw, ICE_SR_NVM_WOL_CFG, &wol_ctrl)) in ice_is_wol_supported()
3539 return !(BIT(hw->pf_id) & wol_ctrl); in ice_is_wol_supported()