Lines Matching refs:ipu_cm_read
29 static inline u32 ipu_cm_read(struct ipu_soc *ipu, unsigned offset) in ipu_cm_read() function
49 val = ipu_cm_read(ipu, IPU_SRM_PRI2); in ipu_srm_dp_update()
280 reg = ipu_cm_read(ipu, IPU_CHA_DB_MODE_SEL(channel->num)); in ipu_idmac_set_double_buffer()
377 val = ipu_cm_read(ipu, IPU_DISP_GEN); in ipu_module_enable()
386 val = ipu_cm_read(ipu, IPU_CONF); in ipu_module_enable()
403 val = ipu_cm_read(ipu, IPU_CONF); in ipu_module_disable()
407 val = ipu_cm_read(ipu, IPU_DISP_GEN); in ipu_module_disable()
427 return (ipu_cm_read(ipu, IPU_CHA_CUR_BUF(chno)) & idma_mask(chno)) ? 1 : 0; in ipu_idmac_get_current_buffer()
440 reg = ipu_cm_read(ipu, IPU_CHA_BUF0_RDY(channel->num)); in ipu_idmac_buffer_is_ready()
443 reg = ipu_cm_read(ipu, IPU_CHA_BUF1_RDY(channel->num)); in ipu_idmac_buffer_is_ready()
446 reg = ipu_cm_read(ipu, IPU_CHA_BUF2_RDY(channel->num)); in ipu_idmac_buffer_is_ready()
560 if (ipu_cm_read(ipu, IPU_CHA_BUF0_RDY(channel->num)) & in ipu_idmac_disable_channel()
566 if (ipu_cm_read(ipu, IPU_CHA_BUF1_RDY(channel->num)) & in ipu_idmac_disable_channel()
575 val = ipu_cm_read(ipu, IPU_CHA_DB_MODE_SEL(channel->num)); in ipu_idmac_disable_channel()
617 while (ipu_cm_read(ipu, IPU_MEM_RST) & 0x80000000) { in ipu_memory_reset()
640 val = ipu_cm_read(ipu, IPU_CONF); in ipu_set_csi_src_mux()
661 val = ipu_cm_read(ipu, IPU_CONF); in ipu_set_ic_src_mux()
745 src_reg = ipu_cm_read(ipu, link->src.reg); in ipu_fsu_link()
752 sink_reg = ipu_cm_read(ipu, link->sink.reg); in ipu_fsu_link()
779 src_reg = ipu_cm_read(ipu, link->src.reg); in ipu_fsu_unlink()
785 sink_reg = ipu_cm_read(ipu, link->sink.reg); in ipu_fsu_unlink()
1010 status = ipu_cm_read(ipu, IPU_INT_STAT(regs[i])); in ipu_irq_handle()
1011 status &= ipu_cm_read(ipu, IPU_INT_CTRL(regs[i])); in ipu_irq_handle()
1275 ipu_cm_read(ipu, IPU_CONF)); in ipu_dump()
1291 ipu_cm_read(ipu, IPU_CHA_DB_MODE_SEL(0))); in ipu_dump()
1293 ipu_cm_read(ipu, IPU_CHA_DB_MODE_SEL(32))); in ipu_dump()
1295 ipu_cm_read(ipu, IPU_FS_PROC_FLOW1)); in ipu_dump()
1297 ipu_cm_read(ipu, IPU_FS_PROC_FLOW2)); in ipu_dump()
1299 ipu_cm_read(ipu, IPU_FS_PROC_FLOW3)); in ipu_dump()
1301 ipu_cm_read(ipu, IPU_FS_DISP_FLOW1)); in ipu_dump()
1304 ipu_cm_read(ipu, IPU_INT_CTRL(i))); in ipu_dump()