Lines Matching refs:src_nr
710 i915_get_instruction_src_name(uint32_t src_type, uint32_t src_nr, char *name) in i915_get_instruction_src_name() argument
714 sprintf(name, "R%d", src_nr); in i915_get_instruction_src_name()
715 if (src_nr > 15) in i915_get_instruction_src_name()
719 if (src_nr < 8) in i915_get_instruction_src_name()
720 sprintf(name, "T%d", src_nr); in i915_get_instruction_src_name()
721 else if (src_nr == 8) in i915_get_instruction_src_name()
723 else if (src_nr == 9) in i915_get_instruction_src_name()
725 else if (src_nr == 10) in i915_get_instruction_src_name()
728 fprintf(out, "bad src reg T%d\n", src_nr); in i915_get_instruction_src_name()
733 sprintf(name, "C%d", src_nr); in i915_get_instruction_src_name()
734 if (src_nr > 31) in i915_get_instruction_src_name()
739 if (src_nr > 0) in i915_get_instruction_src_name()
740 fprintf(out, "bad src reg oC%d\n", src_nr); in i915_get_instruction_src_name()
744 if (src_nr > 0) in i915_get_instruction_src_name()
745 fprintf(out, "bad src reg oD%d\n", src_nr); in i915_get_instruction_src_name()
748 sprintf(name, "U%d", src_nr); in i915_get_instruction_src_name()
749 if (src_nr > 3) in i915_get_instruction_src_name()
763 int src_nr = (a0 >> 2) & 0x1f; in i915_get_instruction_src0() local
770 i915_get_instruction_src_name((a0 >> 7) & 0x7, src_nr, srcname); in i915_get_instruction_src0()
781 int src_nr = (a1 >> 8) & 0x1f; in i915_get_instruction_src1() local
788 i915_get_instruction_src_name((a1 >> 13) & 0x7, src_nr, srcname); in i915_get_instruction_src1()
798 int src_nr = (a2 >> 16) & 0x1f; in i915_get_instruction_src2() local
805 i915_get_instruction_src_name((a2 >> 21) & 0x7, src_nr, srcname); in i915_get_instruction_src2()
813 i915_get_instruction_addr(uint32_t src_type, uint32_t src_nr, char *name) in i915_get_instruction_addr() argument
817 sprintf(name, "R%d", src_nr); in i915_get_instruction_addr()
818 if (src_nr > 15) in i915_get_instruction_addr()
822 if (src_nr < 8) in i915_get_instruction_addr()
823 sprintf(name, "T%d", src_nr); in i915_get_instruction_addr()
824 else if (src_nr == 8) in i915_get_instruction_addr()
826 else if (src_nr == 9) in i915_get_instruction_addr()
828 else if (src_nr == 10) in i915_get_instruction_addr()
831 fprintf(out, "bad src reg T%d\n", src_nr); in i915_get_instruction_addr()
837 if (src_nr > 0) in i915_get_instruction_addr()
838 fprintf(out, "bad src reg oC%d\n", src_nr); in i915_get_instruction_addr()
842 if (src_nr > 0) in i915_get_instruction_addr()
843 fprintf(out, "bad src reg oD%d\n", src_nr); in i915_get_instruction_addr()