Searched refs:temp_pmt_ctl (Results 1 – 1 of 1) sorted by relevance
3861 u32 temp_pmt_ctl; in lan78xx_set_suspend() local3879 temp_pmt_ctl = 0; in lan78xx_set_suspend()3880 ret = lan78xx_read_reg(dev, PMT_CTL, &temp_pmt_ctl); in lan78xx_set_suspend()3881 temp_pmt_ctl &= ~PMT_CTL_RES_CLR_WKP_EN_; in lan78xx_set_suspend()3882 temp_pmt_ctl |= PMT_CTL_RES_CLR_WKP_STS_; in lan78xx_set_suspend()3889 temp_pmt_ctl |= PMT_CTL_PHY_WAKE_EN_; in lan78xx_set_suspend()3891 temp_pmt_ctl |= PMT_CTL_WOL_EN_; in lan78xx_set_suspend()3892 temp_pmt_ctl &= ~PMT_CTL_SUS_MODE_MASK_; in lan78xx_set_suspend()3893 temp_pmt_ctl |= PMT_CTL_SUS_MODE_0_; in lan78xx_set_suspend()3898 temp_pmt_ctl |= PMT_CTL_WOL_EN_; in lan78xx_set_suspend()[all …]