Lines Matching refs:micro_inst
983 u64 *micro_inst, unsigned int inst_num, in qat_hal_exec_micro_inst() argument
1000 if ((inst_num > handle->hal_handle->max_ustore) || !micro_inst) { in qat_hal_exec_micro_inst()
1042 qat_hal_wr_uwords(handle, ae, 0, inst_num, micro_inst); in qat_hal_exec_micro_inst()
1222 static int qat_hal_concat_micro_code(u64 *micro_inst, in qat_hal_concat_micro_code() argument
1239 micro_inst[inst_num++] = inst_arr[i]; in qat_hal_concat_micro_code()
1240 INSERT_IMMED_GPRA_CONST(micro_inst[fixup_offset], (addr)); in qat_hal_concat_micro_code()
1242 INSERT_IMMED_GPRA_CONST(micro_inst[fixup_offset], 0); in qat_hal_concat_micro_code()
1244 INSERT_IMMED_GPRB_CONST(micro_inst[fixup_offset], (cur_value >> 0)); in qat_hal_concat_micro_code()
1246 INSERT_IMMED_GPRB_CONST(micro_inst[fixup_offset], (cur_value >> 0x10)); in qat_hal_concat_micro_code()
1253 int *pfirst_exec, u64 *micro_inst, in qat_hal_exec_micro_init_lm() argument
1268 stat = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, inst_num, 1, in qat_hal_exec_micro_init_lm()
1375 u64 micro_inst[] = { in qat_hal_put_rel_wr_xfer() local
1382 const int num_inst = ARRAY_SIZE(micro_inst), code_off = 1; in qat_hal_put_rel_wr_xfer()
1414 micro_inst[0] = micro_inst[0x0] | ((data16hi >> 8) << 20) | in qat_hal_put_rel_wr_xfer()
1416 micro_inst[1] = micro_inst[0x1] | ((data16low >> 8) << 20) | in qat_hal_put_rel_wr_xfer()
1418 micro_inst[0x2] = micro_inst[0x2] | in qat_hal_put_rel_wr_xfer()
1420 status = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, num_inst, in qat_hal_put_rel_wr_xfer()