Searched refs:npa_af (Results 1 - 4 of 4) sorted by relevance
/u-boot/drivers/net/octeontx2/ |
H A D | rvu_af.c | 56 npa_af_reg_write(nix_af->npa_af, NPA_AF_RVU_LF_CFG_DEBUG(), 59 npa_lf_dbg.u = npa_af_reg_read(nix_af->npa_af, 87 nix_af->npa_af = (struct npa_af *)calloc(1, sizeof(struct npa_af)); 88 if (!nix_af->npa_af) { 95 nix_af->npa_af->npa_af_base = rvu_af->af_base + block_addr.u; 102 err = npa_af_setup(nix_af->npa_af); 117 if (nix_af->npa_af) { 118 free(nix_af->npa_af); [all...] |
H A D | nix.h | 121 struct npa_af { struct 128 struct npa_af *npa_af; member in struct:npa 148 struct npa_af *npa_af; member in struct:nix_af 287 static inline u64 npa_af_reg_read(struct npa_af *npa_af, u64 offset) argument 289 u64 val = readq(npa_af->npa_af_base + offset); 291 debug("%s reg %p val %llx\n", __func__, npa_af->npa_af_base + offset, 296 static inline void npa_af_reg_write(struct npa_af *npa_a argument [all...] |
H A D | nix_af.c | 36 struct npa_af *npa = nix_af->npa_af; 84 struct npa_af *npa = nix_af->npa_af; 129 struct npa_af *npa_af = npa->npa_af; local 131 debug("%s(%p, %d, 0x%llx)\n", __func__, npa_af, lf, aura_base); 135 npa_af_reg_write(npa_af, NPA_AF_LF_RST(), lf_rst.u); 138 lf_rst.u = npa_af_reg_read(npa_af, NPA_AF_LF_RS 264 npa_af_setup(struct npa_af *npa_af) argument 310 npa_af_shutdown(struct npa_af *npa_af) argument [all...] |
H A D | nix.c | 126 npa->npa_af = nix_af->npa_af; 129 npa_af_const.u = npa_af_reg_read(npa->npa_af, NPA_AF_CONST());
|
Completed in 103 milliseconds