Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/flexcan/
H A Dflexcan-core.c1197 u32 reg_cbt, reg_fdctrl; in flexcan_set_bittiming_cbt() local
1268 reg_fdctrl = priv->read(&regs->fdctrl); in flexcan_set_bittiming_cbt()
1269 reg_fdctrl &= ~(FLEXCAN_FDCTRL_FDRATE | in flexcan_set_bittiming_cbt()
1273 reg_fdctrl |= FLEXCAN_FDCTRL_FDRATE; in flexcan_set_bittiming_cbt()
1277 reg_fdctrl &= ~FLEXCAN_FDCTRL_TDCEN; in flexcan_set_bittiming_cbt()
1279 reg_fdctrl |= FLEXCAN_FDCTRL_TDCEN | in flexcan_set_bittiming_cbt()
1287 netdev_dbg(dev, "writing fdctrl=0x%08x\n", reg_fdctrl); in flexcan_set_bittiming_cbt()
1288 priv->write(reg_fdctrl, &regs->fdctrl); in flexcan_set_bittiming_cbt()
1543 u32 reg_fdctrl; in flexcan_chip_start() local
1545 reg_fdctrl = priv->read(&regs->fdctrl); in flexcan_chip_start()
[all …]