Lines Matching refs:reg_offset
586 static enum g2d_reg_type g2d_get_reg_type(int reg_offset) in g2d_get_reg_type() argument
590 switch (reg_offset) { in g2d_get_reg_type()
617 DRM_ERROR("Unknown register offset![%d]\n", reg_offset); in g2d_get_reg_type()
947 int reg_offset; in g2d_check_reg_offset() local
959 reg_offset = cmdlist->data[index] & ~0xfffff000; in g2d_check_reg_offset()
960 if (reg_offset < G2D_VALID_START || reg_offset > G2D_VALID_END) in g2d_check_reg_offset()
962 if (reg_offset % 4) in g2d_check_reg_offset()
965 switch (reg_offset) { in g2d_check_reg_offset()
975 reg_type = g2d_get_reg_type(reg_offset); in g2d_check_reg_offset()
991 reg_type = g2d_get_reg_type(reg_offset); in g2d_check_reg_offset()
1005 reg_type = g2d_get_reg_type(reg_offset); in g2d_check_reg_offset()
1020 reg_type = g2d_get_reg_type(reg_offset); in g2d_check_reg_offset()