#include <linux/io.h>
#include "dma2d.h"
#include "dma2d-regs.h"
static inline u32 reg_read(void __iomem *base, u32 reg)
{ … }
static inline void reg_write(void __iomem *base, u32 reg, u32 val)
{ … }
static inline void reg_update_bits(void __iomem *base, u32 reg, u32 mask,
u32 val)
{ … }
void dma2d_start(struct dma2d_dev *d)
{ … }
u32 dma2d_get_int(struct dma2d_dev *d)
{ … }
void dma2d_clear_int(struct dma2d_dev *d)
{ … }
void dma2d_config_common(struct dma2d_dev *d, enum dma2d_op_mode op_mode,
u16 width, u16 height)
{ … }
void dma2d_config_out(struct dma2d_dev *d, struct dma2d_frame *frm,
dma_addr_t o_addr)
{ … }
void dma2d_config_fg(struct dma2d_dev *d, struct dma2d_frame *frm,
dma_addr_t f_addr)
{ … }
void dma2d_config_bg(struct dma2d_dev *d, struct dma2d_frame *frm,
dma_addr_t b_addr)
{ … }