Lines Matching refs:lcdc_read
131 static unsigned int lcdc_read(unsigned int addr) in lcdc_read() function
250 return !!(lcdc_read(LCD_RASTER_CTRL_REG) & LCD_RASTER_ENABLE); in da8xx_fb_is_raster_enabled()
270 reg = lcdc_read(LCD_RASTER_CTRL_REG); in lcd_enable_raster()
281 reg = lcdc_read(LCD_RASTER_CTRL_REG); in lcd_disable_raster()
308 reg_ras = lcdc_read(LCD_RASTER_CTRL_REG); in lcd_blit()
311 reg_dma = lcdc_read(LCD_DMA_CTRL_REG); in lcd_blit()
321 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | in lcd_blit()
342 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | in lcd_blit()
366 reg = lcdc_read(LCD_DMA_CTRL_REG) & 0x00000001; in lcd_cfg_dma()
398 reg = lcdc_read(LCD_RASTER_TIMING_2_REG) & 0xFFF00000; in lcd_cfg_ac_bias()
409 reg = lcdc_read(LCD_RASTER_TIMING_0_REG) & 0x3ff; in lcd_cfg_horizontal_sync()
423 reg = lcdc_read(LCD_RASTER_TIMING_2_REG) & ~0x780000ff; in lcd_cfg_horizontal_sync()
436 reg = lcdc_read(LCD_RASTER_TIMING_1_REG) & 0x3ff; in lcd_cfg_vertical_sync()
449 reg = lcdc_read(LCD_RASTER_CTRL_REG) & ~(LCD_TFT_MODE | in lcd_cfg_display()
480 reg_int = lcdc_read(LCD_INT_ENABLE_SET_REG) | in lcd_cfg_display()
487 reg = lcdc_read(LCD_RASTER_TIMING_2_REG); in lcd_cfg_display()
535 reg = lcdc_read(LCD_RASTER_TIMING_0_REG); in lcd_cfg_frame_buffer()
547 reg = lcdc_read(LCD_RASTER_TIMING_1_REG); in lcd_cfg_frame_buffer()
553 reg = lcdc_read(LCD_RASTER_TIMING_2_REG); in lcd_cfg_frame_buffer()
559 reg = lcdc_read(LCD_RASTER_CTRL_REG) & ~(1 << 8); in lcd_cfg_frame_buffer()
781 lcdc_write((lcdc_read(LCD_RASTER_TIMING_2_REG) | in lcd_init()
784 lcdc_write((lcdc_read(LCD_RASTER_TIMING_2_REG) & in lcd_init()
814 lcdc_write((lcdc_read(LCD_RASTER_CTRL_REG) & 0xfff00fff) | in lcd_init()
824 u32 stat = lcdc_read(LCD_MASKED_STAT_REG); in lcdc_irq_handler_rev02()
886 u32 stat = lcdc_read(LCD_STAT_REG); in lcdc_irq_handler_rev01()
905 reg_ras = lcdc_read(LCD_RASTER_CTRL_REG); in lcdc_irq_handler_rev01()
1365 switch (lcdc_read(LCD_PID_REG)) { in fb_probe()
1376 lcdc_read(LCD_PID_REG)); in fb_probe()
1560 reg_context.clk_enable = lcdc_read(LCD_CLK_ENABLE_REG); in lcd_context_save()
1561 reg_context.int_enable_set = lcdc_read(LCD_INT_ENABLE_SET_REG); in lcd_context_save()
1564 reg_context.ctrl = lcdc_read(LCD_CTRL_REG); in lcd_context_save()
1565 reg_context.dma_ctrl = lcdc_read(LCD_DMA_CTRL_REG); in lcd_context_save()
1566 reg_context.raster_timing_0 = lcdc_read(LCD_RASTER_TIMING_0_REG); in lcd_context_save()
1567 reg_context.raster_timing_1 = lcdc_read(LCD_RASTER_TIMING_1_REG); in lcd_context_save()
1568 reg_context.raster_timing_2 = lcdc_read(LCD_RASTER_TIMING_2_REG); in lcd_context_save()
1570 lcdc_read(LCD_DMA_FRM_BUF_BASE_ADDR_0_REG); in lcd_context_save()
1572 lcdc_read(LCD_DMA_FRM_BUF_CEILING_ADDR_0_REG); in lcd_context_save()
1574 lcdc_read(LCD_DMA_FRM_BUF_BASE_ADDR_1_REG); in lcd_context_save()
1576 lcdc_read(LCD_DMA_FRM_BUF_CEILING_ADDR_1_REG); in lcd_context_save()
1577 reg_context.raster_ctrl = lcdc_read(LCD_RASTER_CTRL_REG); in lcd_context_save()