Searched refs:mod_reg_val (Results 1 – 2 of 2) sorted by relevance
250 u32 mod_reg_val = 0; in set_normal_mode() local253 mod_reg_val = readl(priv->base + SUN4I_REG_MSEL_ADDR); in set_normal_mode()254 mod_reg_val &= ~SUN4I_MSEL_RESET_MODE; in set_normal_mode()255 writel(mod_reg_val, priv->base + SUN4I_REG_MSEL_ADDR); in set_normal_mode()256 } while (retry-- && (mod_reg_val & SUN4I_MSEL_RESET_MODE)); in set_normal_mode()271 u32 mod_reg_val = 0; in set_reset_mode() local274 mod_reg_val = readl(priv->base + SUN4I_REG_MSEL_ADDR); in set_reset_mode()275 mod_reg_val |= SUN4I_MSEL_RESET_MODE; in set_reset_mode()276 writel(mod_reg_val, priv->base + SUN4I_REG_MSEL_ADDR); in set_reset_mode()277 } 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()