Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/can/flexcan/
Dflexcan-core.c1213 u32 reg_fdcbt, reg_ctrl2; in flexcan_set_bittiming_cbt() local
1249 reg_ctrl2 = priv->read(&regs->ctrl2); in flexcan_set_bittiming_cbt()
1250 reg_ctrl2 &= ~FLEXCAN_CTRL2_ISOCANFDEN; in flexcan_set_bittiming_cbt()
1252 reg_ctrl2 |= FLEXCAN_CTRL2_ISOCANFDEN; in flexcan_set_bittiming_cbt()
1254 netdev_dbg(dev, "writing ctrl2=0x%08x\n", reg_ctrl2); in flexcan_set_bittiming_cbt()
1255 priv->write(reg_ctrl2, &regs->ctrl2); in flexcan_set_bittiming_cbt()
1318 u32 reg_ctrl2; in flexcan_ram_init() local
1328 reg_ctrl2 = priv->read(&regs->ctrl2); in flexcan_ram_init()
1329 reg_ctrl2 |= FLEXCAN_CTRL2_WRMFRZ; in flexcan_ram_init()
1330 priv->write(reg_ctrl2, &regs->ctrl2); in flexcan_ram_init()
[all …]
/linux-6.1.9/drivers/gpu/drm/msm/dsi/
Ddsi_host.c846 u32 reg, reg_ctrl, reg_ctrl2; in dsi_update_dsc_timing() local
883 reg_ctrl2 = dsi_read(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL2); in dsi_update_dsc_timing()
888 reg_ctrl2 &= ~DSI_COMMAND_COMPRESSION_MODE_CTRL2_STREAM0_SLICE_WIDTH__MASK; in dsi_update_dsc_timing()
889 reg_ctrl2 |= DSI_COMMAND_COMPRESSION_MODE_CTRL2_STREAM0_SLICE_WIDTH(dsc->slice_chunk_size); in dsi_update_dsc_timing()
892 dsi_write(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL2, reg_ctrl2); in dsi_update_dsc_timing()