Lines Matching full:dphy
91 struct phy *dphy; member
196 ret = phy_power_on(csi2rx->dphy); in csi2rx_configure_ext_dphy()
200 ret = phy_configure(csi2rx->dphy, &opts); in csi2rx_configure_ext_dphy()
202 phy_power_off(csi2rx->dphy); in csi2rx_configure_ext_dphy()
244 /* Enable DPHY clk and data lanes. */ in csi2rx_start()
245 if (csi2rx->dphy) { in csi2rx_start()
257 "Failed to configure external DPHY: %d\n", ret); in csi2rx_start()
315 if (csi2rx->dphy) { in csi2rx_start()
317 phy_power_off(csi2rx->dphy); in csi2rx_start()
358 if (csi2rx->dphy) { in csi2rx_stop()
361 if (phy_power_off(csi2rx->dphy)) in csi2rx_stop()
362 dev_warn(csi2rx->dev, "Couldn't power off DPHY\n"); in csi2rx_stop()
549 csi2rx->dphy = devm_phy_optional_get(&pdev->dev, "dphy"); in csi2rx_get_resources()
550 if (IS_ERR(csi2rx->dphy)) { in csi2rx_get_resources()
552 return PTR_ERR(csi2rx->dphy); in csi2rx_get_resources()
584 if (!csi2rx->dphy && csi2rx->has_internal_dphy) { in csi2rx_get_resources()
719 csi2rx->dphy ? "external" : in csi2rx_probe()