Searched refs:reg_ctrl2 (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/net/can/flexcan/ |
| H A D | flexcan-core.c | 1256 u32 reg_fdcbt, reg_ctrl2; in flexcan_set_bittiming_cbt() local 1292 reg_ctrl2 = priv->read(®s->ctrl2); in flexcan_set_bittiming_cbt() 1293 reg_ctrl2 &= ~FLEXCAN_CTRL2_ISOCANFDEN; in flexcan_set_bittiming_cbt() 1295 reg_ctrl2 |= FLEXCAN_CTRL2_ISOCANFDEN; in flexcan_set_bittiming_cbt() 1297 netdev_dbg(dev, "writing ctrl2=0x%08x\n", reg_ctrl2); in flexcan_set_bittiming_cbt() 1298 priv->write(reg_ctrl2, ®s->ctrl2); in flexcan_set_bittiming_cbt() 1361 u32 reg_ctrl2; in flexcan_ram_init() local 1371 reg_ctrl2 = priv->read(®s->ctrl2); in flexcan_ram_init() 1372 reg_ctrl2 |= FLEXCAN_CTRL2_WRMFRZ; in flexcan_ram_init() 1373 priv->write(reg_ctrl2, ®s->ctrl2); in flexcan_ram_init() [all …]
|
| /linux/drivers/gpu/drm/msm/dsi/ |
| H A D | dsi_host.c | 918 u32 reg, reg_ctrl, reg_ctrl2; in dsi_update_dsc_timing() local 961 reg_ctrl2 = dsi_read(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL2); in dsi_update_dsc_timing() 966 reg_ctrl2 &= ~DSI_COMMAND_COMPRESSION_MODE_CTRL2_STREAM0_SLICE_WIDTH__MASK; in dsi_update_dsc_timing() 967 reg_ctrl2 |= DSI_COMMAND_COMPRESSION_MODE_CTRL2_STREAM0_SLICE_WIDTH(dsc->slice_chunk_size); in dsi_update_dsc_timing() 970 dsi_write(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL2, reg_ctrl2); in dsi_update_dsc_timing()
|