Lines Matching refs:isp

33 	regmap_read(phy->isp->syscon, phy->isp->syscon_offset, &reg);  in csiphy_routing_cfg_3630()
68 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, reg); in csiphy_routing_cfg_3630()
82 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, 0); in csiphy_routing_cfg_3430()
89 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, csirxfe); in csiphy_routing_cfg_3430()
108 if (phy->isp->phy_type == ISP_PHY_TYPE_3630 && on) in csiphy_routing_cfg()
110 if (phy->isp->phy_type == ISP_PHY_TYPE_3430) in csiphy_routing_cfg()
120 isp_reg_clr_set(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG, in csiphy_power_autoswitch_enable()
136 isp_reg_clr_set(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG, in csiphy_set_power()
142 reg = isp_reg_readl(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG) & in csiphy_set_power()
151 dev_err(phy->isp->dev, "CSI2 CIO set power failed!\n"); in csiphy_set_power()
217 reg = isp_reg_readl(phy->isp, phy->phy_regs, ISPCSIPHY_REG0); in omap3isp_csiphy_config()
228 isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG0); in omap3isp_csiphy_config()
230 reg = isp_reg_readl(phy->isp, phy->phy_regs, ISPCSIPHY_REG1); in omap3isp_csiphy_config()
239 isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG1); in omap3isp_csiphy_config()
242 reg = isp_reg_readl(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG); in omap3isp_csiphy_config()
258 isp_reg_writel(phy->isp, reg, phy->cfg_regs, ISPCSI2_PHY_CFG); in omap3isp_csiphy_config()
268 dev_err(phy->isp->dev, in omap3isp_csiphy_acquire()
289 if (phy->isp->revision == ISP_REVISION_15_0) { in omap3isp_csiphy_acquire()
316 if (phy->isp->revision == ISP_REVISION_15_0) { in omap3isp_csiphy_release()
329 int omap3isp_csiphy_init(struct isp_device *isp) in omap3isp_csiphy_init() argument
331 struct isp_csiphy *phy1 = &isp->isp_csiphy1; in omap3isp_csiphy_init()
332 struct isp_csiphy *phy2 = &isp->isp_csiphy2; in omap3isp_csiphy_init()
334 phy2->isp = isp; in omap3isp_csiphy_init()
335 phy2->csi2 = &isp->isp_csi2a; in omap3isp_csiphy_init()
341 phy1->isp = isp; in omap3isp_csiphy_init()
344 if (isp->revision == ISP_REVISION_15_0) { in omap3isp_csiphy_init()
345 phy1->csi2 = &isp->isp_csi2c; in omap3isp_csiphy_init()
354 void omap3isp_csiphy_cleanup(struct isp_device *isp) in omap3isp_csiphy_cleanup() argument
356 mutex_destroy(&isp->isp_csiphy1.mutex); in omap3isp_csiphy_cleanup()
357 mutex_destroy(&isp->isp_csiphy2.mutex); in omap3isp_csiphy_cleanup()