Lines Matching refs:micro_inst
831 u64 *micro_inst, unsigned int inst_num, in qat_hal_exec_micro_inst() argument
845 if ((inst_num > handle->hal_handle->max_ustore) || !micro_inst) { in qat_hal_exec_micro_inst()
873 qat_hal_wr_uwords(handle, ae, 0, inst_num, micro_inst); in qat_hal_exec_micro_inst()
1036 static int qat_hal_concat_micro_code(u64 *micro_inst, in qat_hal_concat_micro_code() argument
1053 micro_inst[inst_num++] = inst_arr[i]; in qat_hal_concat_micro_code()
1054 INSERT_IMMED_GPRA_CONST(micro_inst[fixup_offset], (addr)); in qat_hal_concat_micro_code()
1056 INSERT_IMMED_GPRA_CONST(micro_inst[fixup_offset], 0); in qat_hal_concat_micro_code()
1058 INSERT_IMMED_GPRB_CONST(micro_inst[fixup_offset], (cur_value >> 0)); in qat_hal_concat_micro_code()
1060 INSERT_IMMED_GPRB_CONST(micro_inst[fixup_offset], (cur_value >> 0x10)); in qat_hal_concat_micro_code()
1067 int *pfirst_exec, u64 *micro_inst, in qat_hal_exec_micro_init_lm() argument
1082 stat = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, inst_num, 1, in qat_hal_exec_micro_init_lm()
1189 u64 micro_inst[] = { in qat_hal_put_rel_wr_xfer() local
1196 const int num_inst = ARRAY_SIZE(micro_inst), code_off = 1; in qat_hal_put_rel_wr_xfer()
1224 micro_inst[0] = micro_inst[0x0] | ((data16hi >> 8) << 20) | in qat_hal_put_rel_wr_xfer()
1226 micro_inst[1] = micro_inst[0x1] | ((data16low >> 8) << 20) | in qat_hal_put_rel_wr_xfer()
1228 micro_inst[0x2] = micro_inst[0x2] | in qat_hal_put_rel_wr_xfer()
1230 status = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, num_inst, in qat_hal_put_rel_wr_xfer()