Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/can/flexcan/
Dflexcan-core.c1241 u32 reg_fdcbt, reg_ctrl2; in flexcan_set_bittiming_cbt() local
1260 reg_fdcbt = priv->read(&regs->fdcbt); in flexcan_set_bittiming_cbt()
1261 reg_fdcbt &= ~(FIELD_PREP(FLEXCAN_FDCBT_FPRESDIV_MASK, 0x3ff) | in flexcan_set_bittiming_cbt()
1267 reg_fdcbt |= FIELD_PREP(FLEXCAN_FDCBT_FPRESDIV_MASK, dbt->brp - 1) | in flexcan_set_bittiming_cbt()
1273 netdev_dbg(dev, "writing fdcbt=0x%08x\n", reg_fdcbt); in flexcan_set_bittiming_cbt()
1274 priv->write(reg_fdcbt, &regs->fdcbt); in flexcan_set_bittiming_cbt()