Lines Matching refs:rst_mask
3742 u32 rst_mask, val; in mtk_hw_warm_reset() local
3754 rst_mask = RSTCTRL_ETH | RSTCTRL_PPE0_V3; in mtk_hw_warm_reset()
3756 rst_mask |= RSTCTRL_PPE1_V3; in mtk_hw_warm_reset()
3758 rst_mask |= RSTCTRL_PPE2; in mtk_hw_warm_reset()
3760 rst_mask |= RSTCTRL_WDMA0 | RSTCTRL_WDMA1 | RSTCTRL_WDMA2; in mtk_hw_warm_reset()
3762 rst_mask = RSTCTRL_ETH | RSTCTRL_PPE0_V2; in mtk_hw_warm_reset()
3764 rst_mask |= RSTCTRL_PPE1; in mtk_hw_warm_reset()
3766 rst_mask = RSTCTRL_ETH | RSTCTRL_PPE0; in mtk_hw_warm_reset()
3769 regmap_update_bits(eth->ethsys, ETHSYS_RSTCTRL, rst_mask, rst_mask); in mtk_hw_warm_reset()
3773 if (!(val & rst_mask)) in mtk_hw_warm_reset()
3775 val, rst_mask); in mtk_hw_warm_reset()
3777 rst_mask |= RSTCTRL_FE; in mtk_hw_warm_reset()
3778 regmap_update_bits(eth->ethsys, ETHSYS_RSTCTRL, rst_mask, ~rst_mask); in mtk_hw_warm_reset()
3782 if (val & rst_mask) in mtk_hw_warm_reset()
3784 val, rst_mask); in mtk_hw_warm_reset()