csiphy 1241 drivers/media/platform/qcom/camss/camss-csid.c struct csiphy_device *csiphy; csiphy 1254 drivers/media/platform/qcom/camss/camss-csid.c csiphy = v4l2_get_subdevdata(sd); csiphy 1258 drivers/media/platform/qcom/camss/camss-csid.c if (!csiphy->cfg.csi2) csiphy 1261 drivers/media/platform/qcom/camss/camss-csid.c csid->phy.csiphy_id = csiphy->id; csiphy 1263 drivers/media/platform/qcom/camss/camss-csid.c lane_cfg = &csiphy->cfg.csi2->lane_cfg; csiphy 29 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c static void csiphy_hw_version_read(struct csiphy_device *csiphy, csiphy 32 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c u8 hw_version = readl_relaxed(csiphy->base + csiphy 42 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c static void csiphy_reset(struct csiphy_device *csiphy) csiphy 44 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(0x1, csiphy->base + CAMSS_CSI_PHY_GLBL_RESET); csiphy 46 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(0x0, csiphy->base + CAMSS_CSI_PHY_GLBL_RESET); csiphy 84 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c static void csiphy_lanes_enable(struct csiphy_device *csiphy, csiphy 94 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c csiphy->timer_clk_rate); csiphy 96 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(0x1, csiphy->base + csiphy 98 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(0x1, csiphy->base + csiphy 103 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(val, csiphy->base + CAMSS_CSI_PHY_GLBL_PWR_CFG); csiphy 106 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(val, csiphy->base + CAMSS_CSI_PHY_GLBL_RESET); csiphy 114 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(0x10, csiphy->base + csiphy 116 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(settle_cnt, csiphy->base + csiphy 118 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(0x3f, csiphy->base + csiphy 120 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(0x3f, csiphy->base + csiphy 125 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c static void csiphy_lanes_disable(struct csiphy_device *csiphy, csiphy 138 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(0x0, csiphy->base + csiphy 142 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(0x0, csiphy->base + CAMSS_CSI_PHY_GLBL_PWR_CFG); csiphy 154 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c struct csiphy_device *csiphy = dev; csiphy 158 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c u8 val = readl_relaxed(csiphy->base + csiphy 160 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(val, csiphy->base + csiphy 162 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(0x1, csiphy->base + CAMSS_CSI_PHY_GLBL_IRQ_CMD); csiphy 163 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(0x0, csiphy->base + CAMSS_CSI_PHY_GLBL_IRQ_CMD); csiphy 164 drivers/media/platform/qcom/camss/camss-csiphy-2ph-1-0.c writel_relaxed(0x0, csiphy->base + csiphy 48 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c static void csiphy_hw_version_read(struct csiphy_device *csiphy, csiphy 54 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(6)); csiphy 56 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c hw_version = readl_relaxed(csiphy->base + csiphy 58 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c hw_version |= readl_relaxed(csiphy->base + csiphy 60 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c hw_version |= readl_relaxed(csiphy->base + csiphy 62 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c hw_version |= readl_relaxed(csiphy->base + csiphy 72 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c static void csiphy_reset(struct csiphy_device *csiphy) csiphy 74 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(0x1, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(0)); csiphy 76 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(0x0, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(0)); csiphy 81 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c struct csiphy_device *csiphy = dev; csiphy 86 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c u8 val = readl_relaxed(csiphy->base + csiphy 89 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + csiphy 93 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(0x1, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(10)); csiphy 94 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(0x0, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(10)); csiphy 97 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(0x0, csiphy->base + csiphy 136 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c static void csiphy_lanes_enable(struct csiphy_device *csiphy, csiphy 146 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c csiphy->timer_clk_rate); csiphy 152 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(5)); csiphy 155 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(6)); csiphy 165 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_LNn_CFG1(l)); csiphy 168 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_LNn_CFG2(l)); csiphy 171 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_LNn_CFG3(l)); csiphy 175 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_LNn_CFG5(l)); csiphy 178 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_LNn_CFG6(l)); csiphy 181 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_LNn_CFG7(l)); csiphy 185 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_LNn_CFG8(l)); csiphy 188 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_LNn_CFG9(l)); csiphy 191 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_LNn_TEST_IMP(l)); csiphy 194 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + csiphy 199 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_LNn_CFG1(l)); csiphy 202 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_LNn_CFG4(l)); csiphy 205 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_LNn_MISC1(l)); csiphy 208 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(11)); csiphy 211 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(12)); csiphy 214 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(13)); csiphy 217 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(14)); csiphy 220 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(15)); csiphy 223 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(16)); csiphy 226 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(17)); csiphy 229 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(18)); csiphy 232 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(19)); csiphy 235 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(20)); csiphy 238 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(val, csiphy->base + CSIPHY_3PH_CMN_CSI_COMMON_CTRLn(21)); csiphy 241 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c static void csiphy_lanes_disable(struct csiphy_device *csiphy, csiphy 244 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(0, csiphy->base + csiphy 247 drivers/media/platform/qcom/camss/camss-csiphy-3ph-1-0.c writel_relaxed(0, csiphy->base + csiphy 102 drivers/media/platform/qcom/camss/camss-csiphy.c static int csiphy_set_clock_rates(struct csiphy_device *csiphy) csiphy 104 drivers/media/platform/qcom/camss/camss-csiphy.c struct device *dev = csiphy->camss->dev; csiphy 109 drivers/media/platform/qcom/camss/camss-csiphy.c ret = camss_get_pixel_clock(&csiphy->subdev.entity, &pixel_clock); csiphy 113 drivers/media/platform/qcom/camss/camss-csiphy.c for (i = 0; i < csiphy->nclocks; i++) { csiphy 114 drivers/media/platform/qcom/camss/camss-csiphy.c struct camss_clock *clock = &csiphy->clock[i]; csiphy 119 drivers/media/platform/qcom/camss/camss-csiphy.c u8 bpp = csiphy_get_bpp(csiphy->formats, csiphy 120 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->nformats, csiphy 121 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->fmt[MSM_CSIPHY_PAD_SINK].code); csiphy 122 drivers/media/platform/qcom/camss/camss-csiphy.c u8 num_lanes = csiphy->cfg.csi2->lane_cfg.num_data; csiphy 150 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->timer_clk_rate = round_rate; csiphy 152 drivers/media/platform/qcom/camss/camss-csiphy.c ret = clk_set_rate(clock->clk, csiphy->timer_clk_rate); csiphy 172 drivers/media/platform/qcom/camss/camss-csiphy.c struct csiphy_device *csiphy = v4l2_get_subdevdata(sd); csiphy 173 drivers/media/platform/qcom/camss/camss-csiphy.c struct device *dev = csiphy->camss->dev; csiphy 182 drivers/media/platform/qcom/camss/camss-csiphy.c ret = csiphy_set_clock_rates(csiphy); csiphy 188 drivers/media/platform/qcom/camss/camss-csiphy.c ret = camss_enable_clocks(csiphy->nclocks, csiphy->clock, dev); csiphy 194 drivers/media/platform/qcom/camss/camss-csiphy.c enable_irq(csiphy->irq); csiphy 196 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->ops->reset(csiphy); csiphy 198 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->ops->hw_version_read(csiphy, dev); csiphy 200 drivers/media/platform/qcom/camss/camss-csiphy.c disable_irq(csiphy->irq); csiphy 202 drivers/media/platform/qcom/camss/camss-csiphy.c camss_disable_clocks(csiphy->nclocks, csiphy->clock); csiphy 238 drivers/media/platform/qcom/camss/camss-csiphy.c static int csiphy_stream_on(struct csiphy_device *csiphy) csiphy 240 drivers/media/platform/qcom/camss/camss-csiphy.c struct csiphy_config *cfg = &csiphy->cfg; csiphy 243 drivers/media/platform/qcom/camss/camss-csiphy.c u8 bpp = csiphy_get_bpp(csiphy->formats, csiphy->nformats, csiphy 244 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->fmt[MSM_CSIPHY_PAD_SINK].code); csiphy 248 drivers/media/platform/qcom/camss/camss-csiphy.c ret = camss_get_pixel_clock(&csiphy->subdev.entity, &pixel_clock); csiphy 250 drivers/media/platform/qcom/camss/camss-csiphy.c dev_err(csiphy->camss->dev, csiphy 255 drivers/media/platform/qcom/camss/camss-csiphy.c dev_err(csiphy->camss->dev, csiphy 260 drivers/media/platform/qcom/camss/camss-csiphy.c val = readl_relaxed(csiphy->base_clk_mux); csiphy 268 drivers/media/platform/qcom/camss/camss-csiphy.c writel_relaxed(val, csiphy->base_clk_mux); csiphy 271 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->ops->lanes_enable(csiphy, cfg, pixel_clock, bpp, lane_mask); csiphy 282 drivers/media/platform/qcom/camss/camss-csiphy.c static void csiphy_stream_off(struct csiphy_device *csiphy) csiphy 284 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->ops->lanes_disable(csiphy, &csiphy->cfg); csiphy 297 drivers/media/platform/qcom/camss/camss-csiphy.c struct csiphy_device *csiphy = v4l2_get_subdevdata(sd); csiphy 301 drivers/media/platform/qcom/camss/camss-csiphy.c ret = csiphy_stream_on(csiphy); csiphy 303 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy_stream_off(csiphy); csiphy 318 drivers/media/platform/qcom/camss/camss-csiphy.c __csiphy_get_format(struct csiphy_device *csiphy, csiphy 324 drivers/media/platform/qcom/camss/camss-csiphy.c return v4l2_subdev_get_try_format(&csiphy->subdev, cfg, pad); csiphy 326 drivers/media/platform/qcom/camss/camss-csiphy.c return &csiphy->fmt[pad]; csiphy 337 drivers/media/platform/qcom/camss/camss-csiphy.c static void csiphy_try_format(struct csiphy_device *csiphy, csiphy 349 drivers/media/platform/qcom/camss/camss-csiphy.c for (i = 0; i < csiphy->nformats; i++) csiphy 350 drivers/media/platform/qcom/camss/camss-csiphy.c if (fmt->code == csiphy->formats[i].code) csiphy 354 drivers/media/platform/qcom/camss/camss-csiphy.c if (i >= csiphy->nformats) csiphy 368 drivers/media/platform/qcom/camss/camss-csiphy.c *fmt = *__csiphy_get_format(csiphy, cfg, MSM_CSID_PAD_SINK, csiphy 386 drivers/media/platform/qcom/camss/camss-csiphy.c struct csiphy_device *csiphy = v4l2_get_subdevdata(sd); csiphy 390 drivers/media/platform/qcom/camss/camss-csiphy.c if (code->index >= csiphy->nformats) csiphy 393 drivers/media/platform/qcom/camss/camss-csiphy.c code->code = csiphy->formats[code->index].code; csiphy 398 drivers/media/platform/qcom/camss/camss-csiphy.c format = __csiphy_get_format(csiphy, cfg, MSM_CSIPHY_PAD_SINK, csiphy 418 drivers/media/platform/qcom/camss/camss-csiphy.c struct csiphy_device *csiphy = v4l2_get_subdevdata(sd); csiphy 427 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy_try_format(csiphy, cfg, fse->pad, &format, fse->which); csiphy 437 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy_try_format(csiphy, cfg, fse->pad, &format, fse->which); csiphy 456 drivers/media/platform/qcom/camss/camss-csiphy.c struct csiphy_device *csiphy = v4l2_get_subdevdata(sd); csiphy 459 drivers/media/platform/qcom/camss/camss-csiphy.c format = __csiphy_get_format(csiphy, cfg, fmt->pad, fmt->which); csiphy 480 drivers/media/platform/qcom/camss/camss-csiphy.c struct csiphy_device *csiphy = v4l2_get_subdevdata(sd); csiphy 483 drivers/media/platform/qcom/camss/camss-csiphy.c format = __csiphy_get_format(csiphy, cfg, fmt->pad, fmt->which); csiphy 487 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy_try_format(csiphy, cfg, fmt->pad, &fmt->format, fmt->which); csiphy 492 drivers/media/platform/qcom/camss/camss-csiphy.c format = __csiphy_get_format(csiphy, cfg, MSM_CSIPHY_PAD_SRC, csiphy 496 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy_try_format(csiphy, cfg, MSM_CSIPHY_PAD_SRC, format, csiphy 538 drivers/media/platform/qcom/camss/camss-csiphy.c struct csiphy_device *csiphy, csiphy 547 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->camss = camss; csiphy 548 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->id = id; csiphy 549 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->cfg.combo_mode = 0; csiphy 552 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->ops = &csiphy_ops_2ph_1_0; csiphy 553 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->formats = csiphy_formats_8x16; csiphy 554 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->nformats = ARRAY_SIZE(csiphy_formats_8x16); csiphy 556 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->ops = &csiphy_ops_3ph_1_0; csiphy 557 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->formats = csiphy_formats_8x96; csiphy 558 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->nformats = ARRAY_SIZE(csiphy_formats_8x96); csiphy 566 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->base = devm_ioremap_resource(dev, r); csiphy 567 drivers/media/platform/qcom/camss/camss-csiphy.c if (IS_ERR(csiphy->base)) { csiphy 569 drivers/media/platform/qcom/camss/camss-csiphy.c return PTR_ERR(csiphy->base); csiphy 573 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->base_clk_mux = devm_ioremap_resource(dev, r); csiphy 574 drivers/media/platform/qcom/camss/camss-csiphy.c if (IS_ERR(csiphy->base_clk_mux)) { csiphy 576 drivers/media/platform/qcom/camss/camss-csiphy.c return PTR_ERR(csiphy->base_clk_mux); csiphy 588 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->irq = r->start; csiphy 589 drivers/media/platform/qcom/camss/camss-csiphy.c snprintf(csiphy->irq_name, sizeof(csiphy->irq_name), "%s_%s%d", csiphy 590 drivers/media/platform/qcom/camss/camss-csiphy.c dev_name(dev), MSM_CSIPHY_NAME, csiphy->id); csiphy 592 drivers/media/platform/qcom/camss/camss-csiphy.c ret = devm_request_irq(dev, csiphy->irq, csiphy->ops->isr, csiphy 593 drivers/media/platform/qcom/camss/camss-csiphy.c IRQF_TRIGGER_RISING, csiphy->irq_name, csiphy); csiphy 599 drivers/media/platform/qcom/camss/camss-csiphy.c disable_irq(csiphy->irq); csiphy 603 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->nclocks = 0; csiphy 604 drivers/media/platform/qcom/camss/camss-csiphy.c while (res->clock[csiphy->nclocks]) csiphy 605 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->nclocks++; csiphy 607 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->clock = devm_kcalloc(dev, csiphy 608 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->nclocks, sizeof(*csiphy->clock), csiphy 610 drivers/media/platform/qcom/camss/camss-csiphy.c if (!csiphy->clock) csiphy 613 drivers/media/platform/qcom/camss/camss-csiphy.c for (i = 0; i < csiphy->nclocks; i++) { csiphy 614 drivers/media/platform/qcom/camss/camss-csiphy.c struct camss_clock *clock = &csiphy->clock[i]; csiphy 661 drivers/media/platform/qcom/camss/camss-csiphy.c struct csiphy_device *csiphy; csiphy 668 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy = v4l2_get_subdevdata(sd); csiphy 673 drivers/media/platform/qcom/camss/camss-csiphy.c csiphy->cfg.csid_id = csid->id; csiphy 716 drivers/media/platform/qcom/camss/camss-csiphy.c int msm_csiphy_register_entity(struct csiphy_device *csiphy, csiphy 719 drivers/media/platform/qcom/camss/camss-csiphy.c struct v4l2_subdev *sd = &csiphy->subdev; csiphy 720 drivers/media/platform/qcom/camss/camss-csiphy.c struct media_pad *pads = csiphy->pads; csiphy 721 drivers/media/platform/qcom/camss/camss-csiphy.c struct device *dev = csiphy->camss->dev; csiphy 728 drivers/media/platform/qcom/camss/camss-csiphy.c MSM_CSIPHY_NAME, csiphy->id); csiphy 729 drivers/media/platform/qcom/camss/camss-csiphy.c v4l2_set_subdevdata(sd, csiphy); csiphy 761 drivers/media/platform/qcom/camss/camss-csiphy.c void msm_csiphy_unregister_entity(struct csiphy_device *csiphy) csiphy 763 drivers/media/platform/qcom/camss/camss-csiphy.c v4l2_device_unregister_subdev(&csiphy->subdev); csiphy 764 drivers/media/platform/qcom/camss/camss-csiphy.c media_entity_cleanup(&csiphy->subdev.entity); csiphy 48 drivers/media/platform/qcom/camss/camss-csiphy.h void (*hw_version_read)(struct csiphy_device *csiphy, csiphy 50 drivers/media/platform/qcom/camss/camss-csiphy.h void (*reset)(struct csiphy_device *csiphy); csiphy 51 drivers/media/platform/qcom/camss/camss-csiphy.h void (*lanes_enable)(struct csiphy_device *csiphy, csiphy 54 drivers/media/platform/qcom/camss/camss-csiphy.h void (*lanes_disable)(struct csiphy_device *csiphy, csiphy 81 drivers/media/platform/qcom/camss/camss-csiphy.h struct csiphy_device *csiphy, csiphy 84 drivers/media/platform/qcom/camss/camss-csiphy.h int msm_csiphy_register_entity(struct csiphy_device *csiphy, csiphy 87 drivers/media/platform/qcom/camss/camss-csiphy.h void msm_csiphy_unregister_entity(struct csiphy_device *csiphy); csiphy 542 drivers/media/platform/qcom/camss/camss.c ret = msm_csiphy_subdev_init(camss, &camss->csiphy[i], csiphy 595 drivers/media/platform/qcom/camss/camss.c ret = msm_csiphy_register_entity(&camss->csiphy[i], csiphy 637 drivers/media/platform/qcom/camss/camss.c &camss->csiphy[i].subdev.entity, csiphy 645 drivers/media/platform/qcom/camss/camss.c camss->csiphy[i].subdev.entity.name, csiphy 710 drivers/media/platform/qcom/camss/camss.c msm_csiphy_unregister_entity(&camss->csiphy[i]); csiphy 726 drivers/media/platform/qcom/camss/camss.c msm_csiphy_unregister_entity(&camss->csiphy[i]); csiphy 745 drivers/media/platform/qcom/camss/camss.c struct csiphy_device *csiphy = &camss->csiphy[id]; csiphy 747 drivers/media/platform/qcom/camss/camss.c csiphy->cfg.csi2 = &csd->interface.csi2; csiphy 748 drivers/media/platform/qcom/camss/camss.c subdev->host_priv = csiphy; csiphy 763 drivers/media/platform/qcom/camss/camss.c struct csiphy_device *csiphy = csiphy 765 drivers/media/platform/qcom/camss/camss.c struct media_entity *input = &csiphy->subdev.entity; csiphy 841 drivers/media/platform/qcom/camss/camss.c camss->csiphy = devm_kcalloc(dev, camss->csiphy_num, csiphy 842 drivers/media/platform/qcom/camss/camss.c sizeof(*camss->csiphy), GFP_KERNEL); csiphy 843 drivers/media/platform/qcom/camss/camss.c if (!camss->csiphy) csiphy 77 drivers/media/platform/qcom/camss/camss.h struct csiphy_device *csiphy;