Searched refs:SUN4I_REG_MSEL_ADDR (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/net/can/
H A Dsun4i_can.c68 #define SUN4I_REG_MSEL_ADDR 0x0000 /* CAN Mode Select */ macro
238 mod_reg_val = readl(priv->base + SUN4I_REG_MSEL_ADDR); set_normal_mode()
240 writel(mod_reg_val, priv->base + SUN4I_REG_MSEL_ADDR); set_normal_mode()
243 if (readl(priv->base + SUN4I_REG_MSEL_ADDR) & SUN4I_MSEL_RESET_MODE) { set_normal_mode()
259 mod_reg_val = readl(priv->base + SUN4I_REG_MSEL_ADDR); set_reset_mode()
261 writel(mod_reg_val, priv->base + SUN4I_REG_MSEL_ADDR); set_reset_mode()
264 if (!(readl(priv->base + SUN4I_REG_MSEL_ADDR) & set_reset_mode()
344 mod_reg_val = readl(priv->base + SUN4I_REG_MSEL_ADDR); sun4i_can_start()
349 writel(mod_reg_val, priv->base + SUN4I_REG_MSEL_ADDR); sun4i_can_start()

Completed in 60 milliseconds