Lines Matching full:w
14 #define w(x, a) writel((x), d->regs + (a)) macro
20 w(1, SOFT_RESET_REG); in g2d_reset()
27 w(0, SRC_SELECT_REG); in g2d_set_src_size()
28 w(f->stride & 0xFFFF, SRC_STRIDE_REG); in g2d_set_src_size()
33 w(n, SRC_LEFT_TOP_REG); in g2d_set_src_size()
38 w(n, SRC_RIGHT_BOTTOM_REG); in g2d_set_src_size()
40 w(f->fmt->hw, SRC_COLOR_MODE_REG); in g2d_set_src_size()
45 w(a, SRC_BASE_ADDR_REG); in g2d_set_src_addr()
52 w(0, DST_SELECT_REG); in g2d_set_dst_size()
53 w(f->stride & 0xFFFF, DST_STRIDE_REG); in g2d_set_dst_size()
58 w(n, DST_LEFT_TOP_REG); in g2d_set_dst_size()
63 w(n, DST_RIGHT_BOTTOM_REG); in g2d_set_dst_size()
65 w(f->fmt->hw, DST_COLOR_MODE_REG); in g2d_set_dst_size()
70 w(a, DST_BASE_ADDR_REG); in g2d_set_dst_addr()
75 w(r, ROP4_REG); in g2d_set_rop4()
80 w(r, SRC_MSK_DIRECT_REG); in g2d_set_flip()
86 w(DEFAULT_SCALE_MODE, SRC_SCALE_CTRL_REG); in g2d_set_v41_stretch()
89 w((src->c_width << 16) / dst->c_width, SRC_XSCALE_REG); in g2d_set_v41_stretch()
90 w((src->c_height << 16) / dst->c_height, SRC_YSCALE_REG); in g2d_set_v41_stretch()
95 w(c, BITBLT_COMMAND_REG); in g2d_set_cmd()
102 w(0x7, CACHECTL_REG); in g2d_start()
105 w(1, INTEN_REG); in g2d_start()
107 w(1, BITBLT_START_REG); in g2d_start()
112 w(1, INTC_PEND_REG); in g2d_clear_int()