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

/u-boot/drivers/net/octeontx2/
H A Dnix.c71 static int npa_setup_pool(struct npa *npa, u32 pool_id, argument
97 st128(npa->npa_base + NPA_LF_AURA_OP_FREE0(),
108 struct npa *npa; local
118 npa = (struct npa *)calloc(1, sizeof(struct npa));
119 if (!npa) {
120 printf("%s: out of memory for npa instanc
243 struct npa *npa = nix->npa; local
455 npa_aura_op_alloc(struct npa *npa, u64 aura_id) argument
[all...]
H A Dnix_af.c36 struct npa_af *npa = nix_af->npa_af; local
45 aq_stat.u = npa_af_reg_read(npa, NPA_AF_AQ_STATUS());
47 inst = (union npa_aq_inst_s *)(npa->aq.inst.base) + head;
48 res = (union npa_aq_res_s *)(npa->aq.res.base);
55 inst->s.res_addr = npa->aq.res.iova;
58 context = (union npa_aura_s *)(npa->aq.res.base +
60 memset(npa->aq.res.base, 0, npa->aq.res.entry_sz);
63 npa_af_reg_write(npa, NPA_AF_AQ_DOOR(), 1);
84 struct npa_af *npa local
125 npa_lf_admin_setup(struct npa *npa, int lf, dma_addr_t aura_base) argument
175 struct npa_af *npa = nix_af->npa_af; local
[all...]
H A Dnix.h9 #include <asm/arch/csrs/csrs-npa.h>
127 struct npa { struct
185 struct npa *npa; member in struct:nix
329 int npa_lf_admin_setup(struct npa *npa, int lf, dma_addr_t aura_base);
H A Drvu_af.c15 #include <asm/arch/csrs/csrs-npa.h>
65 debug("%s: npa lf_valid %d lf %d npaid %d\n", __func__,
101 debug("%s: Setting up npa admin\n", __func__);

Completed in 38 milliseconds