Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/imx/
Dimx-ldb.c104 u32 ldb_ctrl; member
112 int dual = ldb->ldb_ctrl & LDB_SPLIT_MODE_EN; in imx_ldb_ch_set_bus_format()
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()
198 int dual = ldb->ldb_ctrl & LDB_SPLIT_MODE_EN; in imx_ldb_encoder_enable()
219 ldb->ldb_ctrl &= ~LDB_CH0_MODE_EN_MASK; in imx_ldb_encoder_enable()
221 ldb->ldb_ctrl |= LDB_CH0_MODE_EN_TO_DI0; in imx_ldb_encoder_enable()
223 ldb->ldb_ctrl |= LDB_CH0_MODE_EN_TO_DI1; in imx_ldb_encoder_enable()
[all …]
/Linux-v6.1/drivers/gpu/drm/bridge/imx/
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()
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()
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()
Dimx-ldb-helper.h62 u32 ldb_ctrl; member