Lines Matching refs:isp

30 	regmap_read(phy->isp->syscon, phy->isp->syscon_offset, &reg);  in csiphy_routing_cfg_3630()
66 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, reg); in csiphy_routing_cfg_3630()
80 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, 0); in csiphy_routing_cfg_3430()
87 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, csirxfe); in csiphy_routing_cfg_3430()
106 if (phy->isp->phy_type == ISP_PHY_TYPE_3630 && on) in csiphy_routing_cfg()
108 if (phy->isp->phy_type == ISP_PHY_TYPE_3430) in csiphy_routing_cfg()
118 isp_reg_clr_set(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG, in csiphy_power_autoswitch_enable()
134 isp_reg_clr_set(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG, in csiphy_set_power()
140 reg = isp_reg_readl(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG) & in csiphy_set_power()
149 dev_err(phy->isp->dev, "CSI2 CIO set power failed!\n"); in csiphy_set_power()
219 reg = isp_reg_readl(phy->isp, phy->phy_regs, ISPCSIPHY_REG0); in omap3isp_csiphy_config()
230 isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG0); in omap3isp_csiphy_config()
232 reg = isp_reg_readl(phy->isp, phy->phy_regs, ISPCSIPHY_REG1); in omap3isp_csiphy_config()
241 isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG1); in omap3isp_csiphy_config()
244 reg = isp_reg_readl(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG); in omap3isp_csiphy_config()
260 isp_reg_writel(phy->isp, reg, phy->cfg_regs, ISPCSI2_PHY_CFG); in omap3isp_csiphy_config()
270 dev_err(phy->isp->dev, in omap3isp_csiphy_acquire()
291 if (phy->isp->revision == ISP_REVISION_15_0) { in omap3isp_csiphy_acquire()
323 if (phy->isp->revision == ISP_REVISION_15_0) { in omap3isp_csiphy_release()
336 int omap3isp_csiphy_init(struct isp_device *isp) in omap3isp_csiphy_init() argument
338 struct isp_csiphy *phy1 = &isp->isp_csiphy1; in omap3isp_csiphy_init()
339 struct isp_csiphy *phy2 = &isp->isp_csiphy2; in omap3isp_csiphy_init()
341 phy2->isp = isp; in omap3isp_csiphy_init()
342 phy2->csi2 = &isp->isp_csi2a; in omap3isp_csiphy_init()
348 phy1->isp = isp; in omap3isp_csiphy_init()
351 if (isp->revision == ISP_REVISION_15_0) { in omap3isp_csiphy_init()
352 phy1->csi2 = &isp->isp_csi2c; in omap3isp_csiphy_init()
361 void omap3isp_csiphy_cleanup(struct isp_device *isp) in omap3isp_csiphy_cleanup() argument
363 mutex_destroy(&isp->isp_csiphy1.mutex); in omap3isp_csiphy_cleanup()
364 mutex_destroy(&isp->isp_csiphy2.mutex); in omap3isp_csiphy_cleanup()