Searched refs:reg_ctrl2 (Results 1 – 2 of 2) sorted by relevance
/drivers/net/can/flexcan/ |
D | flexcan-core.c | 1222 u32 reg_fdcbt, reg_ctrl2; in flexcan_set_bittiming_cbt() local 1258 reg_ctrl2 = priv->read(®s->ctrl2); in flexcan_set_bittiming_cbt() 1259 reg_ctrl2 &= ~FLEXCAN_CTRL2_ISOCANFDEN; in flexcan_set_bittiming_cbt() 1261 reg_ctrl2 |= FLEXCAN_CTRL2_ISOCANFDEN; in flexcan_set_bittiming_cbt() 1263 netdev_dbg(dev, "writing ctrl2=0x%08x\n", reg_ctrl2); in flexcan_set_bittiming_cbt() 1264 priv->write(reg_ctrl2, ®s->ctrl2); in flexcan_set_bittiming_cbt() 1327 u32 reg_ctrl2; in flexcan_ram_init() local 1337 reg_ctrl2 = priv->read(®s->ctrl2); in flexcan_ram_init() 1338 reg_ctrl2 |= FLEXCAN_CTRL2_WRMFRZ; in flexcan_ram_init() 1339 priv->write(reg_ctrl2, ®s->ctrl2); in flexcan_ram_init() [all …]
|
/drivers/gpu/drm/msm/dsi/ |
D | dsi_host.c | 831 u32 reg, reg_ctrl, reg_ctrl2; in dsi_update_dsc_timing() local 870 reg_ctrl2 = dsi_read(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL2); in dsi_update_dsc_timing() 875 reg_ctrl2 &= ~DSI_COMMAND_COMPRESSION_MODE_CTRL2_STREAM0_SLICE_WIDTH__MASK; in dsi_update_dsc_timing() 876 reg_ctrl2 |= DSI_COMMAND_COMPRESSION_MODE_CTRL2_STREAM0_SLICE_WIDTH(dsc->slice_chunk_size); in dsi_update_dsc_timing() 879 dsi_write(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL2, reg_ctrl2); in dsi_update_dsc_timing()
|