Lines Matching refs:src_nr

709 i915_get_instruction_src_name(uint32_t src_type, uint32_t src_nr, char *name)  in i915_get_instruction_src_name()  argument
713 sprintf(name, "R%d", src_nr); in i915_get_instruction_src_name()
714 if (src_nr > 15) in i915_get_instruction_src_name()
718 if (src_nr < 8) in i915_get_instruction_src_name()
719 sprintf(name, "T%d", src_nr); in i915_get_instruction_src_name()
720 else if (src_nr == 8) in i915_get_instruction_src_name()
722 else if (src_nr == 9) in i915_get_instruction_src_name()
724 else if (src_nr == 10) in i915_get_instruction_src_name()
727 fprintf(out, "bad src reg T%d\n", src_nr); in i915_get_instruction_src_name()
732 sprintf(name, "C%d", src_nr); in i915_get_instruction_src_name()
733 if (src_nr > 31) in i915_get_instruction_src_name()
738 if (src_nr > 0) in i915_get_instruction_src_name()
739 fprintf(out, "bad src reg oC%d\n", src_nr); in i915_get_instruction_src_name()
743 if (src_nr > 0) in i915_get_instruction_src_name()
744 fprintf(out, "bad src reg oD%d\n", src_nr); in i915_get_instruction_src_name()
747 sprintf(name, "U%d", src_nr); in i915_get_instruction_src_name()
748 if (src_nr > 3) in i915_get_instruction_src_name()
762 int src_nr = (a0 >> 2) & 0x1f; in i915_get_instruction_src0() local
769 i915_get_instruction_src_name((a0 >> 7) & 0x7, src_nr, srcname); in i915_get_instruction_src0()
780 int src_nr = (a1 >> 8) & 0x1f; in i915_get_instruction_src1() local
787 i915_get_instruction_src_name((a1 >> 13) & 0x7, src_nr, srcname); in i915_get_instruction_src1()
797 int src_nr = (a2 >> 16) & 0x1f; in i915_get_instruction_src2() local
804 i915_get_instruction_src_name((a2 >> 21) & 0x7, src_nr, srcname); in i915_get_instruction_src2()
812 i915_get_instruction_addr(uint32_t src_type, uint32_t src_nr, char *name) in i915_get_instruction_addr() argument
816 sprintf(name, "R%d", src_nr); in i915_get_instruction_addr()
817 if (src_nr > 15) in i915_get_instruction_addr()
821 if (src_nr < 8) in i915_get_instruction_addr()
822 sprintf(name, "T%d", src_nr); in i915_get_instruction_addr()
823 else if (src_nr == 8) in i915_get_instruction_addr()
825 else if (src_nr == 9) in i915_get_instruction_addr()
827 else if (src_nr == 10) in i915_get_instruction_addr()
830 fprintf(out, "bad src reg T%d\n", src_nr); in i915_get_instruction_addr()
836 if (src_nr > 0) in i915_get_instruction_addr()
837 fprintf(out, "bad src reg oC%d\n", src_nr); in i915_get_instruction_addr()
841 if (src_nr > 0) in i915_get_instruction_addr()
842 fprintf(out, "bad src reg oD%d\n", src_nr); in i915_get_instruction_addr()