Searched refs:mod_reg_val (Results 1 – 2 of 2) sorted by relevance
235 u32 mod_reg_val = 0; in set_normal_mode() local238 mod_reg_val = readl(priv->base + SUN4I_REG_MSEL_ADDR); in set_normal_mode()239 mod_reg_val &= ~SUN4I_MSEL_RESET_MODE; in set_normal_mode()240 writel(mod_reg_val, priv->base + SUN4I_REG_MSEL_ADDR); in set_normal_mode()241 } while (retry-- && (mod_reg_val & SUN4I_MSEL_RESET_MODE)); in set_normal_mode()256 u32 mod_reg_val = 0; in set_reset_mode() local259 mod_reg_val = readl(priv->base + SUN4I_REG_MSEL_ADDR); in set_reset_mode()260 mod_reg_val |= SUN4I_MSEL_RESET_MODE; in set_reset_mode()261 writel(mod_reg_val, priv->base + SUN4I_REG_MSEL_ADDR); in set_reset_mode()262 } while (retry-- && !(mod_reg_val & SUN4I_MSEL_RESET_MODE)); in set_reset_mode()[all …]
144 u8 mod_reg_val = 0x00; in set_normal_mode() local162 mod_reg_val |= MOD_LOM; in set_normal_mode()164 mod_reg_val |= MOD_STM; in set_normal_mode()165 priv->write_reg(priv, SJA1000_MOD, mod_reg_val); in set_normal_mode()