_CURSOR_POS_X_SHIFT
plane->x_pos = (val & _CURSOR_POS_X_MASK) >> _CURSOR_POS_X_SHIFT;
#define _CURSOR_POS_X_MASK (0x1fff << _CURSOR_POS_X_SHIFT)