/drivers/media/platform/omap3isp/ |
H A D | isphist.h | 27 int omap3isp_hist_init(struct isp_device *isp); 28 void omap3isp_hist_cleanup(struct isp_device *isp);
|
H A D | isp.c | 2 * isp.c 67 #include "isp.h" 81 static void isp_save_ctx(struct isp_device *isp); 83 static void isp_restore_ctx(struct isp_device *isp); 130 * @isp: OMAP3 ISP device 138 void omap3isp_flush(struct isp_device *isp) argument 140 isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_MAIN, ISP_REVISION); 141 isp_reg_readl(isp, OMAP3_ISP_IOMEM_MAIN, ISP_REVISION); 154 isp_reg_clr_set(xclk->isp, OMAP3_ISP_IOMEM_MAIN, ISP_TCTRL_CTRL, 159 isp_reg_clr_set(xclk->isp, OMAP3_ISP_IOMEM_MAI 279 isp_xclk_init(struct isp_device *isp) argument 330 isp_xclk_cleanup(struct isp_device *isp) argument 353 isp_enable_interrupts(struct isp_device *isp) argument 376 isp_disable_interrupts(struct isp_device *isp) argument 393 isp_core_init(struct isp_device *isp, int idle) argument 420 omap3isp_configure_bridge(struct isp_device *isp, enum ccdc_input_entity input, const struct isp_parallel_platform_data *pdata, unsigned int shift, unsigned int bridge) argument 462 omap3isp_hist_dma_done(struct isp_device *isp) argument 473 isp_isr_dbg(struct isp_device *isp, u32 irqstatus) argument 520 isp_isr_sbl(struct isp_device *isp) argument 591 struct isp_device *isp = _isp; local 858 struct isp_device *isp = pipe->output->isp; local 911 isp_pipeline_wait_resizer(struct isp_device *isp) argument 916 isp_pipeline_wait_preview(struct isp_device *isp) argument 921 isp_pipeline_wait_ccdc(struct isp_device *isp) argument 931 isp_pipeline_wait(struct isp_device *isp, int(*busy)(struct isp_device *isp)) argument 958 struct isp_device *isp = pipe->output->isp; local 1155 isp_suspend_modules(struct isp_device *isp) argument 1189 isp_resume_modules(struct isp_device *isp) argument 1205 isp_reset(struct isp_device *isp) argument 1234 isp_save_context(struct isp_device *isp, struct isp_reg *reg_list) argument 1249 isp_restore_context(struct isp_device *isp, struct isp_reg *reg_list) argument 1264 isp_save_ctx(struct isp_device *isp) argument 1277 isp_restore_ctx(struct isp_device *isp) argument 1298 omap3isp_sbl_enable(struct isp_device *isp, enum isp_sbl_resource res) argument 1325 omap3isp_sbl_disable(struct isp_device *isp, enum isp_sbl_resource res) argument 1439 __isp_subclk_update(struct isp_device *isp) argument 1467 omap3isp_subclk_enable(struct isp_device *isp, enum isp_subclk_resource res) argument 1475 omap3isp_subclk_disable(struct isp_device *isp, enum isp_subclk_resource res) argument 1490 isp_enable_clocks(struct isp_device *isp) argument 1534 isp_disable_clocks(struct isp_device *isp) argument 1548 isp_get_clocks(struct isp_device *isp) argument 1576 __omap3isp_get(struct isp_device *isp, bool irq) argument 1607 omap3isp_get(struct isp_device *isp) argument 1618 __omap3isp_put(struct isp_device *isp, bool save_ctx) argument 1641 omap3isp_put(struct isp_device *isp) argument 1661 omap3isp_print_status(struct isp_device *isp) argument 1708 struct isp_device *isp = dev_get_drvdata(dev); local 1727 struct isp_device *isp = dev_get_drvdata(dev); local 1739 struct isp_device *isp = dev_get_drvdata(dev); local 1749 struct isp_device *isp = dev_get_drvdata(dev); local 1768 isp_unregister_entities(struct isp_device *isp) argument 1795 isp_register_subdev_group(struct isp_device *isp, struct isp_subdev_i2c_board_info *board_info) argument 1832 isp_register_entities(struct isp_device *isp) argument 1973 isp_cleanup_modules(struct isp_device *isp) argument 1985 isp_initialize_modules(struct isp_device *isp) argument 2118 isp_detach_iommu(struct isp_device *isp) argument 2125 isp_attach_iommu(struct isp_device *isp) argument 2181 struct isp_device *isp = platform_get_drvdata(pdev); local 2194 isp_map_mem_resource(struct platform_device *pdev, struct isp_device *isp, enum isp_mem_resources res) argument 2228 struct isp_device *isp; local [all...] |
H A D | Makefile | 5 omap3-isp-objs += \ 6 isp.o ispvideo.o \ 11 obj-$(CONFIG_VIDEO_OMAP3) += omap3-isp.o
|
H A D | ispcsi2.c | 21 #include "isp.h" 30 static void csi2_if_enable(struct isp_device *isp, argument 35 isp_reg_clr_set(isp, csi2->regs1, ISPCSI2_CTRL, ISPCSI2_CTRL_IF_EN, 46 static void csi2_recv_config(struct isp_device *isp, argument 52 reg = isp_reg_readl(isp, csi2->regs1, ISPCSI2_CTRL); 77 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTRL); 97 * - 2 isp revisions (certain format must be handled differently on OMAP3630) 205 is_3630 = csi2->isp->revision == ISP_REVISION_15_0; 222 struct isp_device *isp = csi2->isp; local 250 csi2_ctx_enable(struct isp_device *isp, struct isp_csi2_device *csi2, u8 ctxnum, u8 enable) argument 282 csi2_ctx_config(struct isp_device *isp, struct isp_csi2_device *csi2, struct isp_csi2_ctx_cfg *ctx) argument 357 csi2_timing_config(struct isp_device *isp, struct isp_csi2_device *csi2, struct isp_csi2_timing_cfg *timing) argument 391 csi2_irq_ctx_set(struct isp_device *isp, struct isp_csi2_device *csi2, int enable) argument 412 csi2_irq_complexio1_set(struct isp_device *isp, struct isp_csi2_device *csi2, int enable) argument 455 csi2_irq_status_set(struct isp_device *isp, struct isp_csi2_device *csi2, int enable) argument 485 struct isp_device *isp = csi2->isp; local 552 struct isp_device *isp = csi2->isp; local 632 struct isp_device *isp = csi2->isp; local 674 struct isp_device *isp = csi2->isp; local 695 struct isp_device *isp = csi2->isp; local 736 struct isp_device *isp = csi2->isp; local 802 struct isp_device *isp = video->isp; local 1050 struct isp_device *isp = csi2->isp; local 1279 omap3isp_csi2_init(struct isp_device *isp) argument 1313 omap3isp_csi2_cleanup(struct isp_device *isp) argument [all...] |
H A D | isphist.c | 23 #include "isp.h" 38 struct isp_device *isp = hist->isp; local 42 isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_HIST, ISPHIST_ADDR); 48 isp_reg_set(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT, ISPHIST_CNT_CLEAR); 55 isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA); 56 isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA); 57 isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA); 58 isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA); 60 isp_reg_clr(isp, OMAP3_ISP_IOMEM_HIS 67 struct isp_device *isp = hist->isp; local 84 struct isp_device *isp = hist->isp; local 223 struct isp_device *isp = hist->isp; local 464 omap3isp_hist_init(struct isp_device *isp) argument 506 omap3isp_hist_cleanup(struct isp_device *isp) argument [all...] |
H A D | ispcsiphy.h | 26 struct isp_device *isp; member in struct:isp_csiphy 41 int omap3isp_csiphy_init(struct isp_device *isp);
|
H A D | isph3a.h | 101 int omap3isp_h3a_aewb_init(struct isp_device *isp); 102 int omap3isp_h3a_af_init(struct isp_device *isp); 104 void omap3isp_h3a_aewb_cleanup(struct isp_device *isp); 105 void omap3isp_h3a_af_cleanup(struct isp_device *isp);
|
H A D | isppreview.c | 23 #include "isp.h" 155 struct isp_device *isp = to_isp_device(prev); local 159 isp_reg_writel(isp, ISPPRV_YENH_TABLE_ADDR, 162 isp_reg_writel(isp, yt->table[i], 173 struct isp_device *isp = to_isp_device(prev); local 176 isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR, 179 isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR, 188 struct isp_device *isp = to_isp_device(prev); local 191 isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR, 194 isp_reg_clr(isp, OMAP3_ISP_IOMEM_PRE 204 struct isp_device *isp = to_isp_device(prev); local 218 struct isp_device *isp = to_isp_device(prev); local 247 struct isp_device *isp = to_isp_device(prev); local 275 struct isp_device *isp = to_isp_device(prev); local 290 struct isp_device *isp = to_isp_device(prev); local 309 struct isp_device *isp = to_isp_device(prev); local 348 struct isp_device *isp = to_isp_device(prev); local 364 struct isp_device *isp = to_isp_device(prev); local 402 struct isp_device *isp = to_isp_device(prev); local 434 struct isp_device *isp = to_isp_device(prev); local 452 struct isp_device *isp = to_isp_device(prev); local 473 struct isp_device *isp = to_isp_device(prev); local 489 struct isp_device *isp = to_isp_device(prev); local 504 struct isp_device *isp = to_isp_device(prev); local 521 struct isp_device *isp = to_isp_device(prev); local 540 struct isp_device *isp = to_isp_device(prev); local 557 struct isp_device *isp = to_isp_device(prev); local 589 struct isp_device *isp = to_isp_device(prev); local 608 struct isp_device *isp = to_isp_device(prev); local 622 struct isp_device *isp = to_isp_device(prev); local 971 struct isp_device *isp = to_isp_device(prev); local 996 struct isp_device *isp = to_isp_device(prev); local 1020 struct isp_device *isp = to_isp_device(prev); local 1074 struct isp_device *isp = to_isp_device(prev); local 1124 struct isp_device *isp = to_isp_device(prev); local 1138 struct isp_device *isp = to_isp_device(prev); local 1152 struct isp_device *isp = to_isp_device(prev); local 1166 struct isp_device *isp = to_isp_device(prev); local 1174 struct isp_device *isp = to_isp_device(prev); local 1226 struct isp_device *isp = to_isp_device(prev); local 1235 omap3isp_preview_restore_context(struct isp_device *isp) argument 1258 struct isp_device *isp = to_isp_device(prev); local 1372 struct isp_device *isp = to_isp_device(prev); local 1389 struct isp_device *isp = to_isp_device(prev); local 1454 struct isp_device *isp = to_isp_device(prev); local 1641 struct isp_device *isp = to_isp_device(prev); local 2347 omap3isp_preview_init(struct isp_device *isp) argument 2358 omap3isp_preview_cleanup(struct isp_device *isp) argument [all...] |
H A D | ispccp2.c | 25 #include "isp.h" 67 #define CCP2_PRINT_REGISTER(isp, name)\ 68 dev_dbg(isp->dev, "###CCP2 " #name "=0x%08x\n", \ 69 isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_##name)) 73 struct isp_device *isp = to_isp_device(ccp2); local 75 dev_dbg(isp->dev, "-------------CCP2 Register dump-------------\n"); 77 CCP2_PRINT_REGISTER(isp, SYSCONFIG); 78 CCP2_PRINT_REGISTER(isp, SYSSTATUS); 79 CCP2_PRINT_REGISTER(isp, LC01_IRQENABLE); 80 CCP2_PRINT_REGISTER(isp, LC01_IRQSTATU 115 struct isp_device *isp = to_isp_device(ccp2); local 138 struct isp_device *isp = to_isp_device(ccp2); local 153 struct isp_device *isp = to_isp_device(ccp2); local 187 struct isp_device *isp = to_isp_device(ccp2); local 213 struct isp_device *isp = to_isp_device(ccp2); local 255 struct isp_device *isp = to_isp_device(ccp2); local 288 struct isp_device *isp = to_isp_device(ccp2); local 386 struct isp_device *isp = to_isp_device(ccp2); local 434 struct isp_device *isp = to_isp_device(ccp2); local 526 struct isp_device *isp = to_isp_device(ccp2); local 562 struct isp_device *isp = to_isp_device(ccp2); local 828 struct isp_device *isp = to_isp_device(ccp2); local 1122 omap3isp_ccp2_init(struct isp_device *isp) argument 1163 omap3isp_ccp2_cleanup(struct isp_device *isp) argument [all...] |
H A D | isp.h | 2 * isp.h 123 struct isp_device *isp; member in struct:isp_xclk 217 void omap3isp_hist_dma_done(struct isp_device *isp); 219 void omap3isp_flush(struct isp_device *isp); 230 void omap3isp_configure_bridge(struct isp_device *isp, 235 struct isp_device *omap3isp_get(struct isp_device *isp); 236 void omap3isp_put(struct isp_device *isp); 238 void omap3isp_print_status(struct isp_device *isp); 240 void omap3isp_sbl_enable(struct isp_device *isp, enum isp_sbl_resource res); 241 void omap3isp_sbl_disable(struct isp_device *isp, enu 263 isp_reg_readl(struct isp_device *isp, enum isp_mem_resources isp_mmio_range, u32 reg_offset) argument 277 isp_reg_writel(struct isp_device *isp, u32 reg_value, enum isp_mem_resources isp_mmio_range, u32 reg_offset) argument 291 isp_reg_clr(struct isp_device *isp, enum isp_mem_resources mmio_range, u32 reg, u32 clr_bits) argument 307 isp_reg_set(struct isp_device *isp, enum isp_mem_resources mmio_range, u32 reg, u32 set_bits) argument 326 isp_reg_clr_set(struct isp_device *isp, enum isp_mem_resources mmio_range, u32 reg, u32 clr_bits, u32 set_bits) argument [all...] |
H A D | ispcsiphy.c | 21 #include "isp.h" 30 phy->isp, OMAP3_ISP_IOMEM_3630_CONTROL_CAMERA_PHY_CTRL, 0); 66 isp_reg_writel(phy->isp, reg, 81 isp_reg_writel(phy->isp, 0, 89 isp_reg_writel(phy->isp, csirxfe, 109 if (phy->isp->mmio_base[OMAP3_ISP_IOMEM_3630_CONTROL_CAMERA_PHY_CTRL] 112 if (phy->isp->mmio_base[OMAP3_ISP_IOMEM_343X_CONTROL_CSIRXFE]) 122 isp_reg_clr_set(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG, 138 isp_reg_clr_set(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG, 144 reg = isp_reg_readl(phy->isp, ph 321 omap3isp_csiphy_init(struct isp_device *isp) argument [all...] |
H A D | isph3a_af.c | 22 #include "isp.h" 44 isp_reg_writel(af->isp, af->active_buf->dma_addr, OMAP3_ISP_IOMEM_H3A, 54 isp_reg_writel(af->isp, pax1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX1); 63 isp_reg_writel(af->isp, pax2, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX2); 70 isp_reg_writel(af->isp, paxstart, OMAP3_ISP_IOMEM_H3A, 74 isp_reg_writel(af->isp, conf->iir.h_start, 85 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, 94 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, 99 isp_reg_writel(af->isp, conf->iir.coeff_set0[10], 102 isp_reg_writel(af->isp, con 351 omap3isp_h3a_af_init(struct isp_device *isp) argument 394 omap3isp_h3a_af_cleanup(struct isp_device *isp) argument [all...] |
H A D | isph3a_aewb.c | 21 #include "isp.h" 40 isp_reg_writel(aewb->isp, aewb->active_buf->dma_addr, 66 isp_reg_writel(aewb->isp, win1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AEWWIN1); 67 isp_reg_writel(aewb->isp, start, OMAP3_ISP_IOMEM_H3A, 69 isp_reg_writel(aewb->isp, blk, OMAP3_ISP_IOMEM_H3A, ISPH3A_AEWINBLK); 70 isp_reg_writel(aewb->isp, subwin, OMAP3_ISP_IOMEM_H3A, 72 isp_reg_clr_set(aewb->isp, OMAP3_ISP_IOMEM_H3A, ISPH3A_PCR, 84 isp_reg_set(aewb->isp, OMAP3_ISP_IOMEM_H3A, ISPH3A_PCR, 86 omap3isp_subclk_enable(aewb->isp, OMAP3_ISP_SUBCLK_AEWB); 88 isp_reg_clr(aewb->isp, OMAP3_ISP_IOMEM_H3 288 omap3isp_h3a_aewb_init(struct isp_device *isp) argument 339 omap3isp_h3a_aewb_cleanup(struct isp_device *isp) argument [all...] |
H A D | ispresizer.c | 21 #include "isp.h" 155 struct isp_device *isp = to_isp_device(res); local 167 isp_reg_writel(isp, tmp_h, OMAP3_ISP_IOMEM_RESZ, startaddr_h); 168 isp_reg_writel(isp, tmp_v, OMAP3_ISP_IOMEM_RESZ, startaddr_v); 186 struct isp_device *isp = to_isp_device(res); local 189 isp_reg_set(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT, 192 isp_reg_clr(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT, 204 struct isp_device *isp = to_isp_device(res); local 208 isp_reg_set(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT, 212 isp_reg_clr(isp, OMAP3_ISP_IOMEM_RES 231 struct isp_device *isp = to_isp_device(res); local 267 struct isp_device *isp = to_isp_device(res); local 293 struct isp_device *isp = to_isp_device(res); local 313 struct isp_device *isp = to_isp_device(res); local 357 struct isp_device *isp = to_isp_device(res); local 378 struct isp_device *isp = to_isp_device(res); local 400 struct isp_device *isp = to_isp_device(res); local 420 struct isp_device *isp = to_isp_device(res); local 442 struct isp_device *isp = to_isp_device(res); local 455 struct isp_device *isp = to_isp_device(res); local 473 struct isp_device *isp = to_isp_device(res); local 546 struct isp_device *isp = to_isp_device(res); local 613 struct isp_device *isp = to_isp_device(res); local 642 struct isp_device *isp = to_isp_device(res); local 661 struct isp_device *isp = to_isp_device(res); local 786 struct isp_device *isp = to_isp_device(res); local 995 struct isp_device *isp = to_isp_device(res); local 1138 struct isp_device *isp = to_isp_device(res); local 1284 struct isp_device *isp = to_isp_device(res); local 1357 struct isp_device *isp = to_isp_device(res); local 1786 omap3isp_resizer_init(struct isp_device *isp) argument 1797 omap3isp_resizer_cleanup(struct isp_device *isp) argument [all...] |
H A D | ispstat.c | 22 #include "isp.h" 58 #define IS_H3A_AF(stat) ((stat) == &(stat)->isp->isp_af) 59 #define IS_H3A_AEWB(stat) ((stat) == &(stat)->isp->isp_aewb) 70 dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir); 71 dma_sync(stat->isp->dev, buf->dma_addr + (buf_size & PAGE_MASK), 116 dev_dbg(stat->isp->dev, "%s: beginning magic check does not " 125 dev_dbg(stat->isp->dev, "%s: ending magic check does " 164 dma_sync_sg_for_device(stat->isp->dev, buf->sgt.sgl, 174 dma_sync_sg_for_cpu(stat->isp->dev, buf->sgt.sgl, 242 dev_dbg(stat->isp [all...] |
H A D | ispccdc.c | 27 #include "isp.h" 64 #define CCDC_PRINT_REGISTER(isp, name)\ 65 dev_dbg(isp->dev, "###CCDC " #name "=0x%08x\n", \ 66 isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_##name)) 70 struct isp_device *isp = to_isp_device(ccdc); local 72 dev_dbg(isp->dev, "-------------CCDC Register dump-------------\n"); 74 CCDC_PRINT_REGISTER(isp, PCR); 75 CCDC_PRINT_REGISTER(isp, SYN_MODE); 76 CCDC_PRINT_REGISTER(isp, HD_VD_WID); 77 CCDC_PRINT_REGISTER(isp, PIX_LINE 117 struct isp_device *isp = to_isp_device(ccdc); local 137 struct isp_device *isp = to_isp_device(ccdc); local 212 struct isp_device *isp = to_isp_device(ccdc); local 235 struct isp_device *isp = to_isp_device(ccdc); local 264 struct isp_device *isp = to_isp_device(ccdc); local 299 struct isp_device *isp = to_isp_device(ccdc); local 338 struct isp_device *isp = to_isp_device(ccdc); local 356 struct isp_device *isp = to_isp_device(ccdc); local 407 struct isp_device *isp = to_isp_device(ccdc); local 537 struct isp_device *isp = to_isp_device(ccdc); local 562 struct isp_device *isp = to_isp_device(ccdc); local 584 struct isp_device *isp = to_isp_device(ccdc); local 601 struct isp_device *isp = to_isp_device(ccdc); local 614 struct isp_device *isp = to_isp_device(ccdc); local 651 struct isp_device *isp = to_isp_device(ccdc); local 668 struct isp_device *isp = to_isp_device(ccdc); local 785 omap3isp_ccdc_restore_context(struct isp_device *isp) argument 808 struct isp_device *isp = to_isp_device(ccdc); local 890 struct isp_device *isp = to_isp_device(ccdc); local 925 struct isp_device *isp = to_isp_device(ccdc); local 968 struct isp_device *isp = to_isp_device(ccdc); local 1117 struct isp_device *isp = to_isp_device(ccdc); local 1319 struct isp_device *isp = to_isp_device(ccdc); local 1382 struct isp_device *isp = to_isp_device(ccdc); local 1543 struct isp_device *isp = to_isp_device(ccdc); local 1587 struct isp_device *isp = to_isp_device(ccdc); local 1889 struct isp_device *isp = to_isp_device(ccdc); local 2517 struct isp_device *isp = to_isp_device(ccdc); local 2694 omap3isp_ccdc_init(struct isp_device *isp) argument 2729 omap3isp_ccdc_cleanup(struct isp_device *isp) argument [all...] |
H A D | ispccdc.h | 165 int omap3isp_ccdc_init(struct isp_device *isp); 166 void omap3isp_ccdc_cleanup(struct isp_device *isp); 173 void omap3isp_ccdc_restore_context(struct isp_device *isp);
|
H A D | isppreview.h | 150 int omap3isp_preview_init(struct isp_device *isp); 151 void omap3isp_preview_cleanup(struct isp_device *isp); 162 void omap3isp_preview_restore_context(struct isp_device *isp);
|
/drivers/power/ |
H A D | isp1704_charger.c | 73 static inline int isp1704_read(struct isp1704_charger *isp, u32 reg) argument 75 return usb_phy_io_read(isp->phy, reg); 78 static inline int isp1704_write(struct isp1704_charger *isp, u32 val, u32 reg) argument 80 return usb_phy_io_write(isp->phy, val, reg); 87 static void isp1704_charger_set_power(struct isp1704_charger *isp, bool on) argument 89 struct isp1704_charger_data *board = isp->dev->platform_data; 104 static inline int isp1704_charger_type(struct isp1704_charger *isp) argument 111 func_ctrl = isp1704_read(isp, ULPI_FUNC_CTRL); 112 otg_ctrl = isp1704_read(isp, ULPI_OTG_CTRL); 116 isp1704_write(isp, ULPI_CL 144 isp1704_charger_verify(struct isp1704_charger *isp) argument 201 isp1704_charger_detect(struct isp1704_charger *isp) argument 235 isp1704_charger_detect_dcp(struct isp1704_charger *isp) argument 246 struct isp1704_charger *isp = local 317 struct isp1704_charger *isp = local 329 struct isp1704_charger *isp = local 362 isp1704_test_ulpi(struct isp1704_charger *isp) argument 404 struct isp1704_charger *isp; local 512 struct isp1704_charger *isp = platform_get_drvdata(pdev); local [all...] |
/drivers/usb/phy/ |
H A D | phy-isp1301-omap.c | 111 static void enable_vbus_draw(struct isp1301 *isp, unsigned mA) argument 120 static void enable_vbus_draw(struct isp1301 *isp, unsigned mA) argument 130 static void enable_vbus_source(struct isp1301 *isp) argument 139 static inline void notresponding(struct isp1301 *isp) argument 152 isp1301_get_u8(struct isp1301 *isp, u8 reg) argument 154 return i2c_smbus_read_byte_data(isp->client, reg + 0); 158 isp1301_get_u16(struct isp1301 *isp, u8 reg) argument 160 return i2c_smbus_read_word_data(isp->client, reg); 164 isp1301_set_bits(struct isp1301 *isp, u8 reg, u8 bits) argument 166 return i2c_smbus_write_byte_data(isp 170 isp1301_clear_bits(struct isp1301 *isp, u8 reg, u8 bits) argument 235 state_name(struct isp1301 *isp) argument 250 power_down(struct isp1301 *isp) argument 261 power_up(struct isp1301 *isp) argument 274 host_suspend(struct isp1301 *isp) argument 292 host_resume(struct isp1301 *isp) argument 307 gadget_suspend(struct isp1301 *isp) argument 324 isp1301_defer_work(struct isp1301 *isp, int work) argument 338 a_idle(struct isp1301 *isp, const char *tag) argument 362 b_idle(struct isp1301 *isp, const char *tag) argument 386 dump_regs(struct isp1301 *isp, const char *label) argument 412 check_state(struct isp1301 *isp, const char *tag) argument 486 check_state(struct isp1301 *isp, const char *tag) argument 491 update_otg1(struct isp1301 *isp, u8 int_src) argument 526 update_otg2(struct isp1301 *isp, u8 otg_status) argument 541 otg_update_isp(struct isp1301 *isp) argument 658 struct isp1301 *isp = _isp; local 823 isp1301_otg_init(struct isp1301 *isp) argument 886 otg_bind(struct isp1301 *isp) argument 908 otg_unbind(struct isp1301 *isp) argument 923 b_peripheral(struct isp1301 *isp) argument 946 isp_update_otg(struct isp1301 *isp, u8 stat) argument 1092 isp1301_clear_latch(struct isp1301 *isp) argument 1102 struct isp1301 *isp = container_of(work, struct isp1301, work); local 1181 isp1301_irq(int irq, void *isp) argument 1196 struct isp1301 *isp; local 1213 struct isp1301 *isp; local 1254 isp1301_otg_enable(struct isp1301 *isp) argument 1278 struct isp1301 *isp = container_of(otg->phy, struct isp1301, phy); local 1334 struct isp1301 *isp = container_of(otg->phy, struct isp1301, phy); local 1414 struct isp1301 *isp = container_of(otg->phy, struct isp1301, phy); local 1441 struct isp1301 *isp = container_of(otg->phy, struct isp1301, phy); local 1495 struct isp1301 *isp; local [all...] |
H A D | phy-isp1301.c | 37 static int __isp1301_write(struct isp1301 *isp, u8 reg, u8 value, u8 clear) argument 39 return i2c_smbus_write_byte_data(isp->client, reg | clear, value); 42 static int isp1301_write(struct isp1301 *isp, u8 reg, u8 value) argument 44 return __isp1301_write(isp, reg, value, 0); 47 static int isp1301_clear(struct isp1301 *isp, u8 reg, u8 value) argument 49 return __isp1301_write(isp, reg, value, ISP1301_I2C_REG_CLEAR_ADDR); 54 struct isp1301 *isp = phy_to_isp(phy); local 57 isp1301_clear(isp, ISP1301_I2C_MODE_CONTROL_1, MC1_UART_EN); 58 isp1301_clear(isp, ISP1301_I2C_MODE_CONTROL_1, ~MC1_SPEED_REG); 59 isp1301_write(isp, ISP1301_I2C_MODE_CONTROL_ 81 struct isp1301 *isp = phy_to_isp(phy); local 94 struct isp1301 *isp; local 121 struct isp1301 *isp = i2c_get_clientdata(client); local [all...] |
/drivers/media/platform/exynos4-is/ |
H A D | fimc-isp-video.h | 15 #include "fimc-isp.h" 18 int fimc_isp_video_device_register(struct fimc_isp *isp, 22 void fimc_isp_video_device_unregister(struct fimc_isp *isp, 31 static inline int fimc_isp_video_device_register(struct fimc_isp *isp, argument 38 void fimc_isp_video_device_unregister(struct fimc_isp *isp, argument
|
H A D | fimc-is-param.c | 66 __hw_param_copy(&par->isp.control, &cfg->isp.control); 70 __hw_param_copy(&par->isp.otf_input, &cfg->isp.otf_input); 74 __hw_param_copy(&par->isp.dma1_input, &cfg->isp.dma1_input); 78 __hw_param_copy(&par->isp.dma2_input, &cfg->isp.dma2_input); 82 __hw_param_copy(&par->isp.aa, &cfg->isp 212 struct isp_param *isp; local 222 struct isp_param *isp; local 270 struct isp_param *isp; local 292 struct isp_param *isp; local 314 struct isp_param *isp = &is->config[index].isp; local 326 struct isp_param *isp; local 340 struct isp_param *isp; local 353 struct isp_param *isp; local 368 struct isp_param *isp; local 414 struct isp_param *isp; local 449 struct isp_param *isp; local 670 struct isp_param *isp; local [all...] |
H A D | fimc-isp-video.c | 38 #include "fimc-isp-video.h" 46 struct fimc_isp *isp = vb2_get_drv_priv(vq); local 47 struct v4l2_pix_format_mplane *vid_fmt = &isp->video_capture.pixfmt; 57 fmt = isp->video_capture.format; 74 allocators[i] = isp->alloc_ctx; 82 return &__get_curr_is_config(is)->isp.dma2_output; 88 struct fimc_isp *isp = vb2_get_drv_priv(q); local 89 struct fimc_is *is = fimc_isp_to_is(isp); 91 struct fimc_is_video *video = &isp->video_capture; 94 if (!test_bit(ST_ISP_VID_CAP_BUF_PREP, &isp 130 struct fimc_isp *isp = vb2_get_drv_priv(q); local 162 struct fimc_isp *isp = vb2_get_drv_priv(vb->vb2_queue); local 197 struct fimc_isp *isp = vb2_get_drv_priv(vb->vb2_queue); local 274 struct fimc_isp *isp = video_drvdata(file); local 312 struct fimc_isp *isp = video_drvdata(file); local 355 struct fimc_isp *isp = video_drvdata(file); local 382 struct fimc_isp *isp = video_drvdata(file); local 388 __isp_video_try_fmt(struct fimc_isp *isp, struct v4l2_pix_format_mplane *pixm, const struct fimc_fmt **fmt) argument 411 struct fimc_isp *isp = video_drvdata(file); local 420 struct fimc_isp *isp = video_drvdata(file); local 450 isp_video_pipeline_validate(struct fimc_isp *isp) argument 493 struct fimc_isp *isp = video_drvdata(file); local 520 struct fimc_isp *isp = video_drvdata(file); local 536 struct fimc_isp *isp = video_drvdata(file); local 569 fimc_isp_video_device_register(struct fimc_isp *isp, struct v4l2_device *v4l2_dev, enum v4l2_buf_type type) argument 639 fimc_isp_video_device_unregister(struct fimc_isp *isp, enum v4l2_buf_type type) argument [all...] |
H A D | fimc-isp.c | 28 #include "fimc-isp-video.h" 131 struct fimc_isp *isp = v4l2_get_subdevdata(sd); local 141 mutex_lock(&isp->subdev_lock); 145 *mf = isp->sink_fmt; 148 *mf = isp->src_fmt; 156 mutex_unlock(&isp->subdev_lock); 164 static void __isp_subdev_try_format(struct fimc_isp *isp, argument 184 format = &isp->sink_fmt; 203 struct fimc_isp *isp = v4l2_get_subdevdata(sd); local 204 struct fimc_is *is = fimc_isp_to_is(isp); 257 struct fimc_isp *isp = v4l2_get_subdevdata(sd); local 306 struct fimc_isp *isp = v4l2_get_subdevdata(sd); local 394 struct fimc_isp *isp = v4l2_get_subdevdata(sd); local 410 struct fimc_isp *isp = v4l2_get_subdevdata(sd); local 476 struct isp_param *isp = &is->is_p_region->parameter.isp; local 593 struct fimc_isp *isp = ctrl_to_fimc_isp(ctrl); local 675 __isp_subdev_set_default_format(struct fimc_isp *isp) argument 691 fimc_isp_subdev_create(struct fimc_isp *isp) argument 778 fimc_isp_subdev_destroy(struct fimc_isp *isp) argument [all...] |