Lines Matching refs:reg_read
76 #define reg_read(dev, offset) ioread32(dev->base + offset) macro
79 #define reg_read_field(dev, offset, mask) get_field(reg_read(dev, offset), \
82 u32 val = reg_read(dev, offset); \
397 val = reg_read(ctx->dev->cm, CM_CTRL_CORE_CAMERRX_CONTROL); in camerarx_phy_enable()
423 val = reg_read(ctx->dev->cm, CM_CTRL_CORE_CAMERRX_CONTROL); in camerarx_phy_disable()
468 revision = reg_read(dev, CAL_HL_REVISION); in cal_get_hwinfo()
472 hwinfo = reg_read(dev, CAL_HL_HWINFO); in cal_get_hwinfo()
559 val = reg_read(ctx->dev, CAL_CSI2_TIMING(ctx->csi2_port)); in csi2_init()
569 reg_read(ctx->dev, CAL_CSI2_TIMING(ctx->csi2_port))); in csi2_init()
571 val = reg_read(ctx->dev, CAL_CSI2_COMPLEXIO_CFG(ctx->csi2_port)); in csi2_init()
586 reg_read(ctx->dev, CAL_CSI2_COMPLEXIO_CFG(ctx->csi2_port))); in csi2_init()
588 val = reg_read(ctx->dev, CAL_CTRL); in csi2_init()
596 ctx_dbg(3, ctx, "CAL_CTRL = 0x%08x\n", reg_read(ctx->dev, CAL_CTRL)); in csi2_init()
601 u32 val = reg_read(ctx->dev, CAL_CSI2_COMPLEXIO_CFG(ctx->csi2_port)); in csi2_lane_config()
643 val = reg_read(ctx->dev, CAL_CSI2_CTX0(ctx->csi2_port)); in csi2_ctx_config()
663 reg_read(ctx->dev, CAL_CSI2_CTX0(ctx->csi2_port))); in csi2_ctx_config()
670 val = reg_read(ctx->dev, CAL_PIX_PROC(ctx->csi2_port)); in pix_proc_config()
679 reg_read(ctx->dev, CAL_PIX_PROC(ctx->csi2_port))); in pix_proc_config()
687 val = reg_read(ctx->dev, CAL_WR_DMA_CTRL(ctx->csi2_port)); in cal_wr_dma_config()
698 reg_read(ctx->dev, CAL_WR_DMA_CTRL(ctx->csi2_port))); in cal_wr_dma_config()
709 reg_read(ctx->dev, CAL_WR_DMA_OFST(ctx->csi2_port))); in cal_wr_dma_config()
711 val = reg_read(ctx->dev, CAL_WR_DMA_XSIZE(ctx->csi2_port)); in cal_wr_dma_config()
722 reg_read(ctx->dev, CAL_WR_DMA_XSIZE(ctx->csi2_port))); in cal_wr_dma_config()
773 reg0 = reg_read(ctx->cc, CAL_CSI2_PHY_REG0); in csi2_phy_config()
782 reg1 = reg_read(ctx->cc, CAL_CSI2_PHY_REG1); in csi2_phy_config()
849 irqst2 = reg_read(dev, CAL_HL_IRQSTATUS(2)); in cal_irq()
871 irqst3 = reg_read(dev, CAL_HL_IRQSTATUS(3)); in cal_irq()