• Home
  • Raw
  • Download

Lines Matching refs:isp

30 	regmap_read(phy->isp->syscon, phy->isp->syscon_offset, &reg);  in csiphy_routing_cfg_3630()
65 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, reg); in csiphy_routing_cfg_3630()
79 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, 0); in csiphy_routing_cfg_3430()
86 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, csirxfe); in csiphy_routing_cfg_3430()
105 if (phy->isp->phy_type == ISP_PHY_TYPE_3630 && on) in csiphy_routing_cfg()
107 if (phy->isp->phy_type == ISP_PHY_TYPE_3430) in csiphy_routing_cfg()
117 isp_reg_clr_set(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG, in csiphy_power_autoswitch_enable()
133 isp_reg_clr_set(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG, in csiphy_set_power()
139 reg = isp_reg_readl(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG) & in csiphy_set_power()
148 dev_err(phy->isp->dev, "CSI2 CIO set power failed!\n"); in csiphy_set_power()
214 reg = isp_reg_readl(phy->isp, phy->phy_regs, ISPCSIPHY_REG0); in omap3isp_csiphy_config()
225 isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG0); in omap3isp_csiphy_config()
227 reg = isp_reg_readl(phy->isp, phy->phy_regs, ISPCSIPHY_REG1); in omap3isp_csiphy_config()
236 isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG1); in omap3isp_csiphy_config()
239 reg = isp_reg_readl(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG); in omap3isp_csiphy_config()
255 isp_reg_writel(phy->isp, reg, phy->cfg_regs, ISPCSI2_PHY_CFG); in omap3isp_csiphy_config()
265 dev_err(phy->isp->dev, in omap3isp_csiphy_acquire()
286 if (phy->isp->revision == ISP_REVISION_15_0) { in omap3isp_csiphy_acquire()
313 if (phy->isp->revision == ISP_REVISION_15_0) { in omap3isp_csiphy_release()
326 int omap3isp_csiphy_init(struct isp_device *isp) in omap3isp_csiphy_init() argument
328 struct isp_csiphy *phy1 = &isp->isp_csiphy1; in omap3isp_csiphy_init()
329 struct isp_csiphy *phy2 = &isp->isp_csiphy2; in omap3isp_csiphy_init()
331 phy2->isp = isp; in omap3isp_csiphy_init()
332 phy2->csi2 = &isp->isp_csi2a; in omap3isp_csiphy_init()
338 phy1->isp = isp; in omap3isp_csiphy_init()
341 if (isp->revision == ISP_REVISION_15_0) { in omap3isp_csiphy_init()
342 phy1->csi2 = &isp->isp_csi2c; in omap3isp_csiphy_init()
351 void omap3isp_csiphy_cleanup(struct isp_device *isp) in omap3isp_csiphy_cleanup() argument
353 mutex_destroy(&isp->isp_csiphy1.mutex); in omap3isp_csiphy_cleanup()
354 mutex_destroy(&isp->isp_csiphy2.mutex); in omap3isp_csiphy_cleanup()