Home
last modified time | relevance | path

Searched refs:mod_reg_val (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/can/
Dsun4i_can.c250 u32 mod_reg_val = 0; in set_normal_mode() local
253 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() local
274 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 …]
/linux-6.12.1/drivers/net/can/sja1000/
Dsja1000.c144 u8 mod_reg_val = 0x00; in set_normal_mode() local
162 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()