Lines Matching refs:reg_read
242 static inline u32 reg_read(void __iomem *base, u32 reg) in reg_read() function
254 reg_write(base, reg, reg_read(base, reg) | mask); in reg_set()
259 reg_write(base, reg, reg_read(base, reg) & ~mask); in reg_clear()
265 reg_write(base, reg, (reg_read(base, reg) & ~mask) | val); in reg_update_bits()
394 ldev->irq_status = reg_read(ldev->regs, LTDC_ISR); in ltdc_irq()
683 line = reg_read(ldev->regs, LTDC_CPSR) & CPSR_CYPOS; in ltdc_crtc_get_scanout_position()
684 vactive_start = reg_read(ldev->regs, LTDC_BPCR) & BPCR_AVBP; in ltdc_crtc_get_scanout_position()
685 vactive_end = reg_read(ldev->regs, LTDC_AWCR) & AWCR_AAH; in ltdc_crtc_get_scanout_position()
686 vtotal = reg_read(ldev->regs, LTDC_TWCR) & TWCR_TOTALH; in ltdc_crtc_get_scanout_position()
812 bpcr = reg_read(ldev->regs, LTDC_BPCR); in ltdc_plane_atomic_update()
1148 lcr = reg_read(ldev->regs, LTDC_LCR); in ltdc_get_caps()
1153 gc2r = reg_read(ldev->regs, LTDC_GC2R); in ltdc_get_caps()
1156 ldev->caps.hw_version = reg_read(ldev->regs, LTDC_IDR); in ltdc_get_caps()