Home
last modified time | relevance | path

Searched refs:inst (Results 1 – 21 of 21) sorted by relevance

/dpdk/drivers/net/ark/
H A Dark_pktchkr.c83 if (inst == NULL) { in ark_pktchkr_init()
85 return inst; in ark_pktchkr_init()
88 inst->cregs = in ark_pktchkr_init()
90 inst->ordinal = ord; in ark_pktchkr_init()
91 inst->l2_mode = l2_mode; in ark_pktchkr_init()
92 return inst; in ark_pktchkr_init()
130 inst->ordinal); in ark_pktchkr_stop()
159 inst->sregs->pkt_ctrl = r; in ark_pktchkr_set_pkt_ctrl()
160 if (!inst->l2_mode) in ark_pktchkr_set_pkt_ctrl()
199 inst->ordinal); in ark_pktchkr_wait_done()
[all …]
H A Dark_pktgen.c80 if (inst == NULL) { in ark_pktgen_init()
82 return inst; in ark_pktgen_init()
85 inst->ordinal = ord; in ark_pktgen_init()
86 inst->l2_mode = l2_mode; in ark_pktgen_init()
87 return inst; in ark_pktgen_init()
125 inst->ordinal); in ark_pktgen_pause()
141 inst->ordinal); in ark_pktgen_reset()
149 inst->ordinal); in ark_pktgen_reset()
199 inst->ordinal); in ark_pktgen_wait_done()
379 if (!inst->l2_mode) in ark_pktgen_set_pkt_ctrl()
[all …]
H A Dark_pktdir.c16 struct ark_pkt_dir_inst *inst = in ark_pktdir_init() local
20 if (inst == NULL) { in ark_pktdir_init()
22 return inst; in ark_pktdir_init()
24 inst->regs = (struct ark_pkt_dir_regs *)base; in ark_pktdir_init()
25 inst->regs->ctrl = ARK_PKT_DIR_INIT_VAL; /* POR state */ in ark_pktdir_init()
26 return inst; in ark_pktdir_init()
32 struct ark_pkt_dir_inst *inst = (struct ark_pkt_dir_inst *)handle; in ark_pktdir_uninit() local
34 rte_free(inst); in ark_pktdir_uninit()
41 inst->regs->ctrl = v; in ark_pktdir_setup()
48 return inst->regs->ctrl; in ark_pktdir_status()
[all …]
/dpdk/drivers/crypto/cnxk/
H A Dcn9k_ipsec_la_ops.h124 inst->w4.u64 = sa->inst.w4 | dlen; in process_outb_sa()
126 inst->rptr = inst->dptr; in process_outb_sa()
127 inst->w7.u64 = sa->inst.w7; in process_outb_sa()
144 inst->w4.u64 = 0; in process_inb_sa()
150 inst->w4.s.param2 = in process_inb_sa()
152 inst->w4.s.dlen = 1; in process_inb_sa()
154 inst->rptr = inst->dptr; in process_inb_sa()
155 inst->w7.u64 = sa->inst.w7; in process_inb_sa()
161 inst->w4.u64 = sa->inst.w4 | rte_pktmbuf_pkt_len(m_src); in process_inb_sa()
163 inst->rptr = inst->dptr; in process_inb_sa()
[all …]
H A Dcn9k_cryptodev_ops.c35 inst); in cn9k_cpt_sym_inst_fill()
115 inst); in cn9k_cpt_inst_prep()
127 inst); in cn9k_cpt_inst_prep()
236 inst[0].w0.u64 = 0; in cn9k_cpt_enqueue_burst()
237 inst[0].w2.u64 = 0; in cn9k_cpt_enqueue_burst()
238 inst[0].w3.u64 = 0; in cn9k_cpt_enqueue_burst()
239 inst[1].w0.u64 = 0; in cn9k_cpt_enqueue_burst()
240 inst[1].w2.u64 = 0; in cn9k_cpt_enqueue_burst()
241 inst[1].w3.u64 = 0; in cn9k_cpt_enqueue_burst()
326 struct cpt_inst_s inst; in cn9k_cpt_crypto_adapter_enqueue() local
[all …]
H A Dcn10k_ipsec_la_ops.h52 struct cn10k_ipsec_sa *sess, struct cpt_inst_s *inst) in process_outb_sa() argument
56 uint64_t inst_w4_u64 = sess->inst.w4; in process_outb_sa()
87 inst->w4.u64 = inst_w4_u64 | rte_pktmbuf_pkt_len(m_src); in process_outb_sa()
89 inst->dptr = dptr; in process_outb_sa()
90 inst->rptr = dptr; in process_outb_sa()
97 struct cpt_inst_s *inst) in process_inb_sa() argument
104 inst->w4.u64 = sa->inst.w4 | rte_pktmbuf_pkt_len(m_src); in process_inb_sa()
106 inst->dptr = dptr; in process_inb_sa()
107 inst->rptr = dptr; in process_inb_sa()
H A Dcn10k_cryptodev_ops.c82 struct cpt_inst_s *inst) in cpt_sym_inst_fill() argument
93 inst); in cpt_sym_inst_fill()
117 inst[0].w0.u64 = 0; in cn10k_cpt_fill_inst()
118 inst[0].w2.u64 = 0; in cn10k_cpt_fill_inst()
119 inst[0].w3.u64 = 0; in cn10k_cpt_fill_inst()
135 &inst[0]); in cn10k_cpt_fill_inst()
147 &inst[0]); in cn10k_cpt_fill_inst()
180 inst[0].w7.u64 = w7; in cn10k_cpt_fill_inst()
196 struct cpt_inst_s *inst; in cn10k_cpt_enqueue_burst() local
274 struct cpt_inst_s *inst; in cn10k_cpt_crypto_adapter_enqueue() local
[all …]
H A Dcnxk_ae.h254 inst->w4.u64 = w4.u64; in cnxk_ae_modex_prep()
311 inst->w4.u64 = w4.u64; in cnxk_ae_rsa_prep()
368 inst->w4.u64 = w4.u64; in cnxk_ae_rsa_crt_prep()
382 inst); in cnxk_ae_enqueue_rsa_op()
386 inst); in cnxk_ae_enqueue_rsa_op()
394 inst); in cnxk_ae_enqueue_rsa_op()
480 inst->w4.u64 = w4.u64; in cnxk_ae_ecdsa_sign_prep()
574 inst->w4.u64 = w4.u64; in cnxk_ae_ecdsa_verify_prep()
583 struct cpt_inst_s *inst) in cnxk_ae_enqueue_ecdsa_op() argument
658 inst->w4.u64 = w4.u64; in cnxk_ae_ecpm_prep()
[all …]
H A Dcn9k_ipsec.c27 struct cpt_inst_s inst; in cn9k_cpt_enq_sa_write() local
37 inst.w4.s.opcode_major = opcode; in cn9k_cpt_enq_sa_write()
39 inst.w4.s.param1 = 0; in cn9k_cpt_enq_sa_write()
40 inst.w4.s.param2 = 0; in cn9k_cpt_enq_sa_write()
41 inst.w4.s.dlen = ctx_len; in cn9k_cpt_enq_sa_write()
43 inst.rptr = 0; in cn9k_cpt_enq_sa_write()
47 inst.w0.u64 = 0; in cn9k_cpt_enq_sa_write()
48 inst.w2.u64 = 0; in cn9k_cpt_enq_sa_write()
49 inst.w3.u64 = 0; in cn9k_cpt_enq_sa_write()
487 inst_tmpl = &sa->inst; in cn9k_ipsec_outb_sa_create()
[all …]
H A Dcnxk_se.h387 inst->dptr = (uint64_t)in_buffer; in cpt_digest_gen_prep()
388 inst->w4.u64 = cpt_inst_w4.u64; in cpt_digest_gen_prep()
689 inst->w4.u64 = cpt_inst_w4.u64; in cpt_enc_hmac_prep()
994 inst->w4.u64 = cpt_inst_w4.u64; in cpt_dec_hmac_prep()
1262 inst->w4.u64 = cpt_inst_w4.u64; in cpt_pdcp_alg_prep()
1455 inst->w4.u64 = cpt_inst_w4.u64; in cpt_kasumi_enc_prep()
1594 struct cpt_inst_s *inst) in cpt_fc_dec_hmac_prep() argument
1622 struct cpt_inst_s *inst) in cpt_fc_enc_hmac_prep() argument
1636 inst); in cpt_fc_enc_hmac_prep()
2316 inst); in fill_fc_params()
[all …]
H A Dcn10k_ipsec.c68 sa->inst.w7 = ipsec_cpt_inst_w7_get(roc_cpt, out_sa); in cn10k_ipsec_outb_sa_create()
128 sa->inst.w4 = inst_w4.u64; in cn10k_ipsec_outb_sa_create()
196 sa->inst.w7 = ipsec_cpt_inst_w7_get(roc_cpt, in_sa); in cn10k_ipsec_inb_sa_create()
224 sa->inst.w4 = inst_w4.u64; in cn10k_ipsec_inb_sa_create()
H A Dcn10k_ipsec.h18 struct cnxk_cpt_inst_tmpl inst; member
H A Dcn9k_ipsec.h22 struct cnxk_cpt_inst_tmpl inst; member
/dpdk/lib/cmdline/
H A Dcmdline_parse.c87 if (inst->tokens[0] || !inst->f) in get_token()
91 inst->f(&token_p, NULL, &inst->tokens[index]); in get_token()
246 inst = ctx[inst_num]; in cmdline_parse()
247 while (inst) { in cmdline_parse()
282 inst = ctx[inst_num]; in cmdline_parse()
347 inst = ctx[inst_num]; in cmdline_complete()
348 while (inst) { in cmdline_complete()
441 inst = ctx[inst_num]; in cmdline_complete()
442 while (inst) { in cmdline_complete()
444 inst = ctx[inst_num]; in cmdline_complete()
[all …]
/dpdk/drivers/compress/octeontx/
H A Dotx_zip.h105 union zip_inst_s *inst; member
169 union zip_inst_s *inst = zstrm->inst; in zipvf_prepare_in_buf() local
176 inst->s.dg = 0; in zipvf_prepare_in_buf()
177 inst->s.inp_ptr_addr.s.addr = in zipvf_prepare_in_buf()
187 union zip_inst_s *inst = zstrm->inst; in zipvf_prepare_out_buf() local
193 inst->s.ds = 0; in zipvf_prepare_out_buf()
198 inst->s.out_ptr_ctl.s.length = inst->s.totaloutputlength; in zipvf_prepare_out_buf()
204 union zip_inst_s *inst = zstrm->inst; in zipvf_prepare_cmd_stateless() local
207 inst->s.ef = 1; in zipvf_prepare_cmd_stateless()
210 inst->s.sf = 1; in zipvf_prepare_cmd_stateless()
[all …]
H A Dotx_zip_pmd.c37 union zip_inst_s *inst = (union zip_inst_s *)(z_stream->inst); in reset_stream() local
39 inst->s.bf = 1; in reset_stream()
40 inst->s.ef = 0; in reset_stream()
48 union zip_inst_s *inst = zstrm->inst; in zip_process_op() local
66 zip_dump_instruction(inst); in zip_process_op()
119 union zip_inst_s *inst; in zip_set_stream_parameters() local
133 memset(inst->u, 0, sizeof(inst->u)); in zip_set_stream_parameters()
136 inst->s.bf = 1; in zip_set_stream_parameters()
180 inst->s.cc = 0; in zip_set_stream_parameters()
182 inst->s.ss = 0; in zip_set_stream_parameters()
[all …]
/dpdk/drivers/regex/cn9k/
H A Dcn9k_regexdev.c275 union roc_ree_inst inst; in ree_enqueue() local
292 inst.cn98xx.ooj = 1; in ree_enqueue()
293 inst.cn98xx.dg = 0; in ree_enqueue()
294 inst.cn98xx.doneint = 0; in ree_enqueue()
299 inst.cn98xx.inp_ptr_ctl = inst.cn98xx.inp_ptr_ctl << 32; in ree_enqueue()
304 inst.cn98xx.wq_ptr = 0; in ree_enqueue()
306 inst.cn98xx.ggrp = 0; in ree_enqueue()
307 inst.cn98xx.tt = 0; in ree_enqueue()
308 inst.cn98xx.tag = 0; in ree_enqueue()
316 inst.cn98xx.ree_job_ctrl = 0; in ree_enqueue()
[all …]
/dpdk/drivers/common/cnxk/
H A Droc_cpt.c920 struct cpt_inst_s *inst; in roc_cpt_ctx_write() local
926 inst = (struct cpt_inst_s *)lmt_base; in roc_cpt_ctx_write()
928 memset(inst, 0, sizeof(struct cpt_inst_s)); in roc_cpt_ctx_write()
948 inst->res_addr = (uint64_t)hw_res; in roc_cpt_ctx_write()
949 inst->dptr = (uint64_t)dptr; in roc_cpt_ctx_write()
950 inst->w4.s.param2 = sa_len >> 3; in roc_cpt_ctx_write()
951 inst->w4.s.dlen = sa_len; in roc_cpt_ctx_write()
952 inst->w4.s.opcode_major = ROC_IE_OT_MAJOR_OP_WRITE_SA; in roc_cpt_ctx_write()
954 inst->w7.s.cptr = (uint64_t)sa_cptr; in roc_cpt_ctx_write()
955 inst->w7.s.ctx_val = 1; in roc_cpt_ctx_write()
[all …]
/dpdk/drivers/common/qat/
H A Dqat_device.c317 struct qat_device_info *inst = in qat_pci_device_release() local
339 rte_memzone_free(inst->mz); in qat_pci_device_release()
341 memset(inst, 0, sizeof(struct qat_device_info)); in qat_pci_device_release()
/dpdk/drivers/crypto/qat/
H A Dqat_sym_session.h96 struct qat_crypto_instance *inst; member
/dpdk/drivers/crypto/octeontx/
H A Dotx_cryptodev_ops.c601 otx_cpt_enq_single(struct cpt_instance *inst, in otx_cpt_enq_single() argument
609 return otx_cpt_enq_single_sym(inst, op); in otx_cpt_enq_single()
611 return otx_cpt_enq_single_sym_sessless(inst, op); in otx_cpt_enq_single()
616 return otx_cpt_enq_single_asym(inst, op); in otx_cpt_enq_single()