Lines Matching refs:ldb_ch

83 	struct ldb_channel *ldb_ch = bridge->driver_private;  in imx8qm_ldb_bridge_atomic_check()  local
84 struct ldb *ldb = ldb_ch->ldb; in imx8qm_ldb_bridge_atomic_check()
86 base_to_imx8qm_ldb_channel(ldb_ch); in imx8qm_ldb_bridge_atomic_check()
90 bool is_split = ldb_channel_is_split_link(ldb_ch); in imx8qm_ldb_bridge_atomic_check()
130 struct ldb_channel *ldb_ch = bridge->driver_private; in imx8qm_ldb_bridge_mode_set() local
131 struct ldb *ldb = ldb_ch->ldb; in imx8qm_ldb_bridge_mode_set()
133 base_to_imx8qm_ldb_channel(ldb_ch); in imx8qm_ldb_bridge_mode_set()
137 bool is_split = ldb_channel_is_split_link(ldb_ch); in imx8qm_ldb_bridge_mode_set()
140 u32 chno = ldb_ch->chno; in imx8qm_ldb_bridge_mode_set()
171 if (ldb_ch->chno == 0 || is_split) in imx8qm_ldb_bridge_mode_set()
173 if (ldb_ch->chno == 1 || is_split) in imx8qm_ldb_bridge_mode_set()
176 switch (ldb_ch->out_bus_format) { in imx8qm_ldb_bridge_mode_set()
181 if (ldb_ch->chno == 0 || is_split) in imx8qm_ldb_bridge_mode_set()
183 if (ldb_ch->chno == 1 || is_split) in imx8qm_ldb_bridge_mode_set()
207 struct ldb_channel *ldb_ch = bridge->driver_private; in imx8qm_ldb_bridge_atomic_enable() local
208 struct ldb *ldb = ldb_ch->ldb; in imx8qm_ldb_bridge_atomic_enable()
210 base_to_imx8qm_ldb_channel(ldb_ch); in imx8qm_ldb_bridge_atomic_enable()
213 bool is_split = ldb_channel_is_split_link(ldb_ch); in imx8qm_ldb_bridge_atomic_enable()
220 if (ldb_ch->chno == 0 || is_split) { in imx8qm_ldb_bridge_atomic_enable()
224 if (ldb_ch->chno == 1 || is_split) { in imx8qm_ldb_bridge_atomic_enable()
254 struct ldb_channel *ldb_ch = bridge->driver_private; in imx8qm_ldb_bridge_atomic_disable() local
255 struct ldb *ldb = ldb_ch->ldb; in imx8qm_ldb_bridge_atomic_disable()
257 base_to_imx8qm_ldb_channel(ldb_ch); in imx8qm_ldb_bridge_atomic_disable()
260 bool is_split = ldb_channel_is_split_link(ldb_ch); in imx8qm_ldb_bridge_atomic_disable()
381 struct ldb_channel *ldb_ch = bridge->driver_private; in imx8qm_ldb_bridge_mode_valid() local
382 bool is_single = ldb_channel_is_single_link(ldb_ch); in imx8qm_ldb_bridge_mode_valid()
412 struct ldb_channel *ldb_ch; in imx8qm_ldb_get_phy() local
418 ldb_ch = &imx8qm_ldb_ch->base; in imx8qm_ldb_get_phy()
420 if (!ldb_ch->is_available) in imx8qm_ldb_get_phy()
423 imx8qm_ldb_ch->phy = devm_of_phy_get(dev, ldb_ch->np, in imx8qm_ldb_get_phy()
444 struct ldb_channel *ldb_ch; in imx8qm_ldb_probe() local
505 ldb_ch = &imx8qm_ldb_ch->base; in imx8qm_ldb_probe()
506 ldb_ch->link_type = pixel_order; in imx8qm_ldb_probe()
510 ldb_ch = &imx8qm_ldb_ch->base; in imx8qm_ldb_probe()
512 if (ldb_ch->is_available) { in imx8qm_ldb_probe()
513 imx8qm_ldb->active_chno = ldb_ch->chno; in imx8qm_ldb_probe()