5 #include <soc/addressmap.h>
9 #define RDMA_FIFO_PSEUDO_SIZE(bytes) (((bytes) / 16) << 16)
10 #define RDMA_OUTPUT_VALID_FIFO_THRESHOLD(bytes) ((bytes) / 16)
36 threshold = pixel_clk * 4 * 7 / 1000;
38 if (threshold > fifo_size)
39 threshold = fifo_size;
static void write32(void *addr, uint32_t val)
#define RDMA_FIFO_PSEUDO_SIZE(bytes)
void color_start(u32 width, u32 height)
void rdma_config(u32 width, u32 height, u32 pixel_clk, u32 fifo_size)
#define RDMA_OUTPUT_VALID_FIFO_THRESHOLD(bytes)
void ovl_set_roi(u32 idx, u32 width, u32 height, u32 color)
void ovl_layer_config(u32 fmt, u32 bpp, u32 width, u32 height)
static struct disp_color_regs *const disp_color0
static struct disp_rdma_regs *const disp_rdma0
static struct disp_ovl_regs *const disp_ovl[2]
#define setbits32(addr, set)
#define clrsetbits32(addr, clear, set)
struct disp_ovl_regs::@685 rdma[4]
struct disp_ovl_regs::@684 layer[4]