Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpu/drm/imx/ipuv3/
A Dimx-ldb.c104 u32 ldb_ctrl; member
119 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH0_24; in imx_ldb_ch_set_bus_format()
121 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH1_24; in imx_ldb_ch_set_bus_format()
125 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH0_24 | in imx_ldb_ch_set_bus_format()
128 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH1_24 | in imx_ldb_ch_set_bus_format()
219 ldb->ldb_ctrl &= ~LDB_CH0_MODE_EN_MASK; in imx_ldb_encoder_enable()
226 ldb->ldb_ctrl &= ~LDB_CH1_MODE_EN_MASK; in imx_ldb_encoder_enable()
327 ldb->ldb_ctrl &= ~LDB_CH0_MODE_EN_MASK; in imx_ldb_encoder_disable()
329 ldb->ldb_ctrl &= ~LDB_CH1_MODE_EN_MASK; in imx_ldb_encoder_disable()
459 if (ldb->ldb_ctrl & LDB_SPLIT_MODE_EN) { in imx_ldb_register()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/bridge/imx/
A Dimx-ldb-helper.c51 ldb->ldb_ctrl |= LDB_SPLIT_MODE_EN; in ldb_bridge_mode_set_helper()
58 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH0_24; in ldb_bridge_mode_set_helper()
60 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH1_24; in ldb_bridge_mode_set_helper()
64 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH0_24 | in ldb_bridge_mode_set_helper()
67 ldb->ldb_ctrl |= LDB_DATA_WIDTH_CH1_24 | in ldb_bridge_mode_set_helper()
82 regmap_write(ldb->regmap, ldb->ctrl_reg, ldb->ldb_ctrl); in ldb_bridge_enable_helper()
92 ldb->ldb_ctrl &= ~LDB_CH0_MODE_EN_MASK; in ldb_bridge_disable_helper()
94 ldb->ldb_ctrl &= ~LDB_CH1_MODE_EN_MASK; in ldb_bridge_disable_helper()
96 regmap_write(ldb->regmap, ldb->ctrl_reg, ldb->ldb_ctrl); in ldb_bridge_disable_helper()
A Dimx8qxp-ldb-drv.c170 ldb->ldb_ctrl &= ~LDB_CH_SEL; in imx8qxp_ldb_bridge_mode_set()
172 ldb->ldb_ctrl |= LDB_CH_SEL; in imx8qxp_ldb_bridge_mode_set()
176 ldb->ldb_ctrl |= LDB_DI0_VS_POL_ACT_LOW; in imx8qxp_ldb_bridge_mode_set()
178 ldb->ldb_ctrl |= LDB_DI1_VS_POL_ACT_LOW; in imx8qxp_ldb_bridge_mode_set()
185 regmap_write(ldb->regmap, ldb->ctrl_reg, ldb->ldb_ctrl); in imx8qxp_ldb_bridge_mode_set()
237 ldb->ldb_ctrl &= ~LDB_CH0_MODE_EN_MASK; in imx8qxp_ldb_bridge_atomic_enable()
238 ldb->ldb_ctrl |= imx8qxp_ldb_ch->di_id == 0 ? in imx8qxp_ldb_bridge_atomic_enable()
242 ldb->ldb_ctrl &= ~LDB_CH1_MODE_EN_MASK; in imx8qxp_ldb_bridge_atomic_enable()
243 ldb->ldb_ctrl |= imx8qxp_ldb_ch->di_id == 0 ? in imx8qxp_ldb_bridge_atomic_enable()
A Dimx8qm-ldb-drv.c172 ldb->ldb_ctrl |= LDB_DI0_VS_POL_ACT_LOW; in imx8qm_ldb_bridge_mode_set()
174 ldb->ldb_ctrl |= LDB_DI1_VS_POL_ACT_LOW; in imx8qm_ldb_bridge_mode_set()
182 ldb->ldb_ctrl |= LDB_CH0_DATA_WIDTH_24BIT; in imx8qm_ldb_bridge_mode_set()
184 ldb->ldb_ctrl |= LDB_CH1_DATA_WIDTH_24BIT; in imx8qm_ldb_bridge_mode_set()
221 ldb->ldb_ctrl &= ~LDB_CH0_MODE_EN_MASK; in imx8qm_ldb_bridge_atomic_enable()
222 ldb->ldb_ctrl |= LDB_CH0_MODE_EN_TO_DI0; in imx8qm_ldb_bridge_atomic_enable()
225 ldb->ldb_ctrl &= ~LDB_CH1_MODE_EN_MASK; in imx8qm_ldb_bridge_atomic_enable()
226 ldb->ldb_ctrl |= LDB_CH1_MODE_EN_TO_DI0; in imx8qm_ldb_bridge_atomic_enable()
A Dimx-ldb-helper.h62 u32 ldb_ctrl; member
/linux-6.3-rc2/drivers/gpu/drm/bridge/
A Dfsl-ldb.c64 u32 ldb_ctrl; member
71 .ldb_ctrl = 0x5c,
75 .ldb_ctrl = 0x20,
203 regmap_write(fsl_ldb->regmap, fsl_ldb->devdata->ldb_ctrl, reg); in fsl_ldb_atomic_enable()
232 regmap_write(fsl_ldb->regmap, fsl_ldb->devdata->ldb_ctrl, 0); in fsl_ldb_atomic_disable()

Completed in 12 milliseconds