Searched refs:bxcan_rmw (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/can/ |
H A D | bxcan.c | 195 static inline void bxcan_rmw(struct bxcan_priv *priv, void __iomem *addr, in bxcan_rmw() function 305 bxcan_rmw(priv, ®s->mcr, 0, BXCAN_MCR_RESET); in bxcan_chip_softreset() 316 bxcan_rmw(priv, ®s->mcr, 0, BXCAN_MCR_INRQ); in bxcan_enter_init_mode() 327 bxcan_rmw(priv, ®s->mcr, BXCAN_MCR_INRQ, 0); in bxcan_leave_init_mode() 338 bxcan_rmw(priv, ®s->mcr, 0, BXCAN_MCR_SLEEP); in bxcan_enter_sleep_mode() 349 bxcan_rmw(priv, ®s->mcr, BXCAN_MCR_SLEEP, 0); in bxcan_leave_sleep_mode() 664 bxcan_rmw(priv, ®s->mcr, in bxcan_chip_start() 684 bxcan_rmw(priv, ®s->btr, BXCAN_BTR_SILM | BXCAN_BTR_LBKM | in bxcan_chip_start() 702 bxcan_rmw(priv, ®s->esr, BXCAN_ESR_LEC_MASK, in bxcan_chip_start() 726 bxcan_rmw(priv, ®s->ier, clr, set); in bxcan_chip_start() [all …]
|