Lines Matching refs:lcdc_read
146 static inline unsigned int lcdc_read(unsigned int addr) in lcdc_read() function
281 reg = lcdc_read(LCD_RASTER_CTRL_REG); in lcd_enable_raster()
292 reg = lcdc_read(LCD_RASTER_CTRL_REG); in lcd_disable_raster()
318 reg_ras = lcdc_read(LCD_RASTER_CTRL_REG); in lcd_blit()
321 reg_dma = lcdc_read(LCD_DMA_CTRL_REG); in lcd_blit()
331 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | in lcd_blit()
352 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | in lcd_blit()
376 reg = lcdc_read(LCD_DMA_CTRL_REG) & 0x00000001; in lcd_cfg_dma()
408 reg = lcdc_read(LCD_RASTER_TIMING_2_REG) & 0xFFF00000; in lcd_cfg_ac_bias()
419 reg = lcdc_read(LCD_RASTER_TIMING_0_REG) & 0xf; in lcd_cfg_horizontal_sync()
431 reg = lcdc_read(LCD_RASTER_TIMING_1_REG) & 0x3ff; in lcd_cfg_vertical_sync()
444 reg = lcdc_read(LCD_RASTER_CTRL_REG) & ~(LCD_TFT_MODE | in lcd_cfg_display()
475 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | in lcd_cfg_display()
482 reg = lcdc_read(LCD_RASTER_TIMING_2_REG); in lcd_cfg_display()
530 reg = lcdc_read(LCD_RASTER_TIMING_0_REG); in lcd_cfg_frame_buffer()
542 reg = lcdc_read(LCD_RASTER_TIMING_1_REG); in lcd_cfg_frame_buffer()
548 reg = lcdc_read(LCD_RASTER_TIMING_2_REG); in lcd_cfg_frame_buffer()
554 reg = lcdc_read(LCD_RASTER_CTRL_REG) & ~(1 << 8); in lcd_cfg_frame_buffer()
730 lcdc_write((lcdc_read(LCD_RASTER_TIMING_2_REG) | in lcd_init()
733 lcdc_write((lcdc_read(LCD_RASTER_TIMING_2_REG) & in lcd_init()
763 lcdc_write((lcdc_read(LCD_RASTER_CTRL_REG) & 0xfff00fff) | in lcd_init()
773 u32 stat = lcdc_read(LCD_MASKED_STAT_REG); in lcdc_irq_handler_rev02()
835 u32 stat = lcdc_read(LCD_STAT_REG); in lcdc_irq_handler_rev01()
854 reg_ras = lcdc_read(LCD_RASTER_CTRL_REG); in lcdc_irq_handler_rev01()
1262 switch (lcdc_read(LCD_PID_REG)) { in fb_probe()
1273 lcdc_read(LCD_PID_REG)); in fb_probe()
1494 reg_context.clk_enable = lcdc_read(LCD_CLK_ENABLE_REG); in lcd_context_save()
1495 reg_context.int_enable_set = lcdc_read(LCD_INT_ENABLE_SET_REG); in lcd_context_save()
1498 reg_context.ctrl = lcdc_read(LCD_CTRL_REG); in lcd_context_save()
1499 reg_context.dma_ctrl = lcdc_read(LCD_DMA_CTRL_REG); in lcd_context_save()
1500 reg_context.raster_timing_0 = lcdc_read(LCD_RASTER_TIMING_0_REG); in lcd_context_save()
1501 reg_context.raster_timing_1 = lcdc_read(LCD_RASTER_TIMING_1_REG); in lcd_context_save()
1502 reg_context.raster_timing_2 = lcdc_read(LCD_RASTER_TIMING_2_REG); in lcd_context_save()
1504 lcdc_read(LCD_DMA_FRM_BUF_BASE_ADDR_0_REG); in lcd_context_save()
1506 lcdc_read(LCD_DMA_FRM_BUF_CEILING_ADDR_0_REG); in lcd_context_save()
1508 lcdc_read(LCD_DMA_FRM_BUF_BASE_ADDR_1_REG); in lcd_context_save()
1510 lcdc_read(LCD_DMA_FRM_BUF_CEILING_ADDR_1_REG); in lcd_context_save()
1511 reg_context.raster_ctrl = lcdc_read(LCD_RASTER_CTRL_REG); in lcd_context_save()