On Fri. 13 May 2022 at 10:24, Vincent Mailhol <vincent.mailhol@xxxxxxxxx> wrote: > On Fri. 13 May 2022 at 07:30, Srinivas Neeli <srinivas.neeli@xxxxxxxxxx> wrote: [...] > btr0 = btr0 | > priv->can.tdc.tdco << XCAN_BRPR_TDCO_SHIFT | > XCAN_BRPR_TDC_ENABLE Actually, you can use |= operator: btr0 |= priv->can.tdc.tdco << XCAN_BRPR_TDCO_SHIFT | XCAN_BRPR_TDC_ENABLE