Home
last modified time | relevance | path

Searched refs:nix_af (Results 1 – 8 of 8) sorted by relevance

/u-boot/drivers/net/octeontx2/
A Drvu_af.c32 struct nix_af *nix_af = af->nix_af; in rvu_get_lfid_for_pf() local
71 struct nix_af *nix_af; in rvu_af_init() local
75 nix_af = (struct nix_af *)calloc(1, sizeof(struct nix_af)); in rvu_af_init()
76 if (!nix_af) { in rvu_af_init()
88 if (!nix_af->npa_af) { in rvu_af_init()
114 return nix_af; in rvu_af_init()
117 if (nix_af->npa_af) { in rvu_af_init()
118 free(nix_af->npa_af); in rvu_af_init()
119 memset(nix_af, 0, sizeof(*nix_af)); in rvu_af_init()
121 if (nix_af) in rvu_af_init()
[all …]
A Dnix_af.c33 int npa_attach_aura(struct nix_af *nix_af, int lf, in npa_attach_aura() argument
78 int npa_attach_pool(struct nix_af *nix_af, int lf, in npa_attach_pool() argument
359 struct nix_af *nix_af = nix->nix_af; in nix_af_setup_sq() local
450 static int nix_aq_issue_command(struct nix_af *nix_af, in nix_aq_issue_command() argument
553 struct nix_af *nix_af = nix->nix_af; in nix_attach_send_queue() local
591 struct nix_af *nix_af = nix->nix_af; in nix_attach_completion_queue() local
637 struct nix_af *nix_af = nix->nix_af; in nix_lf_admin_setup() local
856 struct nix_af *nix_af = nix->nix_af; in npc_lf_admin_setup() local
964 int npc_af_shutdown(struct nix_af *nix_af) in npc_af_shutdown() argument
983 int nix_af_setup(struct nix_af *nix_af) in nix_af_setup() argument
[all …]
A Dnix.h145 struct nix_af { struct
184 struct nix_af *nix_af; member
253 static inline u64 nix_af_reg_read(struct nix_af *nix_af, u64 offset) in nix_af_reg_read() argument
262 static inline void nix_af_reg_write(struct nix_af *nix_af, u64 offset, in nix_af_reg_write() argument
304 static inline u64 npc_af_reg_read(struct nix_af *nix_af, u64 offset) in npc_af_reg_read() argument
321 int npa_attach_aura(struct nix_af *nix_af, int lf,
323 int npa_attach_pool(struct nix_af *nix_af, int lf,
333 int npc_af_shutdown(struct nix_af *nix_af);
335 int nix_af_setup(struct nix_af *nix_af);
336 int nix_af_shutdown(struct nix_af *nix_af);
[all …]
A Dnix.c107 struct nix_af *nix_af = nix->nix_af; in npa_lf_setup() local
126 npa->npa_af = nix_af->npa_af; in npa_lf_setup()
147 npa->buf_size[NPA_POOL_SQB] = nix_af->sqb_size; in npa_lf_setup()
196 err = npa_attach_aura(nix_af, nix->lf, aura, idx); in npa_lf_setup()
270 struct nix_af *nix_af = nix->nix_af; in nix_lf_setup() local
279 memset(nix->rq_ctx_base, 0, nix_af->rq_ctx_sz); in nix_lf_setup()
286 memset(nix->sq_ctx_base, 0, nix_af->sq_ctx_sz); in nix_lf_setup()
302 nix->qint_base = nix_memalloc(nix_af->qints, nix_af->qint_ctx_sz, in nix_lf_setup()
307 nix->cint_base = nix_memalloc(nix_af->cints, nix_af->cint_ctx_sz, in nix_lf_setup()
347 struct nix_af *nix_af = nix->nix_af; in nix_lf_shutdown() local
[all …]
A Dcgx.h44 struct nix_af;
61 struct nix_af *nix_af; member
A Drvu.h53 struct nix_af *nix_af; member
A DMakefile6 obj-$(CONFIG_NET_OCTEONTX2) += cgx.o nix_af.o nix.o rvu_pf.o \
A Dnpc.h74 struct nix_af_handle *nix_af; member

Completed in 11 milliseconds