| /dpdk/drivers/common/dpaax/caamflib/rta/ |
| H A D | fifo_load_store_cmd.h | 51 uint32_t opcode = 0; in rta_fifo_load() local 62 opcode = CMD_FIFO_LOAD; in rta_fifo_load() 102 opcode |= val; in rta_fifo_load() 120 opcode |= FIFOLDST_SGF; in rta_fifo_load() 122 opcode |= FIFOLD_IMM; in rta_fifo_load() 125 opcode |= FIFOLDST_VLF; in rta_fifo_load() 127 opcode |= FIFOLD_AIDF; in rta_fifo_load() 135 opcode |= FIFOLDST_EXT; in rta_fifo_load() 207 uint32_t opcode = 0; in rta_fifo_store() local 251 opcode |= val; in rta_fifo_store() [all …]
|
| H A D | header_cmd.h | 77 opcode |= HDR_ONE; in rta_shr_header() 86 opcode |= HDR_DNR; in rta_shr_header() 90 opcode |= HDR_SAVECTX; in rta_shr_header() 92 opcode |= HDR_PROP_DNR; in rta_shr_header() 94 opcode |= HDR_RIF; in rta_shr_header() 164 opcode |= HDR_ONE; in rta_job_header() 173 opcode |= HDR_EXT; in rta_job_header() 184 opcode |= HDR_RSLS; in rta_job_header() 186 opcode |= HDR_DNR; in rta_job_header() 188 opcode |= HDR_TRUSTED; in rta_job_header() [all …]
|
| H A D | seq_in_out_ptr_cmd.h | 73 opcode |= SQIN_RBS; in rta_seq_in_ptr() 75 opcode |= SQIN_INL; in rta_seq_in_ptr() 77 opcode |= SQIN_SGF; in rta_seq_in_ptr() 79 opcode |= SQIN_PRE; in rta_seq_in_ptr() 81 opcode |= SQIN_RTO; in rta_seq_in_ptr() 83 opcode |= SQIN_RJD; in rta_seq_in_ptr() 85 opcode |= SQIN_SOP; in rta_seq_in_ptr() 92 opcode |= SQIN_EXT; in rta_seq_in_ptr() 145 opcode |= SQOUT_SGF; in rta_seq_out_ptr() 147 opcode |= SQOUT_PRE; in rta_seq_out_ptr() [all …]
|
| H A D | key_cmd.h | 31 uint32_t opcode = 0; in rta_key() local 43 opcode = CMD_SEQ_KEY; in rta_key() 46 opcode = CMD_KEY; in rta_key() 125 opcode |= length; in rta_key() 133 opcode |= KEY_ENC; in rta_key() 135 opcode |= KEY_EKT; in rta_key() 142 opcode |= KEY_TK; in rta_key() 145 opcode |= KEY_NWB; in rta_key() 147 opcode |= KEY_PTS; in rta_key() 152 opcode |= KEY_IMM; in rta_key() [all …]
|
| H A D | math_cmd.h | 83 uint32_t opcode = CMD_MATH; in rta_math() local 124 opcode |= MATH_SRC0_IMM; in rta_math() 134 opcode |= val; in rta_math() 139 opcode |= MATH_SRC1_IMM; in rta_math() 149 opcode |= val; in rta_math() 160 opcode |= val; in rta_math() 181 opcode |= op; in rta_math() 195 opcode |= MATH_LEN_1BYTE; in rta_math() 266 opcode |= val; in rta_mathi() 298 opcode |= op; in rta_mathi() [all …]
|
| H A D | jump_cmd.h | 56 uint32_t opcode = CMD_JUMP; in rta_jump() local 68 opcode |= JUMP_TYPE_HALT; in rta_jump() 71 opcode |= JUMP_TYPE_HALT_USER; in rta_jump() 74 opcode |= JUMP_TYPE_NONLOCAL; in rta_jump() 77 opcode |= JUMP_TYPE_GOSUB; in rta_jump() 80 opcode |= JUMP_TYPE_RETURN; in rta_jump() 102 opcode |= JUMP_TEST_INVALL; in rta_jump() 105 opcode |= JUMP_TEST_ANY; in rta_jump() 108 opcode |= JUMP_TEST_INVANY; in rta_jump() 131 opcode |= val; in rta_jump() [all …]
|
| H A D | sec_run_time_asm.h | 666 uint32_t opcode; in rta_patch_move() local 676 program->buffer[line] = bswap ? swab32(opcode) : opcode; in rta_patch_move() 684 uint32_t opcode; in rta_patch_jmp() local 694 program->buffer[line] = bswap ? swab32(opcode) : opcode; in rta_patch_jmp() 702 uint32_t opcode; in rta_patch_header() local 718 program->buffer[line] = bswap ? swab32(opcode) : opcode; in rta_patch_header() 726 uint32_t opcode; in rta_patch_load() local 741 program->buffer[line] = bswap ? swab32(opcode) : opcode; in rta_patch_load() 749 uint32_t opcode; in rta_patch_store() local 772 program->buffer[line] = bswap ? swab32(opcode) : opcode; in rta_patch_store() [all …]
|
| H A D | move_cmd.h | 91 uint32_t opcode = 0; in rta_move() local 100 opcode = CMD_MOVEB; in rta_move() 102 opcode = CMD_MOVEDW; in rta_move() 112 opcode = CMD_MOVE_LEN; in rta_move() 115 opcode = CMD_MOVE; in rta_move() 135 opcode |= MOVE_AUX_LS; in rta_move() 150 opcode |= (uint32_t)ret; in rta_move() 161 opcode |= val; in rta_move() 171 opcode |= val; in rta_move() 175 opcode |= MOVE_AUX_MS; in rta_move() [all …]
|
| H A D | store_cmd.h | 66 uint32_t opcode = 0, val; in rta_store() local 71 opcode = CMD_SEQ_STORE; in rta_store() 73 opcode = CMD_STORE; in rta_store() 96 opcode |= LDST_IMM; in rta_store() 99 opcode |= LDST_VLF; in rta_store() 116 opcode |= val; in rta_store() 122 opcode |= (length >> 2); in rta_store() 123 opcode |= (uint32_t)((offset >> 2) << LDST_OFFSET_SHIFT); in rta_store() 125 opcode |= length; in rta_store() 126 opcode |= (uint32_t)(offset << LDST_OFFSET_SHIFT); in rta_store() [all …]
|
| H A D | operation_cmd.h | 245 opcode |= aai; in rta_operation() 262 opcode |= algo_state; in rta_operation() 278 opcode |= OP_ALG_ICV_ON; in rta_operation() 294 opcode |= OP_ALG_ENCRYPT; in rta_operation() 302 __rta_out32(program, opcode); in rta_operation() 344 opcode |= aai; in rta_operation2() 361 opcode |= algo_state; in rta_operation2() 377 opcode |= OP_ALG_ICV_ON; in rta_operation2() 393 opcode |= OP_ALG_ENCRYPT; in rta_operation2() 401 __rta_out32(program, opcode); in rta_operation2() [all …]
|
| H A D | load_cmd.h | 218 uint32_t opcode = 0; in rta_load() local 223 opcode = CMD_SEQ_LOAD; in rta_load() 225 opcode = CMD_LOAD; in rta_load() 233 opcode |= LDST_SGF; in rta_load() 235 opcode |= LDST_VLF; in rta_load() 255 opcode |= LDST_IMM; in rta_load() 269 opcode |= load_dst[pos].dst_opcode; in rta_load() 273 opcode |= (length >> 2); in rta_load() 276 opcode |= length; in rta_load() 277 opcode |= (offset << LDST_OFFSET_SHIFT); in rta_load() [all …]
|
| H A D | nfifo_cmd.h | 99 uint32_t opcode = 0, val; in rta_nfifo_load() local 112 opcode |= val; in rta_nfifo_load() 121 opcode |= val; in rta_nfifo_load() 125 opcode |= length & NFIFOENTRY_DLEN_MASK; in rta_nfifo_load() 133 &opcode); in rta_nfifo_load() 138 nfifo_pad_flags_sz[rta_sec_era], &opcode); in rta_nfifo_load() 142 __rta_out32(program, opcode); in rta_nfifo_load()
|
| H A D | signature_cmd.h | 14 uint32_t opcode = CMD_SIGNATURE; in rta_signature() local 24 opcode |= sign_type; in rta_signature() 31 __rta_out32(program, opcode); in rta_signature()
|
| /dpdk/drivers/net/ionic/ |
| H A D | ionic_dev.c | 104 ionic_opcode_to_str(cmd->cmd.opcode), cmd->cmd.opcode); in ionic_dev_cmd_go() 119 .identify.opcode = IONIC_CMD_IDENTIFY, in ionic_dev_cmd_identify() 130 .init.opcode = IONIC_CMD_INIT, in ionic_dev_cmd_init() 141 .reset.opcode = IONIC_CMD_RESET, in ionic_dev_cmd_reset() 153 .port_init.opcode = IONIC_CMD_PORT_IDENTIFY, in ionic_dev_cmd_port_identify() 164 .port_init.opcode = IONIC_CMD_PORT_INIT, in ionic_dev_cmd_port_init() 176 .port_reset.opcode = IONIC_CMD_PORT_RESET, in ionic_dev_cmd_port_reset() 281 .q_identify.opcode = IONIC_CMD_Q_IDENTIFY, in ionic_dev_cmd_queue_identify() 306 .lif_init.opcode = IONIC_CMD_LIF_INIT, in ionic_dev_cmd_lif_init() 317 .lif_init.opcode = IONIC_CMD_LIF_RESET, in ionic_dev_cmd_lif_reset() [all …]
|
| H A D | ionic_if.h | 114 u8 opcode; member 147 u8 opcode; member 166 u8 opcode; member 185 u8 opcode; member 206 u8 opcode; member 300 u8 opcode; member 475 u8 opcode; member 1255 u8 opcode; member 1301 u8 opcode; member 1871 u8 opcode; member [all …]
|
| H A D | ionic_main.c | 65 ionic_opcode_to_str(enum ionic_cmd_opcode opcode) in ionic_opcode_to_str() argument 67 switch (opcode) { in ionic_opcode_to_str() 131 name = ionic_opcode_to_str(ctx->cmd.cmd.opcode); in ionic_adminq_check_err() 137 ctx->cmd.cmd.opcode, in ionic_adminq_check_err() 143 IONIC_PRINT(DEBUG, "%s (%d) succeeded", name, ctx->cmd.cmd.opcode); in ionic_adminq_check_err() 264 ionic_opcode_to_str(ctx->cmd.cmd.opcode), ctx->cmd.cmd.opcode); in ionic_adminq_post_wait() 269 ctx->cmd.cmd.opcode, err); in ionic_adminq_post_wait() 293 ioread8(&idev->dev_cmd->cmd.cmd.opcode), in ionic_dev_cmd_wait() 304 ioread8(&idev->dev_cmd->cmd.cmd.opcode), in ionic_dev_cmd_wait()
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_sbq_cmd.h | 24 __le16 opcode; member 44 __le16 opcode; member 68 u8 opcode; member 80 u8 opcode; member 88 u8 opcode; member
|
| H A D | ice_acl.c | 82 ice_aq_acl_entry(struct ice_hw *hw, u16 opcode, u8 tcam_idx, u16 entry_idx, in ice_aq_acl_entry() argument 88 ice_fill_dflt_direct_cmd_desc(&desc, opcode); in ice_aq_acl_entry() 90 if (opcode == ice_aqc_opc_program_acl_entry) in ice_aq_acl_entry() 141 ice_aq_actpair_a_d(struct ice_hw *hw, u16 opcode, u16 alloc_id, in ice_aq_actpair_a_d() argument 147 ice_fill_dflt_direct_cmd_desc(&desc, opcode); in ice_aq_actpair_a_d() 193 ice_aq_actpair_p_q(struct ice_hw *hw, u16 opcode, u8 act_mem_idx, in ice_aq_actpair_p_q() argument 200 ice_fill_dflt_direct_cmd_desc(&desc, opcode); in ice_aq_actpair_p_q() 202 if (opcode == ice_aqc_opc_program_acl_actpair) in ice_aq_actpair_p_q() 545 ice_aq_update_query_scen(struct ice_hw *hw, u16 opcode, u16 scen_id, in ice_aq_update_query_scen() argument 551 ice_fill_dflt_direct_cmd_desc(&desc, opcode); in ice_aq_update_query_scen() [all …]
|
| /dpdk/drivers/net/bnx2x/ |
| H A D | bnx2x_stats.c | 126 opcode = bnx2x_dmae_opcode_clr_src_reset(opcode); in bnx2x_hw_stats_post() 129 dmae->opcode = opcode; in bnx2x_hw_stats_post() 254 dmae->opcode = opcode; in bnx2x_port_stats_init() 267 dmae->opcode = opcode; in bnx2x_port_stats_init() 288 dmae->opcode = opcode; in bnx2x_port_stats_init() 300 dmae->opcode = opcode; in bnx2x_port_stats_init() 316 dmae->opcode = opcode; in bnx2x_port_stats_init() 378 dmae->opcode = opcode; in bnx2x_port_stats_init() 390 dmae->opcode = opcode; in bnx2x_port_stats_init() 406 dmae->opcode = opcode; in bnx2x_port_stats_init() [all …]
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_mbx.c | 409 uint8_t opcode; in hns3_handle_mbx_msg_out_intr() local 417 opcode = req->msg[0] & 0xff; in hns3_handle_mbx_msg_out_intr() 423 if (crq->desc[next_to_use].opcode == 0) in hns3_handle_mbx_msg_out_intr() 426 if (opcode == HNS3_MBX_PF_VF_RESP) { in hns3_handle_mbx_msg_out_intr() 432 crq->desc[crq->next_to_use].opcode = 0; in hns3_handle_mbx_msg_out_intr() 451 uint8_t opcode; in hns3_dev_handle_mbx_msg() local 488 opcode = req->msg[0] & 0xff; in hns3_dev_handle_mbx_msg() 494 opcode); in hns3_dev_handle_mbx_msg() 502 handle_out = hns->is_vf && desc->opcode == 0; in hns3_dev_handle_mbx_msg() 510 switch (opcode) { in hns3_dev_handle_mbx_msg() [all …]
|
| H A D | hns3_regs.c | 374 int bd_num, uint32_t opcode) in hns3_dfx_reg_cmd_send() argument 380 hns3_cmd_setup_basic_desc(&desc[i], opcode, true); in hns3_dfx_reg_cmd_send() 384 hns3_cmd_setup_basic_desc(&desc[i], opcode, true); in hns3_dfx_reg_cmd_send() 389 "ret = %d.\n", opcode, ret); in hns3_dfx_reg_cmd_send() 440 uint32_t max_bd_num, bd_num, opcode; in hns3_get_dfx_regs() local 460 opcode = hns3_dfx_reg_opcode_list[i]; in hns3_get_dfx_regs() 464 ret = hns3_dfx_reg_cmd_send(hw, cmd_descs, bd_num, opcode); in hns3_get_dfx_regs()
|
| /dpdk/drivers/net/qede/base/ |
| H A D | ecore_hw.c | 482 u32 opcode = 0; in ecore_dmae_opcode() local 492 opcode |= (src_pf_id & DMAE_CMD_SRC_PF_ID_MASK) << in ecore_dmae_opcode() 500 opcode |= (dst_pf_id & DMAE_CMD_DST_PF_ID_MASK) << in ecore_dmae_opcode() 514 opcode |= 1 << DMAE_CMD_COMP_FUNC_SHIFT; in ecore_dmae_opcode() 519 opcode |= DMAE_CMD_ENDIANITY << DMAE_CMD_ENDIANITY_MODE_SHIFT; in ecore_dmae_opcode() 523 opcode |= port_id << DMAE_CMD_PORT_ID_SHIFT; in ecore_dmae_opcode() 533 opcode |= (1 << DMAE_CMD_SRC_VF_ID_VALID_SHIFT); in ecore_dmae_opcode() 540 opcode |= 1 << DMAE_CMD_DST_VF_ID_VALID_SHIFT; in ecore_dmae_opcode() 546 p_hwfn->dmae_info.p_dmae_cmd->opcode = OSAL_CPU_TO_LE32(opcode); in ecore_dmae_opcode() 573 OSAL_LE32_TO_CPU(p_command->opcode), in ecore_dmae_post_command() [all …]
|
| /dpdk/drivers/common/cpt/ |
| H A D | cpt_ucode_asym.h | 265 vq_cmd_w0.s.opcode.major = CPT_MAJOR_OP_MODEX; in cpt_modex_prep() 266 vq_cmd_w0.s.opcode.minor = CPT_MINOR_OP_MODEX; in cpt_modex_prep() 332 vq_cmd_w0.s.opcode.minor = CPT_MINOR_OP_MODEX; in cpt_rsa_prep() 336 vq_cmd_w0.s.opcode.minor = CPT_MINOR_OP_PKCS_ENC; in cpt_rsa_prep() 341 vq_cmd_w0.s.opcode.minor = CPT_MINOR_OP_PKCS_DEC; in cpt_rsa_prep() 349 vq_cmd_w0.s.opcode.major = CPT_MAJOR_OP_MODEX; in cpt_rsa_prep() 432 vq_cmd_w0.s.opcode.major = CPT_MAJOR_OP_MODEX; in cpt_rsa_crt_prep() 707 vq_cmd_w0.s.opcode.major = CPT_MAJOR_OP_ECDSA; in cpt_ecdsa_sign_prep() 818 vq_cmd_w0.s.opcode.major = CPT_MAJOR_OP_ECDSA; in cpt_ecdsa_verify_prep() 921 vq_cmd_w0.s.opcode.major = CPT_MAJOR_OP_ECC; in cpt_ecpm_prep() [all …]
|
| /dpdk/drivers/net/liquidio/ |
| H A D | lio_struct.h | 160 uint64_t opcode : 4; member 167 uint64_t opcode : 4; member 179 uint64_t opcode : 4; member 193 uint64_t opcode : 4; 205 uint64_t opcode : 4; 213 uint64_t opcode : 4;
|
| /dpdk/drivers/common/mlx5/ |
| H A D | mlx5_prm.h | 309 uint32_t opcode; member 597 uint32_t opcode; member 1156 u8 opcode[0x10]; member 1173 u8 opcode[0x10]; member 1195 u8 opcode[0x10]; member 1275 u8 opcode[0x10]; member 2005 u8 opcode[0x10]; member 2063 u8 opcode[0x10]; member 2107 u8 opcode[0x10]; member 2135 u8 opcode[0x10]; member [all …]
|