Searched refs:micro_inst (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/crypto/qat/qat_common/
H A Dqat_hal.c829 uint64_t *micro_inst, unsigned int inst_num, qat_hal_exec_micro_inst()
843 if ((inst_num > handle->hal_handle->max_ustore) || !micro_inst) { qat_hal_exec_micro_inst()
870 qat_hal_wr_uwords(handle, ae, 0, inst_num, micro_inst); qat_hal_exec_micro_inst()
1033 static int qat_hal_concat_micro_code(uint64_t *micro_inst, qat_hal_concat_micro_code() argument
1050 micro_inst[inst_num++] = inst_arr[i]; qat_hal_concat_micro_code()
1051 INSERT_IMMED_GPRA_CONST(micro_inst[fixup_offset], (addr)); qat_hal_concat_micro_code()
1053 INSERT_IMMED_GPRA_CONST(micro_inst[fixup_offset], 0); qat_hal_concat_micro_code()
1055 INSERT_IMMED_GPRB_CONST(micro_inst[fixup_offset], (cur_value >> 0)); qat_hal_concat_micro_code()
1057 INSERT_IMMED_GPRB_CONST(micro_inst[fixup_offset], (cur_value >> 0x10)); qat_hal_concat_micro_code()
1064 int *pfirst_exec, uint64_t *micro_inst, qat_hal_exec_micro_init_lm()
1079 stat = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, inst_num, 1, qat_hal_exec_micro_init_lm()
1186 uint64_t micro_inst[] = { qat_hal_put_rel_wr_xfer() local
1193 const int num_inst = ARRAY_SIZE(micro_inst), code_off = 1; qat_hal_put_rel_wr_xfer()
1221 micro_inst[0] = micro_inst[0x0] | ((data16hi >> 8) << 20) | qat_hal_put_rel_wr_xfer()
1223 micro_inst[1] = micro_inst[0x1] | ((data16low >> 8) << 20) | qat_hal_put_rel_wr_xfer()
1225 micro_inst[0x2] = micro_inst[0x2] | qat_hal_put_rel_wr_xfer()
1227 status = qat_hal_exec_micro_inst(handle, ae, ctx, micro_inst, num_inst, qat_hal_put_rel_wr_xfer()
827 qat_hal_exec_micro_inst(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, uint64_t *micro_inst, unsigned int inst_num, int code_off, unsigned int max_cycle, unsigned int *endpc) qat_hal_exec_micro_inst() argument
1062 qat_hal_exec_micro_init_lm(struct icp_qat_fw_loader_handle *handle, unsigned char ae, unsigned char ctx, int *pfirst_exec, uint64_t *micro_inst, unsigned int inst_num) qat_hal_exec_micro_init_lm() argument

Completed in 87 milliseconds