/drivers/media/platform/omap3isp/ |
D | isphist.c | 40 isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_HIST, ISPHIST_ADDR); in hist_reset_mem() 127 isp_reg_writel(isp, cnt, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT); in hist_setup_regs() 128 isp_reg_writel(isp, wb_gain, OMAP3_ISP_IOMEM_HIST, ISPHIST_WB_GAIN); in hist_setup_regs() 129 isp_reg_writel(isp, reg_hor[0], OMAP3_ISP_IOMEM_HIST, ISPHIST_R0_HORZ); in hist_setup_regs() 130 isp_reg_writel(isp, reg_ver[0], OMAP3_ISP_IOMEM_HIST, ISPHIST_R0_VERT); in hist_setup_regs() 131 isp_reg_writel(isp, reg_hor[1], OMAP3_ISP_IOMEM_HIST, ISPHIST_R1_HORZ); in hist_setup_regs() 132 isp_reg_writel(isp, reg_ver[1], OMAP3_ISP_IOMEM_HIST, ISPHIST_R1_VERT); in hist_setup_regs() 133 isp_reg_writel(isp, reg_hor[2], OMAP3_ISP_IOMEM_HIST, ISPHIST_R2_HORZ); in hist_setup_regs() 134 isp_reg_writel(isp, reg_ver[2], OMAP3_ISP_IOMEM_HIST, ISPHIST_R2_VERT); in hist_setup_regs() 135 isp_reg_writel(isp, reg_hor[3], OMAP3_ISP_IOMEM_HIST, ISPHIST_R3_HORZ); in hist_setup_regs() [all …]
|
D | isppreview.c | 159 isp_reg_writel(isp, ISPPRV_YENH_TABLE_ADDR, in preview_config_luma_enhancement() 162 isp_reg_writel(isp, yt->table[i], in preview_config_luma_enhancement() 207 isp_reg_writel(isp, (hmed->odddist == 1 ? 0 : ISPPRV_HMED_ODDDIST) | in preview_config_hmed() 251 isp_reg_writel(isp, in preview_config_cfa() 256 isp_reg_writel(isp, ISPPRV_CFA_TABLE_ADDR, in preview_config_cfa() 263 isp_reg_writel(isp, block[j], OMAP3_ISP_IOMEM_PREV, in preview_config_cfa() 278 isp_reg_writel(isp, in preview_config_chroma_suppression() 313 isp_reg_writel(isp, wbal->dgain, OMAP3_ISP_IOMEM_PREV, ISPPRV_WB_DGAIN); in preview_config_whitebalance() 319 isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_WBGAIN); in preview_config_whitebalance() 321 isp_reg_writel(isp, in preview_config_whitebalance() [all …]
|
D | isph3a_af.c | 44 isp_reg_writel(af->isp, af->active_buf->dma_addr, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 54 isp_reg_writel(af->isp, pax1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX1); in h3a_af_setup_regs() 63 isp_reg_writel(af->isp, pax2, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX2); in h3a_af_setup_regs() 70 isp_reg_writel(af->isp, paxstart, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 74 isp_reg_writel(af->isp, conf->iir.h_start, in h3a_af_setup_regs() 85 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 94 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 99 isp_reg_writel(af->isp, conf->iir.coeff_set0[10], in h3a_af_setup_regs() 102 isp_reg_writel(af->isp, conf->iir.coeff_set1[10], in h3a_af_setup_regs()
|
D | ispcsi2.c | 77 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTRL); in csi2_recv_config() 227 isp_reg_writel(isp, ctx->ping_addr, in csi2_set_outaddr() 229 isp_reg_writel(isp, ctx->pong_addr, in csi2_set_outaddr() 273 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTX_CTRL1(ctxnum)); in csi2_ctx_enable() 306 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTX_CTRL1(ctx->ctxnum)); in csi2_ctx_config() 329 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTX_CTRL2(ctx->ctxnum)); in csi2_ctx_config() 336 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTX_CTRL3(ctx->ctxnum)); in csi2_ctx_config() 343 isp_reg_writel(isp, reg, csi2->regs1, in csi2_ctx_config() 346 isp_reg_writel(isp, ctx->ping_addr, in csi2_ctx_config() 349 isp_reg_writel(isp, ctx->pong_addr, in csi2_ctx_config() [all …]
|
D | ispccp2.c | 140 isp_reg_writel(isp, ISPCCP2_SYSCONFIG_MSTANDBY_MODE_SMART | in ccp2_pwr_cfg() 224 isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_CTRL); in ccp2_phyif_config() 273 isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_CTRL); in ccp2_vp_config() 320 isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_LCx_CTRL(0)); in ccp2_lcx_config() 323 isp_reg_writel(isp, config->data_start << ISPCCP2_LCx_DAT_SHIFT, in ccp2_lcx_config() 327 isp_reg_writel(isp, config->data_size << ISPCCP2_LCx_DAT_SHIFT, in ccp2_lcx_config() 338 isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_LC01_IRQSTATUS); in ccp2_lcx_config() 447 isp_reg_writel(isp, ISPCCP2_LCM_HSIZE_SKIP_MIN | in ccp2_mem_configure() 452 isp_reg_writel(isp, config->vsize_count << ISPCCP2_LCM_VSIZE_SHIFT, in ccp2_mem_configure() 460 isp_reg_writel(isp, config->src_ofst, OMAP3_ISP_IOMEM_CCP2, in ccp2_mem_configure() [all …]
|
D | ispccdc.c | 201 isp_reg_writel(to_isp_device(ccdc), addr, in ccdc_lsc_program_table() 215 isp_reg_writel(isp, cfg->offset, OMAP3_ISP_IOMEM_CCDC, in ccdc_lsc_setup_regs() 222 isp_reg_writel(isp, reg, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_LSC_CONFIG); in ccdc_lsc_setup_regs() 229 isp_reg_writel(isp, reg, OMAP3_ISP_IOMEM_CCDC, in ccdc_lsc_setup_regs() 238 isp_reg_writel(isp, IRQ0STATUS_CCDC_LSC_PREF_COMP_IRQ, in ccdc_lsc_wait_prefetch() 245 isp_reg_writel(isp, IRQ0STATUS_CCDC_LSC_PREF_COMP_IRQ, in ccdc_lsc_wait_prefetch() 545 isp_reg_writel(isp, clamp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_CLAMP); in ccdc_configure_clamp() 547 isp_reg_writel(isp, ccdc->clamp.dcsubval, in ccdc_configure_clamp() 569 isp_reg_writel(isp, ccdc->fpc.dma, OMAP3_ISP_IOMEM_CCDC, in ccdc_configure_fpc() 572 isp_reg_writel(isp, (ccdc->fpc.fpnum << ISPCCDC_FPC_FPNUM_SHIFT), in ccdc_configure_fpc() [all …]
|
D | isp.h | 297 void isp_reg_writel(struct isp_device *isp, u32 reg_value, in isp_reg_writel() function 316 isp_reg_writel(isp, v & ~clr_bits, mmio_range, reg); in isp_reg_clr() 332 isp_reg_writel(isp, v | set_bits, mmio_range, reg); in isp_reg_set() 351 isp_reg_writel(isp, (v & ~clr_bits) | set_bits, mmio_range, reg); in isp_reg_clr_set()
|
D | isph3a_aewb.c | 40 isp_reg_writel(aewb->isp, aewb->active_buf->dma_addr, in h3a_aewb_setup_regs() 66 isp_reg_writel(aewb->isp, win1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AEWWIN1); in h3a_aewb_setup_regs() 67 isp_reg_writel(aewb->isp, start, OMAP3_ISP_IOMEM_H3A, in h3a_aewb_setup_regs() 69 isp_reg_writel(aewb->isp, blk, OMAP3_ISP_IOMEM_H3A, ISPH3A_AEWINBLK); in h3a_aewb_setup_regs() 70 isp_reg_writel(aewb->isp, subwin, OMAP3_ISP_IOMEM_H3A, in h3a_aewb_setup_regs()
|
D | ispresizer.c | 167 isp_reg_writel(isp, tmp_h, OMAP3_ISP_IOMEM_RESZ, startaddr_h); in resizer_set_filters() 168 isp_reg_writel(isp, tmp_v, OMAP3_ISP_IOMEM_RESZ, startaddr_v); in resizer_set_filters() 238 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT); in resizer_set_phase() 278 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_YENH); in resizer_set_luma() 322 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT); in resizer_set_ratio() 363 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_OUT_SIZE); in resizer_set_output_size() 379 isp_reg_writel(isp, offset, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_SDR_OUTOFF); in resizer_set_output_offset() 407 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_IN_START); in resizer_set_start() 427 isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_IN_SIZE); in resizer_set_input_size() 443 isp_reg_writel(isp, offset, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_SDR_INOFF); in resizer_set_input_offset() [all …]
|
D | ispcsiphy.c | 230 isp_reg_writel(csi2->isp, reg, phy->phy_regs, ISPCSIPHY_REG0); in omap3isp_csiphy_config() 241 isp_reg_writel(csi2->isp, reg, phy->phy_regs, ISPCSIPHY_REG1); in omap3isp_csiphy_config() 260 isp_reg_writel(csi2->isp, reg, phy->cfg_regs, ISPCSI2_PHY_CFG); in omap3isp_csiphy_config()
|
D | isp.c | 150 isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_MAIN, ISP_REVISION); in omap3isp_flush() 382 isp_reg_writel(isp, irq, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0STATUS); in isp_enable_interrupts() 383 isp_reg_writel(isp, irq, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0ENABLE); in isp_enable_interrupts() 392 isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0ENABLE); in isp_disable_interrupts() 409 isp_reg_writel(isp, in isp_core_init() 417 isp_reg_writel(isp, in isp_core_init() 473 isp_reg_writel(isp, ispctrl_val, OMAP3_ISP_IOMEM_MAIN, ISP_CTRL); in omap3isp_configure_bridge() 545 isp_reg_writel(isp, sbl_pcr, OMAP3_ISP_IOMEM_SBL, ISPSBL_PCR); in isp_isr_sbl() 609 isp_reg_writel(isp, irqstatus, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0STATUS); in isp_isr() 1231 isp_reg_writel(isp, in isp_reset() [all …]
|