dispc_write_reg
dispc_write_reg(dispc, DISPC_OVL_PIXEL_INC(plane), inc);
dispc_write_reg(dispc, DISPC_OVL_ROW_INC(plane), inc);
dispc_write_reg(dispc, DISPC_OVL_ATTRIBUTES(plane), val);
dispc_write_reg(dispc, DISPC_CPR_COEF_R(channel), coef_r);
dispc_write_reg(dispc, DISPC_CPR_COEF_G(channel), coef_g);
dispc_write_reg(dispc, DISPC_CPR_COEF_B(channel), coef_b);
dispc_write_reg(dispc, DISPC_OVL_ATTRIBUTES(plane), val);
dispc_write_reg(dispc, DISPC_SIZE_MGR(channel), val);
dispc_write_reg(dispc, DISPC_GLOBAL_BUFFER, v);
dispc_write_reg(dispc, DISPC_OVL_FIFO_THRESHOLD(plane),
dispc_write_reg(dispc, DISPC_OVL_PRELOAD(plane),
dispc_write_reg(dispc, DISPC_OVL_MFLAG_THRESHOLD(plane),
dispc_write_reg(dispc, DISPC_GLOBAL_MFLAG_ATTRIBUTE,
dispc_write_reg(dispc, DISPC_OVL_FIR(plane), val);
dispc_write_reg(dispc, DISPC_OVL_FIR2(plane), val);
dispc_write_reg(dispc, DISPC_OVL_ACCU0(plane), val);
dispc_write_reg(dispc, DISPC_OVL_ACCU1(plane), val);
dispc_write_reg(dispc, DISPC_OVL_ACCU2_0(plane), val);
dispc_write_reg(dispc, DISPC_OVL_ACCU2_1(plane), val);
dispc_write_reg(dispc, DISPC_OVL_ATTRIBUTES(plane), l);
dispc_write_reg(dispc, DISPC_DEFAULT_COLOR(channel), color);
dispc_write_reg(dispc, DISPC_TRANS_COLOR(ch), trans_key);
dispc_write_reg(dispc, DISPC_CONTROL, l);
dispc_write_reg(dispc, DISPC_TIMING_H(channel), timing_h);
dispc_write_reg(dispc, DISPC_TIMING_V(channel), timing_v);
dispc_write_reg(dispc, DISPC_POL_FREQ(channel), l);
dispc_write_reg(dispc, DISPC_DIVISORo(channel),
dispc_write_reg(dispc, DISPC_IRQSTATUS, mask);
dispc_write_reg(dispc, DISPC_IRQENABLE, mask);
dispc_write_reg(dispc, gdesc->reg, v);
dispc_write_reg(dispc, DISPC_DIVISOR, l);
dispc_write_reg(dispc, DISPC_##reg, dispc->ctx[DISPC_##reg / sizeof(u32)])
dispc_write_reg(dispc, idx, \
dispc_write_reg(dispc, DISPC_OVL_FIR_COEF_H(plane, reg), value);
dispc_write_reg(dispc, DISPC_OVL_FIR_COEF_HV(plane, reg), value);
dispc_write_reg(dispc, DISPC_OVL_FIR_COEF_V(plane, reg), value);
dispc_write_reg(dispc, DISPC_OVL_FIR_COEF_H2(plane, reg), value);
dispc_write_reg(dispc, DISPC_OVL_FIR_COEF_HV2(plane, reg), value);
dispc_write_reg(dispc, DISPC_OVL_FIR_COEF_V2(plane, reg), value);
dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 0), CVAL(ct->rcr, ct->ry));
dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 1), CVAL(ct->gy, ct->rcb));
dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 2), CVAL(ct->gcb, ct->gcr));
dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 3), CVAL(ct->bcr, ct->by));
dispc_write_reg(dispc, DISPC_OVL_CONV_COEF(plane, 4), CVAL(0, ct->bcb));
dispc_write_reg(dispc, DISPC_OVL_BA0(plane), paddr);
dispc_write_reg(dispc, DISPC_OVL_BA1(plane), paddr);
dispc_write_reg(dispc, DISPC_OVL_BA0_UV(plane), paddr);
dispc_write_reg(dispc, DISPC_OVL_BA1_UV(plane), paddr);
dispc_write_reg(dispc, DISPC_OVL_POSITION(plane), val);
dispc_write_reg(dispc, DISPC_OVL_SIZE(plane), val);
dispc_write_reg(dispc, DISPC_OVL_PICTURE_SIZE(plane), val);
dispc_write_reg(dispc, DISPC_OVL_PICTURE_SIZE(plane), val);
dispc_write_reg(dispc, DISPC_OVL_SIZE(plane), val);
dispc_write_reg(DISPC_CPR_COEF_R(channel), coef_r);
dispc_write_reg(DISPC_CPR_COEF_G(channel), coef_g);
dispc_write_reg(DISPC_CPR_COEF_B(channel), coef_b);
dispc_write_reg(DISPC_OVL_ATTRIBUTES(plane), val);
dispc_write_reg(DISPC_SIZE_MGR(channel), val);
dispc_write_reg(DISPC_GLOBAL_BUFFER, v);
dispc_write_reg(DISPC_OVL_FIFO_THRESHOLD(plane),
dispc_write_reg(DISPC_OVL_PRELOAD(plane), min(high, 0xfffu));
dispc_write_reg(DISPC_OVL_MFLAG_THRESHOLD(plane),
dispc_write_reg(DISPC_GLOBAL_MFLAG_ATTRIBUTE,
dispc_write_reg(DISPC_OVL_FIR(plane), val);
dispc_write_reg(DISPC_OVL_FIR2(plane), val);
dispc_write_reg(DISPC_OVL_ACCU0(plane), val);
dispc_write_reg(DISPC_OVL_ACCU1(plane), val);
dispc_write_reg(DISPC_OVL_ACCU2_0(plane), val);
dispc_write_reg(DISPC_OVL_ACCU2_1(plane), val);
dispc_write_reg(DISPC_OVL_ATTRIBUTES(plane), l);
dispc_write_reg(DISPC_DEFAULT_COLOR(channel), color);
dispc_write_reg(DISPC_TRANS_COLOR(ch), trans_key);
dispc_write_reg(DISPC_##reg, dispc.ctx[DISPC_##reg / sizeof(u32)])
dispc_write_reg(DISPC_CONTROL, l);
dispc_write_reg(DISPC_TIMING_H(channel), timing_h);
dispc_write_reg(DISPC_TIMING_V(channel), timing_v);
dispc_write_reg(DISPC_POL_FREQ(channel), l);
dispc_write_reg(DISPC_DIVISORo(channel),
dispc_write_reg(DISPC_IRQSTATUS, mask);
dispc_write_reg(DISPC_IRQENABLE, mask);
dispc_write_reg(DISPC_DIVISOR, l);
dispc_write_reg(idx, FLD_MOD(dispc_read_reg(idx), val, start, end))
dispc_write_reg(DISPC_OVL_FIR_COEF_H(plane, reg), value);
dispc_write_reg(DISPC_OVL_FIR_COEF_HV(plane, reg), value);
dispc_write_reg(DISPC_OVL_FIR_COEF_V(plane, reg), value);
dispc_write_reg(DISPC_OVL_FIR_COEF_H2(plane, reg), value);
dispc_write_reg(DISPC_OVL_FIR_COEF_HV2(plane, reg), value);
dispc_write_reg(DISPC_OVL_FIR_COEF_V2(plane, reg), value);
dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 0), CVAL(ct->rcr, ct->ry));
dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 1), CVAL(ct->gy, ct->rcb));
dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 2), CVAL(ct->gcb, ct->gcr));
dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 3), CVAL(ct->bcr, ct->by));
dispc_write_reg(DISPC_OVL_CONV_COEF(plane, 4), CVAL(0, ct->bcb));
dispc_write_reg(DISPC_OVL_BA0(plane), paddr);
dispc_write_reg(DISPC_OVL_BA1(plane), paddr);
dispc_write_reg(DISPC_OVL_BA0_UV(plane), paddr);
dispc_write_reg(DISPC_OVL_BA1_UV(plane), paddr);
dispc_write_reg(DISPC_OVL_POSITION(plane), val);
dispc_write_reg(DISPC_OVL_SIZE(plane), val);
dispc_write_reg(DISPC_OVL_PICTURE_SIZE(plane), val);
dispc_write_reg(DISPC_OVL_PICTURE_SIZE(plane), val);
dispc_write_reg(DISPC_OVL_SIZE(plane), val);
dispc_write_reg(DISPC_OVL_PIXEL_INC(plane), inc);
dispc_write_reg(DISPC_OVL_ROW_INC(plane), inc);
dispc_write_reg(DISPC_OVL_ATTRIBUTES(plane), val);