mod_reg_val 144 drivers/net/can/sja1000/sja1000.c u8 mod_reg_val = 0x00; mod_reg_val 162 drivers/net/can/sja1000/sja1000.c mod_reg_val |= MOD_LOM; mod_reg_val 164 drivers/net/can/sja1000/sja1000.c mod_reg_val |= MOD_STM; mod_reg_val 165 drivers/net/can/sja1000/sja1000.c priv->write_reg(priv, SJA1000_MOD, mod_reg_val); mod_reg_val 235 drivers/net/can/sun4i_can.c u32 mod_reg_val = 0; mod_reg_val 238 drivers/net/can/sun4i_can.c mod_reg_val = readl(priv->base + SUN4I_REG_MSEL_ADDR); mod_reg_val 239 drivers/net/can/sun4i_can.c mod_reg_val &= ~SUN4I_MSEL_RESET_MODE; mod_reg_val 240 drivers/net/can/sun4i_can.c writel(mod_reg_val, priv->base + SUN4I_REG_MSEL_ADDR); mod_reg_val 241 drivers/net/can/sun4i_can.c } while (retry-- && (mod_reg_val & SUN4I_MSEL_RESET_MODE)); mod_reg_val 256 drivers/net/can/sun4i_can.c u32 mod_reg_val = 0; mod_reg_val 259 drivers/net/can/sun4i_can.c mod_reg_val = readl(priv->base + SUN4I_REG_MSEL_ADDR); mod_reg_val 260 drivers/net/can/sun4i_can.c mod_reg_val |= SUN4I_MSEL_RESET_MODE; mod_reg_val 261 drivers/net/can/sun4i_can.c writel(mod_reg_val, priv->base + SUN4I_REG_MSEL_ADDR); mod_reg_val 262 drivers/net/can/sun4i_can.c } while (retry-- && !(mod_reg_val & SUN4I_MSEL_RESET_MODE)); mod_reg_val 320 drivers/net/can/sun4i_can.c u32 mod_reg_val; mod_reg_val 344 drivers/net/can/sun4i_can.c mod_reg_val = readl(priv->base + SUN4I_REG_MSEL_ADDR); mod_reg_val 346 drivers/net/can/sun4i_can.c mod_reg_val |= SUN4I_MSEL_LOOPBACK_MODE; mod_reg_val 348 drivers/net/can/sun4i_can.c mod_reg_val |= SUN4I_MSEL_LISTEN_ONLY_MODE; mod_reg_val 349 drivers/net/can/sun4i_can.c writel(mod_reg_val, priv->base + SUN4I_REG_MSEL_ADDR);