/linux-6.3-rc2/drivers/media/platform/ti/omap3isp/ |
A D | isphist.c | 36 isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_HIST, ISPHIST_ADDR); in hist_reset_mem() 123 isp_reg_writel(isp, cnt, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT); in hist_setup_regs() 124 isp_reg_writel(isp, wb_gain, OMAP3_ISP_IOMEM_HIST, ISPHIST_WB_GAIN); in hist_setup_regs() 125 isp_reg_writel(isp, reg_hor[0], OMAP3_ISP_IOMEM_HIST, ISPHIST_R0_HORZ); in hist_setup_regs() 126 isp_reg_writel(isp, reg_ver[0], OMAP3_ISP_IOMEM_HIST, ISPHIST_R0_VERT); in hist_setup_regs() 127 isp_reg_writel(isp, reg_hor[1], OMAP3_ISP_IOMEM_HIST, ISPHIST_R1_HORZ); in hist_setup_regs() 128 isp_reg_writel(isp, reg_ver[1], OMAP3_ISP_IOMEM_HIST, ISPHIST_R1_VERT); in hist_setup_regs() 129 isp_reg_writel(isp, reg_hor[2], OMAP3_ISP_IOMEM_HIST, ISPHIST_R2_HORZ); in hist_setup_regs() 130 isp_reg_writel(isp, reg_ver[2], OMAP3_ISP_IOMEM_HIST, ISPHIST_R2_VERT); in hist_setup_regs() 186 isp_reg_writel(hist->isp, 0, OMAP3_ISP_IOMEM_HIST, ISPHIST_ADDR); in hist_buf_dma() [all …]
|
A D | isppreview.c | 156 isp_reg_writel(isp, ISPPRV_YENH_TABLE_ADDR, in preview_config_luma_enhancement() 159 isp_reg_writel(isp, yt->table[i], in preview_config_luma_enhancement() 248 isp_reg_writel(isp, in preview_config_cfa() 253 isp_reg_writel(isp, ISPPRV_CFA_TABLE_ADDR, in preview_config_cfa() 275 isp_reg_writel(isp, in preview_config_chroma_suppression() 318 isp_reg_writel(isp, in preview_config_whitebalance() 434 isp_reg_writel(isp, in preview_config_yc_range() 452 isp_reg_writel(isp, dcor->detect_correct[0], in preview_config_dcor() 454 isp_reg_writel(isp, dcor->detect_correct[1], in preview_config_dcor() 523 isp_reg_writel(isp, ISPPRV_NF_TABLE_ADDR, in preview_config_noisefilter() [all …]
|
A D | isph3a_af.c | 41 isp_reg_writel(af->isp, af->active_buf->dma_addr, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 51 isp_reg_writel(af->isp, pax1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX1); in h3a_af_setup_regs() 60 isp_reg_writel(af->isp, pax2, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX2); in h3a_af_setup_regs() 67 isp_reg_writel(af->isp, paxstart, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 71 isp_reg_writel(af->isp, conf->iir.h_start, in h3a_af_setup_regs() 82 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 91 isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A, in h3a_af_setup_regs() 96 isp_reg_writel(af->isp, conf->iir.coeff_set0[10], in h3a_af_setup_regs() 99 isp_reg_writel(af->isp, conf->iir.coeff_set1[10], in h3a_af_setup_regs()
|
A D | ispcsi2.c | 74 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTRL); in csi2_recv_config() 224 isp_reg_writel(isp, ctx->ping_addr, in csi2_set_outaddr() 226 isp_reg_writel(isp, ctx->pong_addr, in csi2_set_outaddr() 340 isp_reg_writel(isp, reg, csi2->regs1, in csi2_ctx_config() 343 isp_reg_writel(isp, ctx->ping_addr, in csi2_ctx_config() 346 isp_reg_writel(isp, ctx->pong_addr, in csi2_ctx_config() 381 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_TIMING); in csi2_timing_config() 440 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_PHY_IRQSTATUS); in csi2_irq_complexio1_set() 464 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_IRQSTATUS); in csi2_irq_status_set() 470 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_IRQENABLE); in csi2_irq_status_set() [all …]
|
A D | ispccp2.c | 137 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() 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() 448 isp_reg_writel(isp, ISPCCP2_LCM_HSIZE_SKIP_MIN | in ccp2_mem_configure() 461 isp_reg_writel(isp, config->src_ofst, OMAP3_ISP_IOMEM_CCP2, in ccp2_mem_configure() 499 isp_reg_writel(isp, hwords << ISPCCP2_LCM_PREFETCH_SHIFT, in ccp2_mem_configure() 508 isp_reg_writel(isp, ISPCCP2_LCM_IRQSTATUS_OCPERROR_IRQ | in ccp2_mem_configure() 576 isp_reg_writel(isp, lcx_irqstatus, OMAP3_ISP_IOMEM_CCP2, in omap3isp_ccp2_isr() [all …]
|
A D | isp.h | 291 void isp_reg_writel(struct isp_device *isp, u32 reg_value, in isp_reg_writel() function 310 isp_reg_writel(isp, v & ~clr_bits, mmio_range, reg); in isp_reg_clr() 326 isp_reg_writel(isp, v | set_bits, mmio_range, reg); in isp_reg_set() 345 isp_reg_writel(isp, (v & ~clr_bits) | set_bits, mmio_range, reg); in isp_reg_clr_set()
|
A D | ispccdc.c | 199 isp_reg_writel(to_isp_device(ccdc), addr, in ccdc_lsc_program_table() 213 isp_reg_writel(isp, cfg->offset, OMAP3_ISP_IOMEM_CCDC, in ccdc_lsc_setup_regs() 227 isp_reg_writel(isp, reg, OMAP3_ISP_IOMEM_CCDC, in ccdc_lsc_setup_regs() 236 isp_reg_writel(isp, IRQ0STATUS_CCDC_LSC_PREF_COMP_IRQ, in ccdc_lsc_wait_prefetch() 243 isp_reg_writel(isp, IRQ0STATUS_CCDC_LSC_PREF_COMP_IRQ, in ccdc_lsc_wait_prefetch() 545 isp_reg_writel(isp, ccdc->clamp.dcsubval, in ccdc_configure_clamp() 567 isp_reg_writel(isp, ccdc->fpc.dma, OMAP3_ISP_IOMEM_CCDC, in ccdc_configure_fpc() 824 isp_reg_writel(isp, (0 << ISPCCDC_FMT_HORZ_FMTSPH_SHIFT) | in ccdc_config_vp() 827 isp_reg_writel(isp, (0 << ISPCCDC_FMT_VERT_FMTSLV_SHIFT) | in ccdc_config_vp() 891 isp_reg_writel(isp, bpl & 0xffff, OMAP3_ISP_IOMEM_CCDC, in ccdc_config_outlineoffset() [all …]
|
A D | isph3a_aewb.c | 37 isp_reg_writel(aewb->isp, aewb->active_buf->dma_addr, in h3a_aewb_setup_regs() 63 isp_reg_writel(aewb->isp, win1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AEWWIN1); in h3a_aewb_setup_regs() 64 isp_reg_writel(aewb->isp, start, OMAP3_ISP_IOMEM_H3A, in h3a_aewb_setup_regs() 66 isp_reg_writel(aewb->isp, blk, OMAP3_ISP_IOMEM_H3A, ISPH3A_AEWINBLK); in h3a_aewb_setup_regs() 67 isp_reg_writel(aewb->isp, subwin, OMAP3_ISP_IOMEM_H3A, in h3a_aewb_setup_regs()
|
A 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() 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() 474 isp_reg_writel(isp, addr, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_SDR_INADD); in __resizer_set_inaddr() [all …]
|
A D | ispcsiphy.c | 226 isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG0); in omap3isp_csiphy_config() 237 isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG1); in omap3isp_csiphy_config() 256 isp_reg_writel(phy->isp, reg, phy->cfg_regs, ISPCSI2_PHY_CFG); in omap3isp_csiphy_config()
|
A D | isp.c | 149 isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_MAIN, ISP_REVISION); in omap3isp_flush() 374 isp_reg_writel(isp, irq, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0STATUS); in isp_enable_interrupts() 375 isp_reg_writel(isp, irq, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0ENABLE); in isp_enable_interrupts() 384 isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0ENABLE); in isp_disable_interrupts() 401 isp_reg_writel(isp, in isp_core_init() 409 isp_reg_writel(isp, in isp_core_init() 465 isp_reg_writel(isp, ispctrl_val, OMAP3_ISP_IOMEM_MAIN, ISP_CTRL); in omap3isp_configure_bridge() 538 isp_reg_writel(isp, sbl_pcr, OMAP3_ISP_IOMEM_SBL, ISPSBL_PCR); in isp_isr_sbl() 602 isp_reg_writel(isp, irqstatus, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0STATUS); in isp_isr() 1036 isp_reg_writel(isp, in isp_reset() [all …]
|