1 /* SPDX-License-Identifier: GPL-2.0 */
2 static uint32_t g98_sec_data
[] = {
4 /* 0x0000: ctx_dma_query */
6 /* 0x0004: ctx_dma_src */
8 /* 0x0008: ctx_dma_dst */
10 /* 0x000c: ctx_query_address_high */
12 /* 0x0010: ctx_query_address_low */
14 /* 0x0014: ctx_query_counter */
16 /* 0x0018: ctx_cond_address_high */
18 /* 0x001c: ctx_cond_address_low */
20 /* 0x0020: ctx_cond_off */
22 /* 0x0024: ctx_src_address_high */
24 /* 0x0028: ctx_src_address_low */
26 /* 0x002c: ctx_dst_address_high */
28 /* 0x0030: ctx_dst_address_low */
30 /* 0x0034: ctx_mode */
61 /* 0x00a0: common_cmd_dtable */
78 /* 0x00e0: engine_cmd_dtable */
107 /* 0x0150: sec_dtable */
154 static uint32_t g98_sec_code
[] = {
186 /* 0x0075: ctxload */
193 /* 0x008c: ctxload_dma_loop */
198 /* 0x009f: dummyload */
225 /* 0x0103: dma_cmd */
234 /* 0x0123: dtable_cmd */
249 /* 0x015b: cmd_setctx */
252 /* 0x0161: invalid_bitfield */
254 /* 0x0164: dispatch_error */
255 /* 0x0164: illegal_mthd */
260 /* 0x0174: im_loop */
264 /* 0x0180: cmddone */
270 /* 0x0192: cmd_query_get */
274 /* 0x019c: ptimer_retry */
289 /* 0x01d7: cmd_cond_mode */
299 /* 0x01f4: cmd_cond_mode_queryful */
314 /* 0x022c: cmd_cond_mode_double */
328 /* 0x0260: cmd_wrcache_flush */
333 /* 0x0271: sec_cmd_mode */
338 /* 0x0283: sec_cmd_mode_return */
340 /* 0x0285: sec_cmd_length */
380 /* 0x0321: sec_copy_prep */
384 /* 0x032f: sec_store_prep */
388 /* 0x0339: sec_ecb_e_prep */
393 /* 0x034b: sec_ecb_d_prep */
400 /* 0x0361: sec_cbc_e_prep */
406 /* 0x0377: sec_cbc_d_prep */
415 /* 0x0395: sec_pcbc_e_prep */
422 /* 0x03af: sec_pcbc_d_prep */
431 /* 0x03cd: sec_cfb_e_prep */
437 /* 0x03e3: sec_cfb_d_prep */
444 /* 0x03f9: sec_ofb_prep */
450 /* 0x040f: sec_ctr_prep */
458 /* 0x0429: sec_cbc_mac_prep */
463 /* 0x043b: sec_cmac_finish_complete_prep */
473 /* 0x045d: sec_cmac_finish_partial_prep */
483 /* 0x0483: sec_do_in */
488 /* 0x0490: sec_do_in_loop */
497 /* 0x04b1: sec_do_out */
501 /* 0x04be: sec_do_out_loop */
509 /* 0x04db: sec_do_inout */
513 /* 0x04e5: sec_do_inout_loop */