Lines Matching refs:reg_ctrl
465 u32 reg_ctrl, reg_id;
467 reg_ctrl = readl(&mb->can_ctrl);
469 if (reg_ctrl & FLEXCAN_MB_CNT_IDE)
474 if (reg_ctrl & FLEXCAN_MB_CNT_RTR)
476 cf->can_dlc = get_can_dlc((reg_ctrl >> 16) & 0xf);
647 u32 reg_mcr, reg_ctrl;
701 reg_ctrl = readl(®s->ctrl);
702 reg_ctrl &= ~FLEXCAN_CTRL_TSYN;
703 reg_ctrl |= FLEXCAN_CTRL_BOFF_REC | FLEXCAN_CTRL_LBUF |
707 priv->reg_ctrl_default = reg_ctrl;
708 dev_dbg(dev->dev.parent, "%s: writing ctrl=0x%08x", __func__, reg_ctrl);
709 writel(reg_ctrl, ®s->ctrl);