Lines Matching refs:mux
29 #define QPU_MUX(mux, muxfield) \ argument
30 QPU_SET_FIELD(mux != QPU_MUX_SMALL_IMM ? mux : QPU_MUX_B, muxfield)
35 if (src.mux == QPU_MUX_A) { in set_src_raddr()
41 if (src.mux == QPU_MUX_B) { in set_src_raddr()
48 if (src.mux == QPU_MUX_SMALL_IMM) { in set_src_raddr()
85 if (dst.mux <= QPU_MUX_R5) { in qpu_a_dst()
87 inst |= QPU_SET_FIELD(32 + dst.mux, QPU_WADDR_ADD); in qpu_a_dst()
90 if (dst.mux == QPU_MUX_B) in qpu_a_dst()
102 if (dst.mux <= QPU_MUX_R5) { in qpu_m_dst()
104 inst |= QPU_SET_FIELD(32 + dst.mux, QPU_WADDR_MUL); in qpu_m_dst()
107 if (dst.mux == QPU_MUX_A) in qpu_m_dst()
125 inst |= QPU_MUX(src.mux, QPU_ADD_A); in qpu_a_MOV()
126 inst |= QPU_MUX(src.mux, QPU_ADD_B); in qpu_a_MOV()
144 inst |= QPU_MUX(src.mux, QPU_MUL_A); in qpu_m_MOV()
145 inst |= QPU_MUX(src.mux, QPU_MUL_B); in qpu_m_MOV()
207 inst |= QPU_MUX(src0.mux, QPU_ADD_A); in qpu_a_alu2()
209 inst |= QPU_MUX(src1.mux, QPU_ADD_B); in qpu_a_alu2()
228 inst |= QPU_MUX(src0.mux, QPU_MUL_A); in qpu_m_alu2()
230 inst |= QPU_MUX(src1.mux, QPU_MUL_B); in qpu_m_alu2()