![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include <device/mmio.h>
#include <edid.h>
#include <soc/addressmap.h>
#include <soc/ddp.h>
#include <types.h>
Go to the source code of this file.
Macros | |
#define | RDMA_FIFO_PSEUDO_SIZE(bytes) (((bytes) / 16) << 16) |
#define | RDMA_OUTPUT_VALID_FIFO_THRESHOLD(bytes) ((bytes) / 16) |
Functions | |
void | ovl_set_roi (u32 idx, u32 width, u32 height, u32 color) |
void | rdma_start (void) |
void | rdma_config (u32 width, u32 height, u32 pixel_clk, u32 fifo_size) |
void | color_start (u32 width, u32 height) |
void | ovl_layer_config (u32 fmt, u32 bpp, u32 width, u32 height) |
#define RDMA_OUTPUT_VALID_FIFO_THRESHOLD | ( | bytes | ) | ((bytes) / 16) |
Definition at line 47 of file ddp.c.
References BIT, disp_color_regs::cfg_main, COLOR_BYPASS_ALL, COLOR_SEQ_SEL, disp_color0, height, disp_color_regs::height, disp_color_regs::start, width, disp_color_regs::width, and write32().
Referenced by main_disp_path_setup().
Definition at line 56 of file ddp.c.
References BIT, disp_ovl_regs::con, disp_ovl_regs::ctrl, disp_ovl, height, disp_ovl_regs::layer, disp_ovl_regs::mem_gmc_setting, disp_ovl_regs::pitch, disp_ovl_regs::rdma, RDMA_MEM_GMC, setbits32, disp_ovl_regs::src_con, disp_ovl_regs::src_size, width, and write32().
Referenced by mtk_ddp_mode_set().
Definition at line 23 of file ddp.c.
References clrsetbits32, disp_rdma0, disp_rdma_regs::fifo_con, height, RDMA_FIFO_PSEUDO_SIZE, RDMA_FIFO_UNDERFLOW_EN, RDMA_OUTPUT_VALID_FIFO_THRESHOLD, disp_rdma_regs::size_con_0, disp_rdma_regs::size_con_1, width, and write32().
Referenced by main_disp_path_setup().
Definition at line 18 of file ddp.c.
References disp_rdma0, disp_rdma_regs::global_con, RDMA_ENGINE_EN, and setbits32.
Referenced by mtk_ddp_mode_set().