Lines Matching refs:inst_num
988 u64 *micro_inst, unsigned int inst_num, in qat_hal_exec_micro_inst() argument
1005 if ((inst_num > handle->hal_handle->max_ustore) || !micro_inst) { in qat_hal_exec_micro_inst()
1006 pr_err("QAT: invalid instruction num %d\n", inst_num); in qat_hal_exec_micro_inst()
1030 if (inst_num <= MAX_EXEC_INST) in qat_hal_exec_micro_inst()
1031 qat_hal_get_uwords(handle, ae, 0, inst_num, savuwords); in qat_hal_exec_micro_inst()
1047 qat_hal_wr_uwords(handle, ae, 0, inst_num, micro_inst); in qat_hal_exec_micro_inst()
1068 if (inst_num <= MAX_EXEC_INST) in qat_hal_exec_micro_inst()
1069 qat_hal_wr_uwords(handle, ae, 0, inst_num, savuwords); in qat_hal_exec_micro_inst()
1228 unsigned int inst_num, unsigned int size, in qat_hal_concat_micro_code() argument
1238 orig_num = inst_num; in qat_hal_concat_micro_code()
1242 fixup_offset = inst_num; in qat_hal_concat_micro_code()
1244 micro_inst[inst_num++] = inst_arr[i]; in qat_hal_concat_micro_code()
1253 return inst_num - orig_num; in qat_hal_concat_micro_code()
1259 unsigned int inst_num) in qat_hal_exec_micro_init_lm() argument
1273 stat = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, inst_num, 1, in qat_hal_exec_micro_init_lm()
1274 inst_num * 0x5, NULL); in qat_hal_exec_micro_init_lm()