Lines Matching refs:reg_offset
559 static enum g2d_reg_type g2d_get_reg_type(int reg_offset) in g2d_get_reg_type() argument
563 switch (reg_offset) { in g2d_get_reg_type()
592 DRM_ERROR("Unknown register offset![%d]\n", reg_offset); in g2d_get_reg_type()
937 int reg_offset; in g2d_check_reg_offset() local
949 reg_offset = cmdlist->data[index] & ~0xfffff000; in g2d_check_reg_offset()
950 if (reg_offset < G2D_VALID_START || reg_offset > G2D_VALID_END) in g2d_check_reg_offset()
952 if (reg_offset % 4) in g2d_check_reg_offset()
955 switch (reg_offset) { in g2d_check_reg_offset()
965 reg_type = g2d_get_reg_type(reg_offset); in g2d_check_reg_offset()
979 reg_type = g2d_get_reg_type(reg_offset); in g2d_check_reg_offset()
989 reg_type = g2d_get_reg_type(reg_offset); in g2d_check_reg_offset()
1001 reg_type = g2d_get_reg_type(reg_offset); in g2d_check_reg_offset()
1014 reg_type = g2d_get_reg_type(reg_offset); in g2d_check_reg_offset()