Lines Matching refs:imx8qxp_ldb_ch

89 	struct imx8qxp_ldb_channel *imx8qxp_ldb_ch =  in imx8qxp_ldb_bridge_atomic_check()  local
106 ret = phy_validate(imx8qxp_ldb_ch->phy, PHY_MODE_LVDS, 0, &opts); in imx8qxp_ldb_bridge_atomic_check()
131 struct imx8qxp_ldb_channel *imx8qxp_ldb_ch = in imx8qxp_ldb_bridge_mode_set() local
147 ret = phy_init(imx8qxp_ldb_ch->phy); in imx8qxp_ldb_bridge_mode_set()
151 ret = phy_set_mode(imx8qxp_ldb_ch->phy, PHY_MODE_LVDS); in imx8qxp_ldb_bridge_mode_set()
166 ret = phy_configure(imx8qxp_ldb_ch->phy, &opts); in imx8qxp_ldb_bridge_mode_set()
176 if (imx8qxp_ldb_ch->di_id == 0) in imx8qxp_ldb_bridge_mode_set()
229 struct imx8qxp_ldb_channel *imx8qxp_ldb_ch = in imx8qxp_ldb_bridge_atomic_enable() local
239 ldb->ldb_ctrl |= imx8qxp_ldb_ch->di_id == 0 ? in imx8qxp_ldb_bridge_atomic_enable()
244 ldb->ldb_ctrl |= imx8qxp_ldb_ch->di_id == 0 ? in imx8qxp_ldb_bridge_atomic_enable()
250 ret = phy_power_on(imx8qxp_ldb_ch->phy); in imx8qxp_ldb_bridge_atomic_enable()
264 struct imx8qxp_ldb_channel *imx8qxp_ldb_ch = in imx8qxp_ldb_bridge_atomic_disable() local
272 ret = phy_power_off(imx8qxp_ldb_ch->phy); in imx8qxp_ldb_bridge_atomic_disable()
276 ret = phy_exit(imx8qxp_ldb_ch->phy); in imx8qxp_ldb_bridge_atomic_disable()
415 struct imx8qxp_ldb_channel *imx8qxp_ldb_ch = in imx8qxp_ldb_set_di_id() local
417 struct ldb_channel *ldb_ch = &imx8qxp_ldb_ch->base; in imx8qxp_ldb_set_di_id()
444 imx8qxp_ldb_ch->di_id = endpoint.id; in imx8qxp_ldb_set_di_id()
461 struct imx8qxp_ldb_channel *imx8qxp_ldb_ch = in imx8qxp_ldb_parse_dt_companion() local
463 struct ldb_channel *ldb_ch = &imx8qxp_ldb_ch->base; in imx8qxp_ldb_parse_dt_companion()
583 struct imx8qxp_ldb_channel *imx8qxp_ldb_ch; in imx8qxp_ldb_probe() local
633 imx8qxp_ldb_ch = &imx8qxp_ldb->channel[i]; in imx8qxp_ldb_probe()
634 ldb_ch = &imx8qxp_ldb_ch->base; in imx8qxp_ldb_probe()
642 imx8qxp_ldb_ch->phy = devm_of_phy_get(dev, ldb_ch->np, "lvds_phy"); in imx8qxp_ldb_probe()
643 if (IS_ERR(imx8qxp_ldb_ch->phy)) { in imx8qxp_ldb_probe()
644 ret = PTR_ERR(imx8qxp_ldb_ch->phy); in imx8qxp_ldb_probe()