ispif 162 drivers/media/platform/qcom/camss/camss-ispif.c struct ispif_device *ispif = dev; ispif 165 drivers/media/platform/qcom/camss/camss-ispif.c value0 = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_STATUS_0(0)); ispif 166 drivers/media/platform/qcom/camss/camss-ispif.c value1 = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_STATUS_1(0)); ispif 167 drivers/media/platform/qcom/camss/camss-ispif.c value2 = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_STATUS_2(0)); ispif 168 drivers/media/platform/qcom/camss/camss-ispif.c value3 = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_STATUS_0(1)); ispif 169 drivers/media/platform/qcom/camss/camss-ispif.c value4 = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_STATUS_1(1)); ispif 170 drivers/media/platform/qcom/camss/camss-ispif.c value5 = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_STATUS_2(1)); ispif 172 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(value0, ispif->base + ISPIF_VFE_m_IRQ_CLEAR_0(0)); ispif 173 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(value1, ispif->base + ISPIF_VFE_m_IRQ_CLEAR_1(0)); ispif 174 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(value2, ispif->base + ISPIF_VFE_m_IRQ_CLEAR_2(0)); ispif 175 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(value3, ispif->base + ISPIF_VFE_m_IRQ_CLEAR_0(1)); ispif 176 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(value4, ispif->base + ISPIF_VFE_m_IRQ_CLEAR_1(1)); ispif 177 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(value5, ispif->base + ISPIF_VFE_m_IRQ_CLEAR_2(1)); ispif 179 drivers/media/platform/qcom/camss/camss-ispif.c writel(0x1, ispif->base + ISPIF_IRQ_GLOBAL_CLEAR_CMD); ispif 182 drivers/media/platform/qcom/camss/camss-ispif.c complete(&ispif->reset_complete); ispif 185 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE0 pix0 overflow\n"); ispif 188 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE0 rdi0 overflow\n"); ispif 191 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE0 pix1 overflow\n"); ispif 194 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE0 rdi1 overflow\n"); ispif 197 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE0 rdi2 overflow\n"); ispif 200 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE1 pix0 overflow\n"); ispif 203 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE1 rdi0 overflow\n"); ispif 206 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE1 pix1 overflow\n"); ispif 209 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE1 rdi1 overflow\n"); ispif 212 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE1 rdi2 overflow\n"); ispif 226 drivers/media/platform/qcom/camss/camss-ispif.c struct ispif_device *ispif = dev; ispif 229 drivers/media/platform/qcom/camss/camss-ispif.c value0 = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_STATUS_0(0)); ispif 230 drivers/media/platform/qcom/camss/camss-ispif.c value1 = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_STATUS_1(0)); ispif 231 drivers/media/platform/qcom/camss/camss-ispif.c value2 = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_STATUS_2(0)); ispif 233 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(value0, ispif->base + ISPIF_VFE_m_IRQ_CLEAR_0(0)); ispif 234 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(value1, ispif->base + ISPIF_VFE_m_IRQ_CLEAR_1(0)); ispif 235 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(value2, ispif->base + ISPIF_VFE_m_IRQ_CLEAR_2(0)); ispif 237 drivers/media/platform/qcom/camss/camss-ispif.c writel(0x1, ispif->base + ISPIF_IRQ_GLOBAL_CLEAR_CMD); ispif 240 drivers/media/platform/qcom/camss/camss-ispif.c complete(&ispif->reset_complete); ispif 243 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE0 pix0 overflow\n"); ispif 246 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE0 rdi0 overflow\n"); ispif 249 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE0 pix1 overflow\n"); ispif 252 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE0 rdi1 overflow\n"); ispif 255 drivers/media/platform/qcom/camss/camss-ispif.c dev_err_ratelimited(to_device(ispif), "VFE0 rdi2 overflow\n"); ispif 266 drivers/media/platform/qcom/camss/camss-ispif.c static int ispif_reset(struct ispif_device *ispif) ispif 272 drivers/media/platform/qcom/camss/camss-ispif.c ret = camss_pm_domain_on(to_camss(ispif), PM_DOMAIN_VFE0); ispif 276 drivers/media/platform/qcom/camss/camss-ispif.c ret = camss_pm_domain_on(to_camss(ispif), PM_DOMAIN_VFE1); ispif 280 drivers/media/platform/qcom/camss/camss-ispif.c ret = camss_enable_clocks(ispif->nclocks_for_reset, ispif 281 drivers/media/platform/qcom/camss/camss-ispif.c ispif->clock_for_reset, ispif 282 drivers/media/platform/qcom/camss/camss-ispif.c to_device(ispif)); ispif 286 drivers/media/platform/qcom/camss/camss-ispif.c reinit_completion(&ispif->reset_complete); ispif 306 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(val, ispif->base + ISPIF_RST_CMD_0); ispif 308 drivers/media/platform/qcom/camss/camss-ispif.c time = wait_for_completion_timeout(&ispif->reset_complete, ispif 311 drivers/media/platform/qcom/camss/camss-ispif.c dev_err(to_device(ispif), "ISPIF reset timeout\n"); ispif 315 drivers/media/platform/qcom/camss/camss-ispif.c camss_disable_clocks(ispif->nclocks_for_reset, ispif->clock_for_reset); ispif 317 drivers/media/platform/qcom/camss/camss-ispif.c camss_pm_domain_off(to_camss(ispif), PM_DOMAIN_VFE0); ispif 318 drivers/media/platform/qcom/camss/camss-ispif.c camss_pm_domain_off(to_camss(ispif), PM_DOMAIN_VFE1); ispif 333 drivers/media/platform/qcom/camss/camss-ispif.c struct ispif_device *ispif = line->ispif; ispif 334 drivers/media/platform/qcom/camss/camss-ispif.c struct device *dev = to_device(ispif); ispif 337 drivers/media/platform/qcom/camss/camss-ispif.c mutex_lock(&ispif->power_lock); ispif 340 drivers/media/platform/qcom/camss/camss-ispif.c if (ispif->power_count) { ispif 342 drivers/media/platform/qcom/camss/camss-ispif.c ispif->power_count++; ispif 350 drivers/media/platform/qcom/camss/camss-ispif.c ret = camss_enable_clocks(ispif->nclocks, ispif->clock, dev); ispif 356 drivers/media/platform/qcom/camss/camss-ispif.c ret = ispif_reset(ispif); ispif 359 drivers/media/platform/qcom/camss/camss-ispif.c camss_disable_clocks(ispif->nclocks, ispif->clock); ispif 363 drivers/media/platform/qcom/camss/camss-ispif.c ispif->intf_cmd[line->vfe_id].cmd_0 = CMD_ALL_NO_CHANGE; ispif 364 drivers/media/platform/qcom/camss/camss-ispif.c ispif->intf_cmd[line->vfe_id].cmd_1 = CMD_ALL_NO_CHANGE; ispif 366 drivers/media/platform/qcom/camss/camss-ispif.c ispif->power_count++; ispif 368 drivers/media/platform/qcom/camss/camss-ispif.c if (ispif->power_count == 0) { ispif 371 drivers/media/platform/qcom/camss/camss-ispif.c } else if (ispif->power_count == 1) { ispif 372 drivers/media/platform/qcom/camss/camss-ispif.c camss_disable_clocks(ispif->nclocks, ispif->clock); ispif 376 drivers/media/platform/qcom/camss/camss-ispif.c ispif->power_count--; ispif 380 drivers/media/platform/qcom/camss/camss-ispif.c mutex_unlock(&ispif->power_lock); ispif 393 drivers/media/platform/qcom/camss/camss-ispif.c static void ispif_select_clk_mux(struct ispif_device *ispif, ispif 401 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base_clk_mux + CSI_PIX_CLK_MUX_SEL); ispif 405 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(val, ispif->base_clk_mux + CSI_PIX_CLK_MUX_SEL); ispif 409 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base_clk_mux + CSI_RDI_CLK_MUX_SEL); ispif 413 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(val, ispif->base_clk_mux + CSI_RDI_CLK_MUX_SEL); ispif 417 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base_clk_mux + CSI_PIX_CLK_MUX_SEL); ispif 421 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(val, ispif->base_clk_mux + CSI_PIX_CLK_MUX_SEL); ispif 425 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base_clk_mux + CSI_RDI_CLK_MUX_SEL); ispif 429 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(val, ispif->base_clk_mux + CSI_RDI_CLK_MUX_SEL); ispif 433 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base_clk_mux + CSI_RDI_CLK_MUX_SEL); ispif 437 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(val, ispif->base_clk_mux + CSI_RDI_CLK_MUX_SEL); ispif 452 drivers/media/platform/qcom/camss/camss-ispif.c static int ispif_validate_intf_status(struct ispif_device *ispif, ispif 460 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base + ispif 464 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base + ispif 468 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base + ispif 472 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base + ispif 476 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base + ispif 482 drivers/media/platform/qcom/camss/camss-ispif.c dev_err(to_device(ispif), "%s: ispif is busy: 0x%x\n", ispif 498 drivers/media/platform/qcom/camss/camss-ispif.c static int ispif_wait_for_stop(struct ispif_device *ispif, ispif 523 drivers/media/platform/qcom/camss/camss-ispif.c ret = readl_poll_timeout(ispif->base + addr, ispif 529 drivers/media/platform/qcom/camss/camss-ispif.c dev_err(to_device(ispif), "%s: ispif stop timeout\n", ispif 543 drivers/media/platform/qcom/camss/camss-ispif.c static void ispif_select_csid(struct ispif_device *ispif, enum ispif_intf intf, ispif 548 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base + ISPIF_VFE_m_INTF_INPUT_SEL(vfe)); ispif 577 drivers/media/platform/qcom/camss/camss-ispif.c writel(val, ispif->base + ISPIF_VFE_m_INTF_INPUT_SEL(vfe)); ispif 588 drivers/media/platform/qcom/camss/camss-ispif.c static void ispif_select_cid(struct ispif_device *ispif, enum ispif_intf intf, ispif 613 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base + addr); ispif 619 drivers/media/platform/qcom/camss/camss-ispif.c writel(val, ispif->base + addr); ispif 629 drivers/media/platform/qcom/camss/camss-ispif.c static void ispif_config_irq(struct ispif_device *ispif, enum ispif_intf intf, ispif 636 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_MASK_0(vfe)); ispif 640 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(val, ispif->base + ISPIF_VFE_m_IRQ_MASK_0(vfe)); ispif 642 drivers/media/platform/qcom/camss/camss-ispif.c ispif->base + ISPIF_VFE_m_IRQ_CLEAR_0(vfe)); ispif 645 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_MASK_0(vfe)); ispif 649 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(val, ispif->base + ISPIF_VFE_m_IRQ_MASK_0(vfe)); ispif 651 drivers/media/platform/qcom/camss/camss-ispif.c ispif->base + ISPIF_VFE_m_IRQ_CLEAR_0(vfe)); ispif 654 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_MASK_1(vfe)); ispif 658 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(val, ispif->base + ISPIF_VFE_m_IRQ_MASK_1(vfe)); ispif 660 drivers/media/platform/qcom/camss/camss-ispif.c ispif->base + ISPIF_VFE_m_IRQ_CLEAR_1(vfe)); ispif 663 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_MASK_1(vfe)); ispif 667 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(val, ispif->base + ISPIF_VFE_m_IRQ_MASK_1(vfe)); ispif 669 drivers/media/platform/qcom/camss/camss-ispif.c ispif->base + ISPIF_VFE_m_IRQ_CLEAR_1(vfe)); ispif 672 drivers/media/platform/qcom/camss/camss-ispif.c val = readl_relaxed(ispif->base + ISPIF_VFE_m_IRQ_MASK_2(vfe)); ispif 676 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(val, ispif->base + ISPIF_VFE_m_IRQ_MASK_2(vfe)); ispif 678 drivers/media/platform/qcom/camss/camss-ispif.c ispif->base + ISPIF_VFE_m_IRQ_CLEAR_2(vfe)); ispif 682 drivers/media/platform/qcom/camss/camss-ispif.c writel(0x1, ispif->base + ISPIF_IRQ_GLOBAL_CLEAR_CMD); ispif 694 drivers/media/platform/qcom/camss/camss-ispif.c static void ispif_config_pack(struct ispif_device *ispif, u32 code, ispif 731 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(val, ispif->base + addr); ispif 742 drivers/media/platform/qcom/camss/camss-ispif.c static void ispif_set_intf_cmd(struct ispif_device *ispif, u8 cmd, ispif 748 drivers/media/platform/qcom/camss/camss-ispif.c val = &ispif->intf_cmd[vfe].cmd_1; ispif 752 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(*val, ispif->base + ISPIF_VFE_m_INTF_CMD_1(vfe)); ispif 755 drivers/media/platform/qcom/camss/camss-ispif.c val = &ispif->intf_cmd[vfe].cmd_0; ispif 759 drivers/media/platform/qcom/camss/camss-ispif.c writel_relaxed(*val, ispif->base + ISPIF_VFE_m_INTF_CMD_0(vfe)); ispif 776 drivers/media/platform/qcom/camss/camss-ispif.c struct ispif_device *ispif = line->ispif; ispif 790 drivers/media/platform/qcom/camss/camss-ispif.c mutex_lock(&ispif->config_lock); ispif 791 drivers/media/platform/qcom/camss/camss-ispif.c ispif_select_clk_mux(ispif, intf, csid, vfe, 1); ispif 793 drivers/media/platform/qcom/camss/camss-ispif.c ret = ispif_validate_intf_status(ispif, intf, vfe); ispif 795 drivers/media/platform/qcom/camss/camss-ispif.c mutex_unlock(&ispif->config_lock); ispif 799 drivers/media/platform/qcom/camss/camss-ispif.c ispif_select_csid(ispif, intf, csid, vfe, 1); ispif 800 drivers/media/platform/qcom/camss/camss-ispif.c ispif_select_cid(ispif, intf, cid, vfe, 1); ispif 801 drivers/media/platform/qcom/camss/camss-ispif.c ispif_config_irq(ispif, intf, vfe, 1); ispif 802 drivers/media/platform/qcom/camss/camss-ispif.c if (to_camss(ispif)->version == CAMSS_8x96) ispif 803 drivers/media/platform/qcom/camss/camss-ispif.c ispif_config_pack(ispif, ispif 806 drivers/media/platform/qcom/camss/camss-ispif.c ispif_set_intf_cmd(ispif, CMD_ENABLE_FRAME_BOUNDARY, ispif 809 drivers/media/platform/qcom/camss/camss-ispif.c mutex_lock(&ispif->config_lock); ispif 810 drivers/media/platform/qcom/camss/camss-ispif.c ispif_set_intf_cmd(ispif, CMD_DISABLE_FRAME_BOUNDARY, ispif 812 drivers/media/platform/qcom/camss/camss-ispif.c mutex_unlock(&ispif->config_lock); ispif 814 drivers/media/platform/qcom/camss/camss-ispif.c ret = ispif_wait_for_stop(ispif, intf, vfe); ispif 818 drivers/media/platform/qcom/camss/camss-ispif.c mutex_lock(&ispif->config_lock); ispif 819 drivers/media/platform/qcom/camss/camss-ispif.c if (to_camss(ispif)->version == CAMSS_8x96) ispif 820 drivers/media/platform/qcom/camss/camss-ispif.c ispif_config_pack(ispif, ispif 823 drivers/media/platform/qcom/camss/camss-ispif.c ispif_config_irq(ispif, intf, vfe, 0); ispif 824 drivers/media/platform/qcom/camss/camss-ispif.c ispif_select_cid(ispif, intf, cid, vfe, 0); ispif 825 drivers/media/platform/qcom/camss/camss-ispif.c ispif_select_csid(ispif, intf, csid, vfe, 0); ispif 826 drivers/media/platform/qcom/camss/camss-ispif.c ispif_select_clk_mux(ispif, intf, csid, vfe, 0); ispif 829 drivers/media/platform/qcom/camss/camss-ispif.c mutex_unlock(&ispif->config_lock); ispif 1063 drivers/media/platform/qcom/camss/camss-ispif.c int msm_ispif_subdev_init(struct ispif_device *ispif, ispif 1066 drivers/media/platform/qcom/camss/camss-ispif.c struct device *dev = to_device(ispif); ispif 1073 drivers/media/platform/qcom/camss/camss-ispif.c if (to_camss(ispif)->version == CAMSS_8x16) ispif 1074 drivers/media/platform/qcom/camss/camss-ispif.c ispif->line_num = 2; ispif 1075 drivers/media/platform/qcom/camss/camss-ispif.c else if (to_camss(ispif)->version == CAMSS_8x96) ispif 1076 drivers/media/platform/qcom/camss/camss-ispif.c ispif->line_num = 4; ispif 1080 drivers/media/platform/qcom/camss/camss-ispif.c ispif->line = devm_kcalloc(dev, ispif->line_num, sizeof(*ispif->line), ispif 1082 drivers/media/platform/qcom/camss/camss-ispif.c if (!ispif->line) ispif 1085 drivers/media/platform/qcom/camss/camss-ispif.c for (i = 0; i < ispif->line_num; i++) { ispif 1086 drivers/media/platform/qcom/camss/camss-ispif.c ispif->line[i].ispif = ispif; ispif 1087 drivers/media/platform/qcom/camss/camss-ispif.c ispif->line[i].id = i; ispif 1089 drivers/media/platform/qcom/camss/camss-ispif.c if (to_camss(ispif)->version == CAMSS_8x16) { ispif 1090 drivers/media/platform/qcom/camss/camss-ispif.c ispif->line[i].formats = ispif_formats_8x16; ispif 1091 drivers/media/platform/qcom/camss/camss-ispif.c ispif->line[i].nformats = ispif 1093 drivers/media/platform/qcom/camss/camss-ispif.c } else if (to_camss(ispif)->version == CAMSS_8x96) { ispif 1094 drivers/media/platform/qcom/camss/camss-ispif.c ispif->line[i].formats = ispif_formats_8x96; ispif 1095 drivers/media/platform/qcom/camss/camss-ispif.c ispif->line[i].nformats = ispif 1105 drivers/media/platform/qcom/camss/camss-ispif.c ispif->base = devm_ioremap_resource(dev, r); ispif 1106 drivers/media/platform/qcom/camss/camss-ispif.c if (IS_ERR(ispif->base)) { ispif 1108 drivers/media/platform/qcom/camss/camss-ispif.c return PTR_ERR(ispif->base); ispif 1112 drivers/media/platform/qcom/camss/camss-ispif.c ispif->base_clk_mux = devm_ioremap_resource(dev, r); ispif 1113 drivers/media/platform/qcom/camss/camss-ispif.c if (IS_ERR(ispif->base_clk_mux)) { ispif 1115 drivers/media/platform/qcom/camss/camss-ispif.c return PTR_ERR(ispif->base_clk_mux); ispif 1127 drivers/media/platform/qcom/camss/camss-ispif.c ispif->irq = r->start; ispif 1128 drivers/media/platform/qcom/camss/camss-ispif.c snprintf(ispif->irq_name, sizeof(ispif->irq_name), "%s_%s", ispif 1130 drivers/media/platform/qcom/camss/camss-ispif.c if (to_camss(ispif)->version == CAMSS_8x16) ispif 1131 drivers/media/platform/qcom/camss/camss-ispif.c ret = devm_request_irq(dev, ispif->irq, ispif_isr_8x16, ispif 1132 drivers/media/platform/qcom/camss/camss-ispif.c IRQF_TRIGGER_RISING, ispif->irq_name, ispif); ispif 1133 drivers/media/platform/qcom/camss/camss-ispif.c else if (to_camss(ispif)->version == CAMSS_8x96) ispif 1134 drivers/media/platform/qcom/camss/camss-ispif.c ret = devm_request_irq(dev, ispif->irq, ispif_isr_8x96, ispif 1135 drivers/media/platform/qcom/camss/camss-ispif.c IRQF_TRIGGER_RISING, ispif->irq_name, ispif); ispif 1145 drivers/media/platform/qcom/camss/camss-ispif.c ispif->nclocks = 0; ispif 1146 drivers/media/platform/qcom/camss/camss-ispif.c while (res->clock[ispif->nclocks]) ispif 1147 drivers/media/platform/qcom/camss/camss-ispif.c ispif->nclocks++; ispif 1149 drivers/media/platform/qcom/camss/camss-ispif.c ispif->clock = devm_kcalloc(dev, ispif 1150 drivers/media/platform/qcom/camss/camss-ispif.c ispif->nclocks, sizeof(*ispif->clock), ispif 1152 drivers/media/platform/qcom/camss/camss-ispif.c if (!ispif->clock) ispif 1155 drivers/media/platform/qcom/camss/camss-ispif.c for (i = 0; i < ispif->nclocks; i++) { ispif 1156 drivers/media/platform/qcom/camss/camss-ispif.c struct camss_clock *clock = &ispif->clock[i]; ispif 1166 drivers/media/platform/qcom/camss/camss-ispif.c ispif->nclocks_for_reset = 0; ispif 1167 drivers/media/platform/qcom/camss/camss-ispif.c while (res->clock_for_reset[ispif->nclocks_for_reset]) ispif 1168 drivers/media/platform/qcom/camss/camss-ispif.c ispif->nclocks_for_reset++; ispif 1170 drivers/media/platform/qcom/camss/camss-ispif.c ispif->clock_for_reset = devm_kcalloc(dev, ispif 1171 drivers/media/platform/qcom/camss/camss-ispif.c ispif->nclocks_for_reset, ispif 1172 drivers/media/platform/qcom/camss/camss-ispif.c sizeof(*ispif->clock_for_reset), ispif 1174 drivers/media/platform/qcom/camss/camss-ispif.c if (!ispif->clock_for_reset) ispif 1177 drivers/media/platform/qcom/camss/camss-ispif.c for (i = 0; i < ispif->nclocks_for_reset; i++) { ispif 1178 drivers/media/platform/qcom/camss/camss-ispif.c struct camss_clock *clock = &ispif->clock_for_reset[i]; ispif 1188 drivers/media/platform/qcom/camss/camss-ispif.c mutex_init(&ispif->power_lock); ispif 1189 drivers/media/platform/qcom/camss/camss-ispif.c ispif->power_count = 0; ispif 1191 drivers/media/platform/qcom/camss/camss-ispif.c mutex_init(&ispif->config_lock); ispif 1193 drivers/media/platform/qcom/camss/camss-ispif.c init_completion(&ispif->reset_complete); ispif 1299 drivers/media/platform/qcom/camss/camss-ispif.c int msm_ispif_register_entities(struct ispif_device *ispif, ispif 1302 drivers/media/platform/qcom/camss/camss-ispif.c struct device *dev = to_device(ispif); ispif 1306 drivers/media/platform/qcom/camss/camss-ispif.c for (i = 0; i < ispif->line_num; i++) { ispif 1307 drivers/media/platform/qcom/camss/camss-ispif.c struct v4l2_subdev *sd = &ispif->line[i].subdev; ispif 1308 drivers/media/platform/qcom/camss/camss-ispif.c struct media_pad *pads = ispif->line[i].pads; ispif 1315 drivers/media/platform/qcom/camss/camss-ispif.c v4l2_set_subdevdata(sd, &ispif->line[i]); ispif 1347 drivers/media/platform/qcom/camss/camss-ispif.c struct v4l2_subdev *sd = &ispif->line[i].subdev; ispif 1360 drivers/media/platform/qcom/camss/camss-ispif.c void msm_ispif_unregister_entities(struct ispif_device *ispif) ispif 1364 drivers/media/platform/qcom/camss/camss-ispif.c mutex_destroy(&ispif->power_lock); ispif 1365 drivers/media/platform/qcom/camss/camss-ispif.c mutex_destroy(&ispif->config_lock); ispif 1367 drivers/media/platform/qcom/camss/camss-ispif.c for (i = 0; i < ispif->line_num; i++) { ispif 1368 drivers/media/platform/qcom/camss/camss-ispif.c struct v4l2_subdev *sd = &ispif->line[i].subdev; ispif 38 drivers/media/platform/qcom/camss/camss-ispif.h struct ispif_device *ispif; ispif 70 drivers/media/platform/qcom/camss/camss-ispif.h int msm_ispif_subdev_init(struct ispif_device *ispif, ispif 73 drivers/media/platform/qcom/camss/camss-ispif.h int msm_ispif_register_entities(struct ispif_device *ispif, ispif 76 drivers/media/platform/qcom/camss/camss-ispif.h void msm_ispif_unregister_entities(struct ispif_device *ispif); ispif 563 drivers/media/platform/qcom/camss/camss.c ret = msm_ispif_subdev_init(&camss->ispif, ispif_res); ispif 616 drivers/media/platform/qcom/camss/camss.c ret = msm_ispif_register_entities(&camss->ispif, &camss->v4l2_dev); ispif 654 drivers/media/platform/qcom/camss/camss.c for (j = 0; j < camss->ispif.line_num; j++) { ispif 658 drivers/media/platform/qcom/camss/camss.c &camss->ispif.line[j].subdev.entity, ispif 665 drivers/media/platform/qcom/camss/camss.c camss->ispif.line[j].subdev.entity.name, ispif 672 drivers/media/platform/qcom/camss/camss.c for (i = 0; i < camss->ispif.line_num; i++) ispif 676 drivers/media/platform/qcom/camss/camss.c &camss->ispif.line[i].subdev.entity, ispif 684 drivers/media/platform/qcom/camss/camss.c camss->ispif.line[i].subdev.entity.name, ispif 699 drivers/media/platform/qcom/camss/camss.c msm_ispif_unregister_entities(&camss->ispif); ispif 731 drivers/media/platform/qcom/camss/camss.c msm_ispif_unregister_entities(&camss->ispif); ispif 80 drivers/media/platform/qcom/camss/camss.h struct ispif_device ispif;